public UpdateTarget(TextView tv, Integer updater) {
this.tv = tv;
this.updater = updater;
- this.task = new BgUpdate();
}
public void launch() {
tv.setText(R.string.updating);
+ task = new BgUpdate();
task.execute();
}
}
boolean wifion = wifiman.setWifiEnabled(true);
Log.w("WhereAmI", "enabling wifi result " + wifion);
mHandler.postDelayed(resetInfo, 30000);
- mHandler.postDelayed(this, 1200000);
+ mHandler.postDelayed(this, 60000);
}
};