Enrique Diaz
Enrique Diaz

Reputation: 573

Activate GPS from server-side app to an Android app

While i was thinking about GPS and server communication in an Android app, i though it would be really interesting give a turnaround, activating GPS from server-side app to an Android app. Is there a well-documented way to achieve this?

I found this answer about using C2DM but they don't provide too much information about.

Upvotes: 1

Views: 254

Answers (2)

elijah
elijah

Reputation: 2924

C2DM is a bit of a black art -- best tested using curl -- but once your application successfully receives a message, you can respond to it in whatever way you like -- including starting GPS, etc

Upvotes: 2

AAnkit
AAnkit

Reputation: 27549

You can do one thing, in client-server communication, send some tag to client that GPS should be enable, and from Client(phone) if this tag is true, enable GPS, or start getting location update.

this is how i achieved the same in my app.

Upvotes: 1

Related Questions