【发布时间】:2010-07-24 20:04:34
【问题描述】:
我通过在意图中传递一些数据来从一个活动开始。我希望下一个活动使用来自意图的数据调用一些异步服务(休息服务)并在屏幕上显示结果。
我通过启动与 onStartup 方法不同的线程来进行异步调用。但这失败并出现以下错误:
: INFO/ProductAdvertisingAPIOperation(290): done requesting and parsing
: WARN/ActivityManager(73): Launch timeout has expired, giving up wake lock!
: INFO/Process(290): Sending signal. PID: 290 SIG: 9
: INFO/WindowManager(73): WIN DEATH: Window{43f64a28 com.zzzz.android.xxxx.main/com.zzzz.android.xxxx.main.HomeScreen paused=false}
: INFO/WindowManager(73): WIN DEATH: Window{43ffe9b8 com.zzzz.android.xxxx.main/com.zzzz.android.xxxx.main.CameraView paused=false}
: INFO/UsageStats(73): Unexpected resume of com.android.launcher while already resumed in com.zzzz.android.xxxx.main
: WARN/InputManagerService(73): Got RemoteException sending setActive(false) notification to pid 290 uid 10034
有人知道原因吗? 谢谢
【问题讨论】:
-
我使用了stackoverflow.com/questions/1493003/…中提到的异步调用>>只是一个线程(没有服务,因为我不需要将它暴露给其他应用程序)w/回调
标签: android