I am using the TF201 of ASUS.
Why "MapActivity" will be error?
Please tell me.
package com.mycompany.myapp;
import android.os.Bundle;
import com.google.android.maps.*;
public class MapSample extends MapActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MapView map = new MapView(this, "xxxxxxxxxxxxxxxx");
map.setEnabled(true);
map.setClickable(true);
setContentView(map);
}
@Override
protected boolean isRouteDisplayed() {
return false;
}
}
--
Hans Kratz
AIDE Team
<classpathentry kind="lib" path="libs/effects.jar"/> <classpathentry kind="lib" path="libs/maps.jar"/> <classpathentry kind="lib" path="libs/usb.jar"/>