File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes webview example gives an error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "webview example gives an error" Watch "webview example gives an error" New topic
Author

webview example gives an error

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
this is my main class



this is my webview class


this is main.xml



this is webview.xml



attached is the error i am getting when debug the code.please advise.



[Thumbnail for error.gif]

Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4165
    
  21

Hi sameera,

Can you copy and paste the exact error message you get into a post, rather than showing a screenshot? The screenshot you gave does not show an error, it seems to show the launch sequence (but not all of it) a warning (which we can't read all of) and the fact that the code is in a break point (but not where the break point is). Providing the actual error message will give us more information.


Steve
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
it says android jar has no source attachement



[Thumbnail for x.gif]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
As Steve said, please do not post screenshots of error messages, but take the time to copy the error message and post them here. That makes it much easier to search and quote those messages. Should also be faster for you.

That's not really an error message, and it should not interfere with debugging. All it means is that you can't step into the code of the Android classes (which is generally not required for debugging you code).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: webview example gives an error
 
Similar Threads
nullpointer when i try to initiate onclicklistener
TextView autoLink
"Application has unexpectedly stopped error" when adding onClickListener
Why error in this code
Why not correct run my program?