Hey guys,
so in my game i use “system.vibrate()” currently when running on the device, when this is called it causes the app to crash, ive been told that its because you need to get permission from the device.
as you can see in this thread:
http://developer.anscamobile.com/forum/2011/07/24/systemvibrate-causes-crash
they say “You need android.permission.VIBRATE in your build.settings”
im sure this is very simple, but i cant get it to work, i add that text in my build settings file and it causes the orientation of my app to go screwy.
here is what my build file looks like
[lua]settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”
}
}
}[/lua]
any help would be great, thanks [import]uid: 19620 topic_id: 13379 reply_id: 313379[/import]
[import]uid: 32256 topic_id: 13379 reply_id: 49100[/import]