Final SDK build available (84853) deadline extended to Tuesday, August 5

by Mark Murphy » Fri, 18 Jul 2008 18:10:19 GMT

Sponsored Links
 > I am curious why it is taking more than a day for my posts to appear

What I'm seeing is the occasional trickle of messages, then a whole batch
of them in one shot, some fairly old. For example, your message came in as
a part of a group of nine new ones. I think yesterday I got a flood of
about two dozen all at one time.

I'm not signed up to get individual emails from other Google Groups, so I
have no idea if this is system-wide or what -- anybody know?

Mark Murphy (a Commons Guy) 
_The Busy Coder's Guide to Android Development_ -- Available Now!


Other Threads

1. dalvikvm doesnt seem to recognize classes compiled with groovyc

Ive been trying to get groovy running on dalvikvm. And i have been trying the 
route via groovyc (groovyc -> jar -> dx -> dalvikvm).
For testing i put together a jarfile with 3 classfiles, one pure java, one 
javaclass that invokes a method on a groovy class, and a groovy class. 

The pure java class works flawlessly but the other two fails with these 

/system/bin/dalvikvm -classpath testdex.jar GroovyFromJ
Dalvik VM unable to find static main(String[]) in 'GroovyFromJ'
java.lang.VerifyError: GroovyFromJ
        at dalvik.system.NativeStart.main(Native Method)

And for the groovy file:

/system/bin/dalvikvm -classpath testdex.jar Groov
Dalvik VM unable to locate class 'Groov'
java.lang.NoClassDefFoundError: Groov
        at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Groov in loader 
        at dalvik.system.PathClassLoader.findClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 1 more

What should happen is that the classes invoking groovy should throw a class 
not found exception since i don't have the groovy jar in the classpath yet 
(theres no point atm). 
Does anyone have a clue about whats going on here? I know the classfiles 
generated by groovyc is slightly different from javas, but they are "real" 
classfiles and should atleast load.

(This might be a dupe, my message didn't seem to get posted)


2. can't loading external webpage or image, javascript in WebView

when I load external web page, image or javascript file from local
I can't see external image and can't load javascript or webpage.
but I can only see local image.
why I can't load external javascript, webpage or image?

here is the HTML source.
(of course, I filled right [daum open API key])

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Daum ÔéČAPI</title>
<script type="text/javascript" src="
apikey=[daum open API key]" charset="utf-8"></script>
       <div id="map" style="width:600px;height:400px;" style="border:
solid #000"></div>
       <img src="
       <img src="file:///android_asset/coffeebean.jpg">
       <script type="text/javascript">
               var map = new DMap("map", {point:new DLatLng
127.03130020103005), level:2} );
       <iframe src="" width="300" height="150"></

and I use this Activity source


import android.os.Bundle;
import android.webkit.WebView;

public class OpenAPITest extends Activity {

       WebView webView;
   /** Called when the activity is first created. */
   public void onCreate(Bundle savedInstanceState) {

       webView = (WebView) findViewById(;
       webView.setWebViewClient(new DaumMapClient());


I check permission like this manifest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
   <application android:icon="@drawable/icon" android:label="@string/
       <activity android:name=".OpenAPITest"
               <action android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />
   <uses-permission android:name="android.permission.INTERNET"></uses-
   <uses-sdk android:minSdkVersion="2" />



3. G1 Unlock Code Free

4. word wrap on button

5. Netbook with Android

6. How to open wbxml stream ?

7. ScrolllBar style