-5

I am developing one tracking application where a user can track other users location continuously and show it in map.For continuous location updates i am using FusedLocationApi and getting location updates correctly. My question is to send these location to other device, is it a good habit to send these location updates to server continuously? If we make connection request to server so frequently then won't it be draining battery fast? Thanks in Advance. Any help is appreciated.

Ishan Khanduja
  • 121
  • 2
  • 9
  • I hope you need to ask this in any another place. You will get programming related questions and you are asking about implementation. – Sree Jun 22 '17 at 10:40
  • @Sree if you can go through my question once again, please do. I know i can send location to server using HttpsUrlConnection. what i am asking is- is it a good habit? or is there any other way? i am asking for an idea not an implementation. – Ishan Khanduja Jun 22 '17 at 18:49
  • I hope you know what is the limitation of implementing this and you also know what is the alternative for doing this. So what is the use of this question ? – Sree Jun 23 '17 at 03:45
  • @Sree yes i know the limitation, and where i have written that i know the alternative? I am asking for an idea.. If you dont know the answer its ok :) Don't spam it further. – Ishan Khanduja Jun 23 '17 at 09:46
  • As said this is not the place to get an idea, Sir. – Sree Jun 27 '17 at 05:34

1 Answers1

0

it is not good actually because it consumes a lot part of battery and also network. But as per your requirement it is good. Even i am also working on almost same concept of application but it is okay coz there are no another solutions so keep moving on that...