I have an Azure SQL server and an Android App connected to it.
I've been having a lot of problems with the queries. Sometimes it runs like a charm with some requests, but some others will never have any response and thus the app freezes...
I've been trying to do the queries in several forms:
The
basicway:mClient.getTable(User.class).execute().get();
With a
callback:mClient.getTable(User.class).execute( CALLBACK HERE );
In a
thread:Runnable r = new Runnable() { public void run() {...} }; Thread t = new Thread(r); t.start();
Is there any other ways ? Because I can't find out why does the queries work only one way at some places... Thanks for your help.
Aucun commentaire:
Enregistrer un commentaire