0

I'm writing a system update service that needs the REBOOT permission. From what I gather, adding it to the manifest is not enough - the app needs to be signed with the same key as the OS.

This will be possible on the actual device, since I will have that key, but what about the emulator? Is it possible to sign an app with the same key as the SDK/emulator or any other way to simulate it having the permission?

Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92

1 Answers1

3

You would need to run your own custom firmware on the emulator, so you control its signing key.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • I will make my own build of the ROMs and try that. Is it then possible to sign the app as part of the Launch process in Eclipse, so I can quickly debug & modify, without using the File > Export > APK signing process? – Tomas Andrle Mar 28 '11 at 09:29
  • @TomA: Beats me. I have never loaded custom firmware on the emulator, nor do I use Eclipse much. – CommonsWare Mar 28 '11 at 13:05