> I would like my app to set a property system wide, something like
> "setprop lox.myapp.enabled=1". I can't find how.

There is no way to do that for an SDK application, and this list for
assisting developers with the Android SDK.

> Why I need that? Because I have a sh script that runs at boot from
> init.rc. It as to check that property to know if it has to run.  I
> thought about setprop but any other way of setting a flag from an
> android app and have it available from a sh script that runs at boot
> will do it.

Questions regarding modified Android firmware are best asked on
[android-porting], particularly if your changes are not meant to be
contributed back to the Android open source project.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to