Hi,

what i'm trying to do is to show a simple map on the first activity.
So i tried to build a mapview object:
public class Test3 extends Activity {

        private MapView mv = null;

        /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //setContentView(R.layout.main);

        this.mv = new MapView(null, "myKey");

        setContentView(this.mv);
    }
}

But in this line: this.mv = new MapView(null, "myKey"); i get a
VerifyError and i cant figure out why.
Maybe someone here has an idea how to get a map on the screen. (The
HelloMapView tutorial isnt working either)

Regards,
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to