activity triggered rebooting

541 views
Skip to first unread message

Dan Raaka

unread,
Mar 19, 2009, 1:42:04 PM3/19/09
to android-platform
It looks like an activity with manifest permission
"android.permission.REBOOT"
CANNOT initiate the intent" android.intent.action.REBOOT", due to to
permissions and the documents say, to be used by system code only.

Is there way to group an activity to be run in an appropriate process
so that it will REBOOT.

-Dan

Dianne Hackborn

unread,
Mar 19, 2009, 2:58:36 PM3/19/09
to android-...@googlegroups.com
It's not about processes, you must need to sign your .apk with the platform certificate.
--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support.  All such questions should be posted on public forums, where I and others can see and answer them.

dan raaka

unread,
Mar 19, 2009, 4:03:18 PM3/19/09
to android-...@googlegroups.com
Found the following in my build structure ..
../build/target/product/security/media.x509.pem
../build/target/product/security/platform.x509.pem
../build/target/product/security/shared.x509.pem
../build/target/product/security/testkey.x509.pem

I believe you are referring to platform.x509.pem. Is that right  ?

-Dan

Dianne Hackborn

unread,
Mar 19, 2009, 4:58:19 PM3/19/09
to android-...@googlegroups.com
Yes but you just have to put this in your makefile:

LOCAL_CERTIFICATE := platform
Reply all
Reply to author
Forward
0 new messages