handler
Running off of UIthread without AsyncTask
I have a task that takes about 10 seconds on the UI thread during initialization of my app, I decided to instead put this in a background thread and show a splash screen while this was going on.. I go[详细]
2023-04-11 00:15 分类:问答Best practice for delaying program execution in Java (Android)
I am making a quiz app for Android. The user has 30 seconds to answer as many questions as they can. I create a small gap in execution time between questions so the user can see if they got the ques[详细]
2023-04-10 16:07 分类:问答Performing Wifi scanning at regular interval, using AsyncTask/Handler in android
I wish to perform Wifi scanning at regular interval between 0-10sec as the time can be set by user. However, i am not sure whether to use AsyncTask or Handler to do so or even combining both to achiev[详细]
2023-04-10 12:02 分类:问答Timer, or Handler for capturing data at regular intervals in Android mobile apps?
I am writing an Android app that uses the accelerometer t开发者_如何学编程o record captured data at regular time intervals and store them into SQLite.[详细]
2023-04-10 08:01 分类:问答How to handle a custom protocol on Blackberry
I\'m trying to integrate my application with the web browser on Blackberry platform: the application should be registered as the default handler for a custom protocol (something like \"myapp://link-to[详细]
2023-04-10 06:46 分类:问答Android, Handler's error
This is a bit weird, but I have no idea where the problem is. In my onCreate() I have this code: GameRunningNotesTimer().start();[详细]
2023-04-09 21:14 分类:问答android Difference between handler.postAtTime and handler.postDelayed
Please tell me the difference between handler.postAtTime and handler.postDelayed in android.Andalso please guide me when to use handler.postAtTime and when to use 开发者_JS百科handler.postDelayed.From[详细]
2023-04-09 09:40 分类:问答nanosleep() syscall waking up with bus error?
I\'m looking at a core dump from an embedded MIPS Linux app. GDB is reporting SIGBUS, and the thread handling the signal appears to be sat in a syscall for nanosleep - the higher level code basically[详细]
2023-04-08 16:52 分类:问答Android onClick() tasks all happen at once
I\'m trying to develop a feature for my app that pulls a string of text off of the internet (sort of like twitter, but a lot more basic) and displays it on the screen in a permeanent window. The user[详细]
2023-04-08 16:51 分类:问答How to document (javadoc) a message handler method?
I have a class which implements Handler.Callback So, in my code i开发者_Go百科 have something like this :[详细]
2023-04-08 13:31 分类:问答