HowWrite a background service to get latitude and longitude

Tutorials that use the MapActivity. Many using GPS functionality.

HowWrite a background service to get latitude and longitude

Postby androidsoft » Sat Aug 28, 2010 1:03 pm

Hello Androiddev Community,

i am new to android development and i have started working on an android application to perform following tasks...

This application is to monitor the sales team of a company...

write a service to run in background and get the current latitude and longitude of android device after getting a specific SMS from any number and then upload the latitude and longitude to a PHP web server without any notification to the user.

Your thoughts or any code will be a great help for me as this is my first project of this kind...
androidsoft
Freshman
Freshman
 
Posts: 8
Joined: Tue Aug 24, 2010 7:12 am

Top

Re: HowWrite a background service to get latitude and longit

Postby limteckchai » Fri Sep 03, 2010 4:37 am

Bookmarked..

I also wannna know how to force an application to get a gps location update.
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: HowWrite a background service to get latitude and longit

Postby mapiko » Mon Sep 06, 2010 11:32 am

Start service that checks GPS coordinats! if current lat and log is good you do what you want
mapiko
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat May 15, 2010 5:19 pm

Re: HowWrite a background service to get latitude and longit

Postby idiot2k1 » Tue Sep 07, 2010 11:53 pm

Would it be possible to have a service that runs in the background that creates overlays on a MapActivity to show the path the user travels?

I have a BlipMap function, but it doesn't work over an extended period of time, especially when the phone is locked or the screen times out.
idiot2k1
Freshman
Freshman
 
Posts: 9
Joined: Wed Jul 14, 2010 2:58 am

Re: HowWrite a background service to get latitude and longit

Postby mapiko » Wed Sep 08, 2010 1:58 pm

mapiko
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat May 15, 2010 5:19 pm

Re: HowWrite a background service to get latitude and longit

Postby saimohanj2me » Tue Oct 26, 2010 12:46 pm

Hello All,

I am also developing this kind of application which all about the GPS tracking.
Application should run in background and for every 30mins it should get the Longitude and Latitude values by overriding the previous values these current values should store.
when the user press a button those values should be sent to a server at emergency situations and at the same time application should make a cal to specific number and then the Loud speaker of the mobile should activate.
In this when the GPRS connection is not available then that Message should sent to mobile number instead of server.
Last one Application must have a auto run option. means when the mobile is off it will stop and when we switch on mobile Application should be run automatically.

Please help me in this
saimohanj2me
Freshman
Freshman
 
Posts: 4
Joined: Tue Oct 26, 2010 12:30 pm

Top

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests