Advertisement
Ineentho

Untitled

Jun 6th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.21 KB | None | 0 0
  1. local onButtonEvent = function (event )
  2. system.vibrate()
  3. end
  4.  
  5.  
  6. This is my build.settings
  7.  
  8. -- Supported values for orientation:
  9. -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
  10.  
  11. settings = {
  12.  
  13. orientation = {
  14. default = "portrait",
  15. supported = { "portrait", }
  16. },
  17.  
  18. iphone = {
  19. plist = {
  20. UIStatusBarHidden = false,
  21. UIPrerenderedIcon = true, -- set to false for "shine" overlay
  22. --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend
  23.  
  24.             --[[
  25.             -- iOS app URL schemes:
  26.             CFBundleURLTypes =
  27.             {
  28.                 {
  29.                     CFBundleURLSchemes =
  30.                     {
  31.                         "fbXXXXXXXXXXXXXX", -- example scheme for facebook
  32.                         "coronasdkapp", -- example second scheme
  33.                     }
  34.                 }
  35.             }
  36.             --]]
  37. }
  38. },
  39.  
  40. --[[
  41. -- Android permissions
  42.  
  43.  
  44.        android =
  45.     {
  46.  
  47.  
  48.         versionCode = "1",
  49.         permissions =
  50.         {
  51.             { name = ".permission.C2D_MESSAGE", protectionLevel = "signature" },
  52.         },
  53.         usesPermissions =
  54.         {
  55.             "android.permission.VIBRATE"
  56.         },
  57.     },    
  58.  
  59. ]]--
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement