This describes how processes are managed:

http://developer.android.com/guide/topics/fundamentals.html#proclife

You can look at the log during boot to get an idea of what goes on during
that time -- each time a process is a started a log is printed saying so
with a string reason code for why it was started.

The phone process is the only special thing, it has a "persistent" flag set
(which normal applications can not use) which tells the system to always
keep it running.

On Tue, Sep 1, 2009 at 3:05 AM, salza <[email protected]> wrote:

>
> How can I set a trigger of an application?
>
> And which triggers do "built-in" applications like e.g. Phone have?
>
> As you said, that as little as possible should be loaded at system
> startup, is there any regulation system that controls that not too
> many applications are loaded into RAM at system startup?
>
> On Aug 28, 9:45 am, "Mark Murphy" <[email protected]> wrote:
> > > I think I have do differentiate between home applications / "built-in"
> > > applications like the phone application and application that are not
> > > needed immediately after boot-up.
> >
> > > So are these different types of applications loaded into RAM at boot-
> > > up or when they are first activated or when the first service is
> > > requested (e.g. an incoming phone call)?
> >
> > They are loaded into RAM when an Intent triggers them to be loaded into
> > RAM. Examples include clicking on an icon in the Launcher, responding to
> a
> > system broadcast Intent (e.g., BOOT_COMPLETED), when another application
> > starts one of their activities or remote services, etc.
> >
> > As little as possible is loaded into RAM at system startup.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to