It is working fine Thank you very much for all your help [I wonder where can I get documentation about these kind of APIs ] 2010/10/23 Horace <nice...@gmail.com>
> Hello, > > In my opinion, at first you should register your daemon in init.rc. > When adding your daemon in init.rc, you'd better copy other daemon > such as wpa_supplicant. > And then you can start your daemon like the below in java. > => SystemService.start("mydaemon"); > Or you can also start in C like this, property_set("ctl.start", > "mydaemon"); > > Thank you. > > On 10월23일, 오전2시11분, neeloor2004 <neeloor2...@gmail.com> wrote: > > Hi All > > (I am working for an OEM so I have access to full source code) > > > > I have written a daemon and included in the rom (\system\bin > > \mydaemon) I also created another lib and JNI interface (Which I will > > call from Android connection Manager) > > > > Now when I get a call from JAVA (through jni) I wanted to start my > > daemon > > I am doing the following but not working > > r= system ("(\system\bin\mydaemon") > > > > Also I tried it using script, I created /system/etc/start.sh and done > > chmod 0777 in init.rc still it is not working > > > > Please help > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting