BLACK SCREEN

So , I am creating a contact us app using corona but when typing the following code :

local webView = native.newWebView( 0, 0, 320, 480 )

webView:request( “http://www.MYSITE.com/Contactform.php” )

 it gives a black screen :/ 
 

I’ve also added to the “build.settings” file the following : 

settings =
{
android =
{
usesPermissions =
{
“android.permission.INTERNET”,
},
},
}

P.S : I know I have to change “MYSITE” , and I’ve tried it with differentes sites like : m.facebook.com , but it always shows a black screen

Hi Mike,

Are you getting the black screen in the Corona Simulator or on an actual device.  webViews don’t work in the Windows Simulator (they do in the Mac Simulator), so that could be your issue.

  • Andrew

Hi Andrew , 

Thanks you so much :slight_smile:

Hi Mike,

Are you getting the black screen in the Corona Simulator or on an actual device.  webViews don’t work in the Windows Simulator (they do in the Mac Simulator), so that could be your issue.

  • Andrew

Hi Andrew , 

Thanks you so much :slight_smile: