How to make your application to run as the Phone Boots up?

Put your problem here if it does not fit any of the other categories.

How to make your application to run as the Phone Boots up?

Postby prajkti.khadse » Tue Apr 07, 2009 9:55 am

Hi all

i want to run my application as soon as the Phone/Emulator Boots up..
actually, i want the service to run at background continuously...

i've tried


Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <activity android:name=".LocalServiceController" android:label="@string/activity_local_service_controller">
  2.  
  3.             <intent-filter>
  4.  
  5.                 <action android:name="android.intent.action.BOOT_COMPLETED" />
  6.  
  7.                 <category android:name="android.intent.category.LAUNCHER" />
  8.  
  9.             </intent-filter>
  10.  
  11.         </activity>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


but it's not working...
when i Start th emulator, the application doesn't run neither i can see the icon for the same.... :cry:

can anyone plaese help me out...???
prajkti.khadse
Developer
Developer
 
Posts: 32
Joined: Thu Mar 19, 2009 1:01 pm
Location: Bangalore

Top

Postby WarrenFaith » Tue Apr 07, 2009 10:13 am

Well.... searching the forum could help somethimes... :arrow: http://www.anddev.org/viewtopic.php?p=3737
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 13 guests