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 would auto-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 would auto-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 -~----------~----~----~----~------~----~------~--~---