【发布时间】:2012-04-14 15:29:41
【问题描述】:
我正在尝试映射 android 中的函数调用流 - 当应用调用 API 时控制如何流动。我的第一个案例研究是定位服务。
在调试时,控件永远不会到达 LocalationManagerService.java
- 我的 LocationDemo 应用调用 (LocationManager)requestLocationUpdates
- 可以追溯到LocationManager.java,后者又调用ILocationManager(aidl文件)中定义的requestLocationUpdates
- ILocationManager 在 LocationManagerService.java 中实现。
但是 Eclipse 抱怨ILocationManager$Stub$Proxy.requestLocationUpdates(...) source not found
是否可以链接 LocationManager ILocationManager LocationManagerService?
如果不是,我该如何调试 LocationManagerService 中的代码?
【问题讨论】:
标签: android android-service android-source