can execute my app automatilly when android is up?

by tstanly » Thu, 06 Aug 2009 14:43:55 GMT

Sponsored Links
 hi all,

I want to change the start point of my machine,
that is,when start on Android,
it can run my app instead of "home" firstly,

if it possiable?


can execute my app automatilly when android is up?

by brian.schimmel » Thu, 06 Aug 2009 15:40:22 GMT

 I think "home" is not the first application that is started, but it is
the first visible one. So you have two options:

1. Your application can replace the home screen, but then it should do
everything that a home screen does. You have to declare an
IntentFilter with the Home category, see #CATEGORY_HOME

2. You can register your app to be executed on startup, additional to
"home". There is a matching "broadcast action" decribed here: #ACTION_BOOT_COMPLETED


Sponsored Links

can execute my app automatilly when android is up?

by tstanly » Thu, 06 Aug 2009 16:47:11 GMT

 thanks for your reply,

for your first point,
i try to do it by edit the AndroidManifesr.xml,

edit the <intent-filter/> tag for...

 <action android:name="andrroid.intent.action.MAIN" />
 <category android:name="android.intent.category.HOME" />

but not work?


On 8 30 "brian.schimmel" <>


can execute my app automatilly when android is up?

by peter » Thu, 06 Aug 2009 17:04:07 GMT

 you should register a broadcast receiver in your AndroidManifesr.xml
and set intent filter about mobile power on action

your class extends from BroadcastReceiver should fire up your activity
of application


Other Threads

1. Knowledge of Android?


For a study we have been looking for android developers. We have now
increased our target audience and are now also looking for developers
in the UK that are considering to develop application on the Android
platform and have experience of iphone application development!

The Lule University of Technology, Sweden, together with the
University of Manchester, UK, is about to start a study on developer

We are looking for people that either are considering to develop or
have already developed application(s) on the Android platform.
The research process includes face-to-face and online sessions during
the beginning of June.

If you would like to participate in one of the sessions that would
take a maximum of 2 hours of your time, please contact us at:
Voucher will be offered to the participants.

Best Regards,
Carin Lundin, Pronto Communication

2. Help to get Android applications license like Gmail, Google Map etc

These applications are not currently available, except when they are
included on a device, pre-installed. You may not redistribute these
- Dan


3. Problems with Cupcake OTA update for ADP1

4. Bug in Contacts notes ?

5. Get preferences from xml/preferences.xml

6. Developing Android Apps

7. Debugger not working for AppWidgets?