File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Mobile » Android
Bookmark "webview example gives an error" Watch "webview example gives an error" New topic

webview example gives an error

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
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

Joined: Jan 28, 2003
Posts: 3948

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.

sam liyanage
Ranch Hand

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

[Thumbnail for x.gif]

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39548
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 - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: webview example gives an error
Similar Threads
Why not correct run my program?
nullpointer when i try to initiate onclicklistener
Why error in this code
"Application has unexpectedly stopped error" when adding onClickListener
TextView autoLink