Import bug MapView Superclass not found Dalvik class loader

by Fred Grott(shareme) » Tue, 04 Aug 2009 22:59:29 GMT

Sponsored Links
 ello and Good Morning,

I was doing examples of MapView to finish my templates for the
AndCooper Build tool and found that no matter what example I try I get
the same exception errors in SDK 1.5r3..

First lets head off the obvious.

-No widgets are present in the example.
-Simple class:

package com.mobilebytes.mymapview;


import android.os.Bundle;

public class MyMapViewActivity extends MapActivity {

private MapView mapView;
private MapController controller;

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



/** Find and initialize the map view. */
private void initMapView() {
mapView = (MapView) findViewById(;
controller = mapView.getController();

/** Start tracking the position on the map. */
private void initMyLocation() {
final MyLocationOverlay overlay = new MyLocationOverlay(this,
//overlay.enableCompass(); // does not work in emulator
overlay.runOnFirstFix(new Runnable() {
public void run() {
// Zoom in to current location

protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;

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


<?xml version="1.0" encoding="utf-8"?>

Import bug MapView Superclass not found Dalvik class loader

by Fred Grott(shareme) » Tue, 04 Aug 2009 23:03:37 GMT

 ever mind found the error

Placement of the uses-library of Google Maps has to occur after the
ending activity tag..

On Aug 4, 9:56am, "Fred Grott(shareme)" <> wrote:

Sponsored Links

Other Threads

1. Trusted Keys vs Trusted Platform. Was: Do they need to change the security keys for the OEM

Hi, nice to see some real TPM-folks in this list!

Anyway, I believe that there is some value in separating
secure keys from secure platforms to not get stuck forever
in discussions what a secure platform really is, while the world
outside is eagerly waiting for useful mobile authentication solutions.

Anders Rundgren

----- Original Message ----- 
From: "[hardjono]" <>
To: "Android Security Discussions" <>
Sent: Friday, August 14, 2009 03:07
Subject: [android-security-discuss] Re: Do they need to change the security 
keys for the OEM?

I would have to agree with John. Better if Android avoid the mistakes
of the PC industry and design with support
for h/w security from the get go. The PC industry has spent over a
decade (since 1999) working on the TPM hardware,
and now it is in most of PCs (commodity). Still has some issues.
Similarly the card industry spent years developing SmartCards,
and now it is in all USIM cards in GSM phones in Europe and Asia (and
soon US).

Many Enterprises do wish to allow employees to connect their mobiles
into the corp
network and directory services. However, the lack of "security" in
many mobiles
has put off many orgs.

Do we know if Apple has plans to use TPM/smartcards in future iPhones?


> and others can see and answer them.

2. Why calendar APP don't run in Android 1.5?

Why calendar APP don't run in Android 1.5?

3. Sydney, Australia GTUG

4. on-screen keyboard always displays on Galaxy

5. How to download a read only sqlite database at runtime

6. how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

7. Do they need to change the security keys for the OEM