Anything wrong with this code , it gives a black screen on my mobile , and it does nothing on the simulator
local storyboard = require ("storyboard") local scene = storyboard.newScene() local widget = require( "widget" ) local function onSendEmail( event ) -- compose an HTML email with two attachments local options = { to = { "mikecmattar@live.com" }, cc = { "ADD YOUR E-MAIL HERE , P.S DO NOT CHANGE THE E-MAIL ABOVE!" }, subject = "YOUR NAME" } native.showPopup("mail", options) -- NOTE: options table (and all child properties) are optional end function scene:createScene(event) local background = display.newImage( "bg.png" ) background.y=0 local emailImage = display.newImage( "email.png" ) emailImage.x = display.contentWidth \* 0.5 emailImage.y = display.contentHeight \* 0.30 local sendEmail = widget.newButton { left = 10, top = 300, width = 298, height = 56, label = "Compose Email", onRelease = onSendEmail } end function scene:enterScene(event) storyboard.purgeScene("start") end function scene:exitScene(event) end function scene:destroyScene(event) end scene:addEventListener("createScene", scene) scene:addEventListener("enterScene", scene) scene:addEventListener("exitScene", scene) scene:addEventListener("destroyScene", scene) return scene