开发者

GPS signal sharing between android apps

When testing my GPS tracking application, there is a problem with another GPS tracking apps: while GPS coordinates receives another application, my app does not receive them. When I turn off the tracking in another app, my application again starting to get the coordinates.

How to make two or more apps simultaneously rece开发者_C百科ived GPS coordinates. Is it possible at all?


An application that is registered for location updates through a locationlistener cannot be responsible for another application to not receive location updates anymore.

When multiple apps are using the requestLocationUpdates feature, Android will start GPS tracking for these apps, and these apps will all receive GPS locations trough the locationlistener providing there's a proper GPS signal.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜