How-to start service automatically on system startup and on installation

by Ralf » Mon, 13 Apr 2009 13:08:20 GMT

Sponsored Links
 All you need is to create a BroadcastReceiver that is bound to the

Tout ce que tu as a faire c'est de creer un BroadcastReceiver qui
recoit l'action BOOT_COMPLETED (avec la permission qui va bien).


<manifest xmlns:android="" ;
package="com.alfray.timeriffic" ...>
  <application ...>
    <receiver android:name=".MyBroadcastReceiver">
        <action android:name="android.intent.action.BOOT_COMPLETED" />

<!-- Important -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />



Other Threads

1. Nah ini pemenang android apps tingkat dunia

Ayo, share dah dapet diunduh dimana apps nya :-)

Here are Your ADC 2 Winners!

Lucky Sebastian
@Android phone with K-9
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group:


2. How can I select a contact by phone in Android 2.0

Hi, all

in android 1.5 or android 1.6, I use the below code to select a
contact by phone number

                        Intent intent = new Intent(Intent.ACTION_PICK,
                        startActivityForResult(intent, Utils.PICK_CONTACT);

But in the android 2.0, the system contact intent says that I don't
have any contacts.  I find that Contacts.Phones.CONTENT_URI is
deprecated in android 2.0, and the docs says that "These APIs continue
to work but will only return data for the first Google account
created, which matches the original behavior." what does it mean?

any ideas? thanks


3. Sim toolkit

4. Different behaviour between SDK 1.6 and SDK 2.0 - bug? Please help.

5. Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

6. Video Player Sample pls

7. Android on HTC Tattoo and FM receiver