Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当广播接收器在 10 秒内未完成执行时,谁能告诉我最佳做法是什么?
山姆是对的。所有长时间的处理都不能在 UI(Main) 线程上完成。以 AsyncTask为例。