• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to shut down / reboot android phone from an application?

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi All,

I am a newbie to android, i am writing an application to install an application, which after installation needs a reboot of the device.

but when i am sending a broadcast with ACTION_REBOOT, i am getting a SecurityException : Permission Denial : ---- pid: xxx uid: xxx.

I have mentioned uses-permission for REBOOT in the Manifest file.

If anybody have an idea, Please let me know.

    Bookmark Topic Watch Topic
  • New Topic