I don't have a recipe to give you.  You can look through SystemService.java
to see things you may not want to run.  Pull out apps you don't want.

On Wed, Jan 27, 2010 at 7:41 PM, Nilly <ni...@oriolesoftware.com> wrote:

> Yes, After starting Activity manager and zygote i am able to start
> application.
>
> I dont want to start other application(resides in system/app) but when
> I simply delete that I am not able to start android so i think some
> are mandatory.
> dalkvik is taking time.
> system manager is starting so many other services I just need activity
> manager as it is require to start an application I want.
>
> So I want as minimum as possible init and only required services to
> start by system_server process.
> So if I go to system server code and comment out the other services
> and only keep activity manager will it do?
>
> Actually my intention is to start only an application at boot up time
> no other init.
>
> Regards,
> Niral
>
> On Jan 27, 1:39 pm, Dianne Hackborn <hack...@android.com> wrote:
> > The am command requires that the entire system be running, since it makes
> > calls on the activity manager.
> >
> > You are mixing two completely different levels of the system.  init is
> the
> > very lowest-level user space code that runs, and zygote is the
> lowest-level
> > dalkvik stuff.  An .apk is the highest-level application concept, and
> needs
> > all of the other platform (system process with all of the system java
> code
> > like the window manager) to be up and running for it to be able to do
> > anything.
> >
> >
> >
> >
> >
> > On Tue, Jan 26, 2010 at 8:12 PM, Nilly <ni...@oriolesoftware.com> wrote:
> >
> > > I have tried disabling zygote process in init.rc started the .apk
> > > using am start.
> >
> > > e.g.
> > > am start -a android.intent.action.MAIN -n com.iftitah.android.contact/
> > > com.iftitah.android.contact.Contact
> >
> > > but it is not starting saying " IS SYSTEM RUNNING"
> > > can not connect to activity manager....
> >
> > > I want to know if i want to start only single application than what
> > > all process is requierd?
> >
> > > Regards,
> > > Niral
> >
> > > On Jan 23, 8:36 pm, Anil Sasidharan <anil...@gmail.com> wrote:
> > > > Hi,
> >
> > > >    Try broadcast receiver or intent filter for "BOOTUP_COMPLETED"
> > > notification.
> >
> > > > Warm Regards,
> > > > Anil
> >
> > > > On Sat, Jan 23, 2010 at 5:04 PM, Nilly <ni...@oriolesoftware.com>
> wrote:
> > > > > hmm,
> > > > > If I have .apk installed already than is it possible to run it on
> boot
> > > > > up time?
> >
> > > > > Regards,
> > > > >Niral
> >
> > > > > On Jan 23, 4:27 pm, Dianne Hackborn <hack...@android.com> wrote:
> > > > >> You can't.  You need to have the rest of the system running before
> you
> > > can
> > > > >> run a .apk.
> >
> > > > >> On Fri, Jan 22, 2010 at 8:53 PM, Nilly <ni...@oriolesoftware.com>
> > > wrote:
> > > > >> > HI All,
> >
> > > > >> > I want to run an application at startup.I have .apk file.
> > > > >> > How can I run it at start up?
> >
> > > > >> > I have looked at the init.rc but it only shows how to run
> > > process.but
> > > > >> > i have seen that dalvikvm & other process starts .apk file
> resides
> > > in /
> > > > >> > system/app folder.
> >
> > > > >> > If I want to run application (using installing .apk file) at
> boot up
> > > > >> > time how can i do that?
> >
> > > > >> > Rgrds,
> > > > >> >Niral
> >
> > > > >> > --
> > > > >> > unsubscribe: 
> > > > >> > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> <android-porting%2Bunsubscribe@­googlegroups.com>
> > > <android-porting%2Bunsubscribe@­­googlegroups.com>
> > > > >> > website:http://groups.google.com/group/android-porting
> >
> > > > >> --
> > > > >> Dianne Hackborn
> > > > >> Android framework engineer
> > > > >> hack...@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.- Hide quoted text -
> >
> > > > >> - Show quoted text -
> >
> > > > > --
> > > > > unsubscribe: 
> > > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> <android-porting%2Bunsubscribe@­googlegroups.com>
> > > > > website:http://groups.google.com/group/android-porting-Hide quoted
> > > text -
> >
> > > > - Show quoted text -
> >
> > > --
> > > unsubscribe: 
> > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> <android-porting%2Bunsubscribe@­googlegroups.com>
> > > website:http://groups.google.com/group/android-porting
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@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.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
hack...@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.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to