Facebook popup problem in webview

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Facebook popup problem in webview

Postby shialesh » Thu Oct 14, 2010 1:59 pm

I am developing app using web pages. In my app one web page have facebook link. I have use javascript to call facebook in PHP page. The page is working fine in device browser but the same page is not working in webview.

I have set javascript enable true and all the stub but when i click on facebook page it will show me black white page in webview and app will stuck on that screen.

please suggest what is going wrong if anybody having any idea.

Following is the property set to webview in my app.

web.getSettings().setJavaScriptEnabled(true);
web.setVerticalScrollBarEnabled(false);
web.setHorizontalScrollBarEnabled(false);
web.getSettings().setPluginsEnabled(true);
web.getSettings().setLoadsImagesAutomatically(true);


Please see attached file for HTML (PHP) code.
shialesh
Freshman
Freshman
 
Posts: 9
Joined: Thu Jul 30, 2009 11:11 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests