use of com.androidquery.service.MarketService in project androidquery by androidquery.
the class ServiceActivity method service_version_auto.
public void service_version_auto() {
MarketService ms = new MarketService(this);
ms.progress(R.id.progress).checkVersion();
showResult("Nothing happends if current version is up to date.", null);
}
use of com.androidquery.service.MarketService in project androidquery by androidquery.
the class ServiceActivity method service_version_force.
public void service_version_force() {
MarketService ms = new MarketService(this);
ms.locale(Locale.getDefault().toString()).force(true).progress(R.id.progress).checkVersion();
}
use of com.androidquery.service.MarketService in project androidquery by androidquery.
the class ServiceActivity method service_version_locale.
public void service_version_locale() {
String locale = aq.id(R.id.spinner).getSelectedItem().toString();
MarketService ms = new MarketService(this);
ms.locale(locale).force(true).progress(R.id.progress).checkVersion();
}
use of com.androidquery.service.MarketService in project androidquery by androidquery.
the class IntentListActivity method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
if (!init) {
AQUtility.setDebug(true);
AQUtility.setCacheDir(null);
BitmapAjaxCallback.setPixelLimit(600 * 600);
BitmapAjaxCallback.setCacheLimit(200);
BitmapAjaxCallback.setIconCacheLimit(100);
BitmapAjaxCallback.setMaxPixelLimit(10000000);
init = true;
ErrorReporter.installReporter(getApplicationContext());
}
super.onCreate(savedInstanceState);
type = getIntent().getStringExtra("type");
aq = new AQuery(this);
setContentView(R.layout.empty_list);
aq.id(android.R.id.list).adapter(getAA()).itemClicked(this, "itemClicked");
if (type == null && debug) {
forward();
}
AQUtility.debug("on create");
if (isTaskRoot()) {
AQUtility.debug("task root start version check");
MarketService ms = new MarketService(this);
ms.level(MarketService.MINOR).checkVersion();
}
}
use of com.androidquery.service.MarketService in project simplefacebook by androidquery.
the class BaseActivity method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
makeHandle();
aq = new PQuery(this);
//aq.hardwareAccelerated11();
aq2 = new PQuery(this);
transformer = new PTransformer();
initView();
init(savedInstanceState);
if (isTaskRoot()) {
MarketService ms = new MarketService(this);
ms.level(MarketService.MINOR).checkVersion();
}
}
Aggregations