On Fri, Aug 13, 2010 at 12:54 PM, James Moore <[email protected]> wrote:
> Is there a standard way in Android to create an unkillable service
> with very high priority, assuming you have complete access to the
> device (as in you're building your own device on something like a
> beagleboard, not just installing an app)?

I'd consider writing it as a C daemon, completely outside the SDK/NDK,
and bake it into the firmware.

> Or would you just run the phonecall software outside Android in a
> normal Linux process and communicate with Android apps over sockets?

AIDL should work from a normal Linux process. Leastways, the firmware
implements many things that way, from what I can tell. Pretty much
everything that ends in "Manager", like NotificationManager and
AlarmManager, is really a gateway to an AIDL proxy, communicating to
some firmware code running in some other process.

That being said, a socket might work too. You're diving beyond my
Linux systems programming depth... :-)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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

Reply via email to