开发者

Counting the number of times my location has been changed

开发者 https://www.devze.com 2023-03-16 12:48 出处:网络
I\'m reliantly new to android and I wanted to make a simple location app using the gps. I\'ve done all this but I wanted to log the amount times it updated and displayed a new location (this being lon

I'm reliantly new to android and I wanted to make a simple location app using the gps. I've done all this but I wanted to log the amount times it updated and displayed a new location (this being longitude and latitude). Because I am used to Visual Basic logic tells me that I can get the new location va开发者_如何学Criable to add 1 to a new variable and then display that variable. is there any android equivalent?


See this how to use LocationApi in android.You can increment a variable in onUpdate method to find how many times your location is changed

0

精彩评论

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