Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Viberate Permissions

Hello,

I'm running Ti 1.5.0 i called the Titanium.Media.vibrate(); (Stolen from the Kichtchink app). This function cuases a runtime error:
>SecutiryException: Requires VIBRATE permission

How can i solve this problem?

Greetings,
Jacob

— asked October 25th 2010 by Jacob van Dam
  • android
  • vibrate
0 Comments

1 Answer

  • Accepted Answer

    You are probably using an AndroidManifest.custom.xml, which isn't updated when you start using a function that needs permission.

    Add the following permission at the list of permissions in your manifest file:

    <uses-permission android:name="android.permission.VIBRATE"></uses-permission>

    That should do the trick.

    — answered October 25th 2010 by Peter Griffin
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.