It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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: 1072
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: 4167
    
  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: 1072
it says android jar has no source attachement



[Thumbnail for x.gif]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41133
    
  45
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
 
 
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?