Turn On GPS using NDK
I have read a lot of posts about managing GPS in android using code. All
of them saying that it is not possible. But they are all using android SDK
to talk about the topic. Since it is not possible with SDK, can it be done
using NDK?
I am asking this question, even after reading all those, because the
android settings application can enable/disable it, which means it is not
impossible.
In my app, it needs to turn GPS for a while and turn it off (for power
reduction) and send the GPS data to a server.
Ultimately android is Linux based. So there must a way to turn it on/off
using the Linux commands/APIs right? (or using the NDK) can anyone share
the ideas about that?
If it is not at all possible (last option), is there any alternate way to
get location information using any other functionalists.
No comments:
Post a Comment