Unless you bake your own proprietary ROM/image for these phone, it is not possible.
You can't run a service in the background without the being unable to find out. It is always discoverable and it can be terminated. Second of all, you'd need a device with a hell of a battery. The constant drain from the GPS device and the radio will make sure that the phone's battery is dead in no time. On Friday, June 29, 2012 11:13:03 AM UTC-4, Mihai Popescu wrote: > > Hi, > > Your answer does not sattisfy me :) > > Perhaps I din't provide enough information. > 1. I can program, I can learn, but I first need to know if what I want is > possible > 2. I am a toal Android n00b, so I need number 1 answered first > 3. the application is intended to be used for employee tracking throughout > the country (not making personal trips with the company's cars and wasting > fuel, or doing illegal activities) > 4. My application will not have a GUI and it will just send some unique > hardware code (maybe motherboard SN or phone card SIM number/serial number) > and its GPS coordinates to some hardcoded server once every 10 minutes. > Maybe it will also update the interval in which it sends GPS updates > according to some information acquired from the server once every 5 > minutes, in order to control server load and mobile operator costs. > > After some research, I realised that maybe it will not really be an > application, but a service. > > Still, I need to know the following: > - Is it possible to hide the app/service from the average user? I have no > idea yet how Android works, so I assume that hiding it from the application > manager should be enough. > - wether if it will be an application or a service, If I can't hide it > completely from the user, can I password protect it from being manually > shutdown? > - how can I make it start automatically on phone power-on? Can I make sure > the user doesn't manually change its auto-startup settings? > - how can I make my app keep the preconfigured GPRS/3G connection alive > but in standby ? (Or open it if turned off and send its GPS coordinates?) > > Thank you! > > > On Friday, June 29, 2012 11:24:46 AM UTC+3, Terry wrote: >> >> I don't think it can be done! >> >> Terry >> >> >> kl. 12:03:08 UTC+2 onsdag 27. juni 2012 skrev Mihai Popescu følgende: >>> >>> Hello, >>> >>> I am rather new to Android, and I need some information and opinions. >>> >>> I intend to develop an application which would run on some Android >>> phone, seeminglessly in the background, and send periodic messages to a >>> server, regarding its current position (GPS coordinates). >>> >>> The most important aspect here would be that: >>> - the application is intented to be preinstalled on a bunch of phones, >>> before they will be used by a specific group of people. >>> - the user must not be able to stop/kill the application without some >>> kind of password >>> - the user must not be able tu turn off his GPRS/3G internet connection. >>> >>> I am aware that there are some security restrictions for developing such >>> an app, but still my question is wether or not it would be possible to do >>> it. >>> >>> I assume that if not, the next best thing would be to customize the >>> Android OS with these changes, and deploy it on the set of phones :D >>> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en