Hi,
I have simplify my problem as simple as I could and I end up with this program which I don't understand why it is not working (I dont find the message in LOGCAT usefull)
It is failing at the call
I have simplify my problem as simple as I could and I end up with this program which I don't understand why it is not working (I dont find the message in LOGCAT usefull)
Code:
import android.os.Bundle;
import android.util.Log;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
public class Main extends MapActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.map);
GeoPoint mpFrom = new GeoPoint(19240000, -99120000);
Log.d("aaa", getString(mpFrom.getLatitudeE6()));
}
@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}
It is failing at the call
Code:
mpFrom.getLatitudeE6()