Better JavaScript debugging for a WebView

by Mattaku Betsujin » Thu, 05 Mar 2009 15:29:28 GMT


Sponsored Links
 I've never seen errors like "undefined line: 0 source: undefined". All my
errors usually come with a source name and file name.

How do you load the HTML into WebView. Do you do it the following way?

          WebView.loadUrl("file:///android_asset/myfile.html");








--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Where is arm-none-linux-gnueabi-gdb equivalent on MacOS

Hi,

I am trying to follow to debug native application on MacOS:

http://honeypod.blogspot.com/2008/01/debug-native-application-for-android.html

But can somone please tell me where is arm-none-linux-gnueabi-gdb
equivalent on MacOS?

And why do I need both 'arm-none-linux-gnueabi-gdb' and 'gdbserver'?
What is purpose of each?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. first meeting in 2 nd calendar @ Wed May 27 12:30pm 鈥?1:30pm (Android Develop ers

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20090527T093000Z
DTEND:20090527T103000Z
DTSTAMP:20090526T170612Z
ORGANIZER;CN=2nd calendar:mailto:cijbeko7rs00l2gb2ll72o2...@group.calendar.
 google.com
UID:bgebleot8asm6b8q5jr0g0e...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=zz top;X-NUM-GUESTS=0:mailto:z0016...@gmail.com
ATTENDEE;CUTYPE=GAIA_GROUP;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;cn=android-develop...@googlegroups.com;X-NUM-GUESTS=0:mailto:android-d
 evelop...@googlegroups.com
CLASS:PRIVATE
CREATED:20090526T170520Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEW&eid=YmdlYmxlb3Q4YXNtNmI4cTVqcjBnMGVtYXMgYW5kcm9pZC1kZXZlbG9wZXJzQGdvb2
 dsZWdyb3Vwcy5jb20&tok=NTIjY2lqYmVrbzdyczAwbDJnYjJsbDcybzI0c2dAZ3JvdXAuY2FsZ
 W5kYXIuZ29vZ2xlLmNvbTdkYTNhNWI5Y2UwMzlhY2U1MDk5YzA2ZTEwOTAwMWNmMjU4ZjNlOWQ&
 ctz=Europe%2FHelsinki&hl=en.
LAST-MODIFIED:20090526T170611Z
LOCATION:2nd calendar
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:first meeting in 2nd calendar
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

--~--~---------~--~----~------------~-------~--~----~

3. Why can't I see this on my G1?

4. Drawable cannot draw into Canvas

5. Can't change MediaPlayer data source

6. Vertical and Horizontal scroller for EditText

7. Urgent!!!!!!!!!Audio recording..