简体   繁体   English

android后台服务中的位置列表器

[英]Location listner in android background service

i have search alot to find how to implement the location listener in the Android background service but didnt find any proper answer. 我有搜索很多,以找到如何在Android后台服务中实现位置监听器,但没有找到任何正确的答案。 i want to run a thread in background service to find throughput and location together. 我想在后台服务中运行一个线程来一起查找吞​​吐量和位置。 can any body show me by writing small piece of code that can find these values.( a tested one). 任何机构都可以通过编写可以找到这些值的小代码来向我展示。(经过测试的代码)。 thanks very much in advance 首先十分感谢

I've used "little-Fluffy-location" and it's great! 我使用过“little-Fluffy-location”,这太棒了!

I can hardly feel the battery consumption, and it was easy to use. 我几乎感觉不到电池消耗,而且很容易使用。

http://code.google.com/p/little-fluffy-location-library/ http://code.google.com/p/little-fluffy-location-library/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM