Problem init a custom made Daemon in Android

by jerryfan2000 » Fri, 10 Apr 2009 10:51:16 GMT

Sponsored Links
I ported CUPSD to Android but have some problem initializing cupsd by
manually typing cupsd & in terminal. Cupsd alawys exits with error. I
haven't tried to start cupsd by adding service in init,rc due to some
technical difficulty. So just not sure is it  wrong to start a daemon
manually? Can somebody explains the difference of initing service from
within init.rc and initing service manually. Thanks.


Other Threads

1. How to include library in source code and Applications

Hi All,

I have written a new library following  the given sample liberary in "/

I have properly compiled it. It properly gets compiled without any
it build binaries are vailable in below mentioned locations.

Binary file ./obj/SHARED_LIBRARIES/native_lib_jni_intermediates/LINKED/ matches

But it is not available in "system.img"
When I copy all these img images to SDK and try to call these API in
my own application
It gives a error about the library namespace

Please guide me where to put this library in source code to get it
or is there any macro or setting by applying which we can get all
sample folder apps/libraries in system.img


2. value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost


I am storing a byte stream @


but on reboot, the value over here is getting lost..... How do i

Xie xie.

3. oprofile usage with dalvik vm

4. Alternative SSL encryption algorithm

5. system_server SIGSEGV.

6. RIL and datacall (CSD)

7. where is "bionic/libc/kernel/original"??