signature protection level

117 views
Skip to first unread message

Mnewbie

unread,
Jul 29, 2012, 12:58:10 AM7/29/12
to android-...@googlegroups.com
Hi,

How do I sign my app with the "system key" if I am only running it on the emulator? Where do I find the "system key"?

Thanks

Mnewbie

unread,
Jul 29, 2012, 1:02:56 AM7/29/12
to android-...@googlegroups.com
"A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval. "

Here, what is the "application that declared the permission", and where do I get the certificate for that?

Thanks!

Dianne Hackborn

unread,
Jul 29, 2012, 2:53:56 PM7/29/12
to android-...@googlegroups.com
If you are signing with the system cert, you are building your own system image and know what it is.  If not, you shouldn't be using it.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/rfTPOICtN5UJ.

To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.



--
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, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Mnewbie

unread,
Jul 30, 2012, 3:15:08 PM7/30/12
to android-...@googlegroups.com
I am trying to do it on the aremabi-v7a system image on the emulator.


On Sunday, July 29, 2012 11:53:56 AM UTC-7, Dianne Hackborn wrote:
If you are signing with the system cert, you are building your own system image and know what it is.  If not, you shouldn't be using it.

On Sat, Jul 28, 2012 at 10:02 PM, Mnewbie <meera....@utdallas.edu> wrote:
"A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval. "

Here, what is the "application that declared the permission", and where do I get the certificate for that?

Thanks!


On Saturday, July 28, 2012 9:58:10 PM UTC-7, Mnewbie wrote:
Hi,

How do I sign my app with the "system key" if I am only running it on the emulator? Where do I find the "system key"?

Thanks

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/rfTPOICtN5UJ.

To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Dianne Hackborn

unread,
Jul 30, 2012, 8:47:29 PM7/30/12
to android-...@googlegroups.com
Are you building your own system image?

To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/T9AP2AEkBxEJ.

To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Singla Pankaj

unread,
Jul 31, 2012, 3:28:41 AM7/31/12
to android-...@googlegroups.com
If you are building you your own system image, then you can use can find keys at: (project root)/build/target/product/security/testkey
Reply all
Reply to author
Forward
0 new messages