Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to start an application in android when mobile is switched ON
Posted
Comments
DaveAuld 30-Aug-11 9:17am    
Do you mean a service? (i.e. Like a windows service that runs in the background)
Jacob_cbe 30-Aug-11 9:18am    
yeah obsolutely...
Jacob_cbe 30-Aug-11 9:20am    
when switched on the mobile the particular app will automatically starts and run as background service.

Have you looked at AutoRing Android Service Creation Walkthrough[^] this should cover all you need

/Darren
 
Share this answer
 
HTML
<receiver android:name="com.wallpaper.StartReceiver" xmlns:android="#unknown">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900