-4

hi all i want to make my app be always in background i google a lot but i can't find anything good ! im also want to autostart my app when the device is BOOTED ! please someone help me with a resource code !

kianm98
  • 53
  • 1
  • 8
  • To be always in background, use background services. To auto start at boot, make a broadcast receiver which could listen to `android.intent.action.BOOT_COMPLETED` intent. – user577898 Nov 13 '13 at 11:09
  • you didn't searched enough. there are examples in te web. – silvia_aut Nov 13 '13 at 11:10
  • possible duplicate of [How to Start an Application on Startup?](http://stackoverflow.com/questions/6391902/how-to-start-an-application-on-startup) – silvia_aut Nov 13 '13 at 11:11

1 Answers1

0

Go through this Tutorial

You need to create a simple IntentReceiver that will receive the

<intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED" />
    </intent-filter>

Also go through this Answer as well.

Community
  • 1
  • 1
Jitender Dev
  • 6,907
  • 2
  • 24
  • 35