Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Can't disable Haptic feedback

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 rik_GT   Members   

126
Like
0Likes
Like

Posted 17 August 2012 - 11:38 AM

Hi all

I have an issue with my application. I'm trying to disable Haptic feedback. On the manifest file i have the permision android.permission.WRITE_SETTINGS

And on my activity on the onCreate() i have the following:
Settings.System.putInt(getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);

But everytime I satrt the game, the vibration is always activated.

Any help would be grateful.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.