But, to use BOOT_COMPLETED, your applicaiton must first run and
register that event, right? So, ins't this a chicken and egg problem??

Thanks

On 7월23일, 오후5시06분, Lazarus 101 <lazarus...@gmail.com> wrote:
> Try using Runtime.getRuntime.exec("/path/to/yourprogram") in the
> BOOT_COMPLETED receiver
>
> On Jul 23, 4:58 am, bluestar <bluestar8...@gmail.com> wrote:
>
>
>
> > Dear Sir:
>
> >         The reference is for android application.
> >         My program was linux program and I used adb to connect FR to
> > execute it.
> >         The commands are like below
>
> >           1. after connecting to FR
> >           2. #cd /data/app
> >               #./myprogram
>
> >         I hope these program wouldauto-run after entering Android OS.
> >         Could you have one sample code to provide?
>
> >         Thanks for your big help.
>
> > On 7月22日, 下午10時00分, Micah <mi...@ourmailbox.net> wrote:
>
> > >http://developer.android.com/reference/android/content/Intent.html#AC...
>
> > > On Jul 22, 5:09 am, bluestar <bluestar8...@gmail.com> wrote:
>
> > > > I have one program and I used adb to connect FR to execute it.
> > > > I hope this program wouldauto-execute when entering Android OS of FR
> > > > How to add it to initial schedule? Modify init.rc or some files?
>
> > > > Thanks for your big help.- 隱藏被引用文字 -
>
> > > - 顯示被引用文字 -- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -

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

Reply via email to