use of ingage.ingage20.handlers.QueryThreadsHandler in project iNGAGE by davis123123.
the class test2 method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.test2);
queryThreadsHandler = new QueryThreadsHandler();
//mySQLDbHelper = new MySQLDbHelper();
try {
mResult = queryThreadsHandler.execute().get();
} catch (InterruptedException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
}
setText();
}
use of ingage.ingage20.handlers.QueryThreadsHandler in project iNGAGE by davis123123.
the class FrontPageFragment method getThreadsJSON.
public void getThreadsJSON() {
queryThreadsHandler = new QueryThreadsHandler();
try {
json_string = queryThreadsHandler.execute().get();
Log.d("STATE", "query result : " + json_string);
} catch (InterruptedException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
}
}
Aggregations