android-handler
Handler vs AsyncTask vs Thread [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th[详细]
2023-03-26 02:15 分类:问答How to cancel a handler before time in Android code?
I create 1 minute delayed timer to shutdown service if it\'s not completed. Looks like this: private Handler timeoutHandler = new Handler();[详细]
2023-03-03 11:18 分类:问答How to remove all callbacks from a Handler?
I have a Handler from my sub-Activity that was called by the main Activity. This Handler is used by sub-classes to postDelay some Runnables, and I can\'t manage them. Now, in the onStop event, I need[详细]
2023-03-02 14:37 分类:问答Handlers, MessageQueue, Looper, do they all run on the UI thread?
I\'m trying to wrap my head around threading, and I know that I may use a Handler to post messages/runnables to the MessageQueue, which in turn gets picked up by the Looper and sent back to the Handle[详细]
2023-02-14 16:07 分类:问答cancelling a handler.postdelayed process
I am using handler.postDelayed() to create a waiting period before the next stage of my app takes place. During the wait period I am displaying a dialog with progress bar and cancel button.[详细]
2023-01-29 12:22 分类:问答android timer handler
I 开发者_JS百科am using this code: public class newtimer extends Activity { private Timer myTimer;[详细]
2023-01-15 04:52 分类:问答Handler.sendMessageDelayed(msg, delay) not working correctly
I have defined a splashscreen to be shown during loading. But depending on the internet connection it can takes only 600ms to load or sometimes 5000ms. So i defined that the splashscreen is at least s[详细]
2023-01-04 05:30 分类:问答Post-mortem crash-dump debugging without having the exact version of a Windows DLL in the Symbol Server
Within my application, I use the MiniDumpWriteDump function (see dbghelp.dll) to write a crash dump file whenever my application crashes.[详细]
2022-12-19 14:40 分类:问答