草庐IT

stopBroadcastRequested

全部标签

Android:如何从远程服务中运行的线程中显示 toast ?

Android:如何从远程服务中运行的线程中显示toast?每当我从服务中的不同线程运行时,应用程序就会崩溃...publicclassBroadcastServiceextendsService{privatestaticfinalStringTAG=BroadcastService.class.getSimpleName();privateMessageFormattermFormatter=newMessageFormatter();privateBroadcastCommbroadCastComm=newBroadcastComm();privateTaskcommTask=n