View Single Post
  #2 (permalink)  
Old December 16th, 2008, 09:41 AM
Reto's Avatar
Reto Reto is offline
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts
Default

Looks like it's missing the permission required for an application to vibrate the device.

Add the following line at the end of your application manifest, before the closing </manifest> tag:
Code:
<uses-permission android:name="android.permission.VIBRATE"/>
Let me know if this solves the problem for you!

For my own benefit, when you say you created a new project from the provided source, are you referring to the source code download? If so I'll update it to make sure it's got the right permissions so others don't have the same problem.

----
Reto Meier
Author, Professional Android Application Development
Reply With Quote