Hi

My best shot will be, U make a receiver and get the following intent.

<receiver android:name=".StartupReceiver" >
            <intent-filter>
                 <action
android:name="android.intent.action.BOOT_COMPLETED" />
                 <category
android:name="android.intent.category.HOME" />
            </intent-filter>

The start u service from this receiver, and off course define the
receiver extending BroadCastReceiver

Hope this helps.

Per

On Jan 7, 7:01 am, Manoj <linkex.ma...@gmail.com> wrote:
> Hi
> Please tell me the way to make any service running automatically when
> the phone is turned on.
>
> Manoj Chauhan
-- 
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

Reply via email to