aspose file tools*
The moose likes Android and the fly likes Problem with webview Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Problem with webview" Watch "Problem with webview" New topic
Author

Problem with webview

Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
Hi all

my java class looks like this




main.xml looks like this



i have also added internet permission in manifest.xml


on running it i get a blank page.


on Log Cat console i am getting

03-22 11:45:33.490: ERROR/AndroidRuntime(685): ERROR: thread attach failed


Please help









Regards
Bilal
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Your code looks correct to me;
Which SDK version are you using? Can you try some other site that does not use JavaScript? Can proxy/firewall be an issue?


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31
i am using

SDK platform android 2.1
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Can you try some other site that does not use JavaScript? Can proxy/firewall be an issue?

Do you get any other exceptions in the logs?

I am not sure what is going wrong here.

Why not download and try Hello WebView or one of the free WebView examples(from here) and see if they work on your emulator?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with webview