سؤال

I have a map view in my activity it works fine when there is no call. So obviously there is an onResume() , well at least that is what my log cat is saying. I want to know what I am missing for my map view to resume properly.

LogCat

05-06 18:47:28.069: ERROR/AndroidRuntime(4869):     at www.Freshapp.com.Thumper.html.Thumper.onResume(Thumper.java:307)

onResume()

protected void onResume() {
    Log.i(TAG, "[ACTIVITY] onResume");

        locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);

    locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0,
            0, new GeoUpdateHandler());


 super.onResume();

Line 307

 super.onResume();

Am I missing something?

-Thanks

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top