What is responsible for starting apps ??

6 views
Skip to first unread message

James

unread,
Nov 24, 2009, 2:24:06 AM11/24/09
to android-platform
Dears:
U know,the entry activity's onCreate() method will be called right
an app starts. But who's responsible for this ? or who will handle the
intent android.intent.category.LAUNCHER and start a new app process?
Thanks a lot !

-James

Pierre Henry Perret

unread,
Nov 24, 2009, 2:59:25 AM11/24/09
to android-...@googlegroups.com
You declare your intent to lauch application at start and the android system lauched it.

Pierre-Henry Perret





James

unread,
Nov 24, 2009, 3:49:08 AM11/24/09
to android-platform
Ye, That's right. But the question is who "the android system " you
referred above is. ActivityManagerService or anything else ?
and how does it work. Any ideas ??

刘辉

unread,
Nov 24, 2009, 4:00:09 AM11/24/09
to android-...@googlegroups.com
So far as I know, the ApplicationContext will handle the intent
CATEGORY_LAUNCHER.
> --
>
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
>
>
>

Dianne Hackborn

unread,
Nov 24, 2009, 1:24:11 PM11/24/09
to android-...@googlegroups.com
ActivityManagerService ultimately the one who decides when to start a process.

And unless there is something being contributed here, please move this to android-porting.
--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Reply all
Reply to author
Forward
0 new messages