aspose file tools
The moose likes Android and the fly likes Running Services immediately after the apk is installed on the device. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Running Services immediately after the apk is installed on the device." Watch "Running Services immediately after the apk is installed on the device." New topic
Author

Running Services immediately after the apk is installed on the device.

Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1365

The application that I am working on is basically a background service(No UI as of now). This service is to run almost always for the time device is ON.

So, I have a BroadcastReceiver in my application that filters "BOOT_COMPLETED" Intent action and attempts to start the service. Now, this will ensure that the service is started on Device boot always. I also want the service to be started immediately after the apk file for the application is installed on the device.

I am not sure how or whether this could be achieved.

Please help.

Thanks in advance.


[List of FAQs] | [Android FAQ] | [My Blog] | [Samuh Varta]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Running Services immediately after the apk is installed on the device.
 
Similar Threads
phone memory required to install apk? - memory structure of Android
Project.apk file is not installing in emulator-5554
debug.certificate expiry in real device
Problem playing alarm sound
About application deployment - How to update application