Questions tagged [mapactivity]

An Android base class with code to manage the boring necessities of any activity that displays a MapView.

192 questions
1
vote
0 answers

Android: Why gets the Mapactivity recycled?

I´m starting a MapActivity from another Activity ONCE! When i want to leave the MapActiivty (Google Maps), he reloaded the map... The LogCat says: MapActivity(13290): Recycling dispatcher…
ITCHY1505
  • 61
  • 7
1
vote
1 answer

android app Couldn't get connection factory client

I am developing app for android and using MapActivity for google maps. But I am getting Error "Couldnt get connection factory client" . I explored several threads for this error, but couldnt get any satisfying answer. Here is my…
tech_enthusiast
  • 683
  • 3
  • 12
  • 37
1
vote
2 answers

How to get a subactivity to extend MapActivity

So I have a MainActivity and a SubActivity and I want the SubActivity to extend a MapActivity. But the program would not let me do this. It says that MapActivity cannot be resolved to a type. How can I get the SubActivity to extend MapActivity?
littledevils326
  • 689
  • 3
  • 11
  • 19
1
vote
1 answer

MapActivity ClassDefNotFoundException at runtime

My Activity extends from MapActivity, I have descried it correctly in the manifest, I have put the tag inside the tag I am building with goole apis library and the maps.jar is there only one time(no duplicates) and the…
gop
  • 2,150
  • 5
  • 26
  • 54
1
vote
4 answers

Android MapView:Couldn't find the connection factory client

As I know, that question is discussed so many time here, but still as I tried I faced the same issue and did all try what I saw here and also by Google but still that issue is unresolved. Also, I tried the sample codes from so many sites and there…
Mohit_Jaiswal
  • 840
  • 6
  • 10
1
vote
1 answer

Android:MapActivity is giving Nullpointerexception

when i first load my app mapActivity is invoking and i can see the map, now when i switch off the networkconnectivity and on again , changing the screen and coming back to the mapactivity the map is showing null, getting nullpointer exception at…
teekib
  • 2,821
  • 10
  • 39
  • 75
1
vote
1 answer

removeView from Fragment

I am using a Map Activity which has a Fragment which hosts MAPS. All this is inside a tab as shown below Now every time I am in Maps Tab and go to Details Tab and come back I am getting the following error. 12-04 06:05:37.858:…
suresh cheemalamudi
  • 6,190
  • 11
  • 49
  • 67
1
vote
1 answer

android back button not working after upgrading to 4.1.1

I have an android app. The used cases are as below From activity A can navigate to activity B via startActivity() and activity A is still on the 'STACK' (A is not finished). Activity B is a subclass of google MapActivity On Press of the BACK button…
andrewwang1TW
  • 119
  • 3
  • 14
1
vote
2 answers

Application crashes with error on maps.jar file when install from exported apk and works if i installed it from eclipse

my application uses google maps api. It works well if i installed it from eclipse but when i export apk and install from that apk the application crashes and report this error 11-15 16:30:29.692: E/AndroidRuntime(14405): java.lang.RuntimeException:…
MSaudi
  • 4,442
  • 2
  • 40
  • 65
1
vote
1 answer

How to set screen zoom by geopoints?

I drew a line between 2 geopoints. How do I set screen zoom by these 2 geopoints. What I want to do is to show start and finish points by default. Is there any algorithm for that?
Mustafa Güven
  • 15,526
  • 11
  • 63
  • 83
1
vote
3 answers

getFragmentManager() returns null, with android.support.v4.app.DialogFragment support libraray

here is the fragment dialog: import android.support.v4.app.DialogFragment; public static class SensorMeasurmentsDialogFragment extends DialogFragment { public static SensorMeasurmentsDialogFragment newInstance(int title) { …
user1582281
  • 192
  • 2
  • 11
1
vote
1 answer

Android -Starting a MapActivity when button in a row from a custom list adapter is clicked

I have an app that has a custom list adapter. The list has 3 parts: an image, text, and a button. When a row is clicked, I make an activity start, and when the button is clicked, I want another activity to start, but it's a MapActivity. Both…
Veris
  • 35
  • 1
  • 1
  • 6
1
vote
1 answer

Android MapActivity crashes when using super.onDestroy

I have an app that has been pretty stable so far, and I decided I wanted to add a MapView to it. The MapView is in a HorizontalScrollView if that makes a difference. I converted my main activity to extend MapActivity and added the isRouteDisplayed()…
1
vote
0 answers

Show places on map upon selecting context menu options

I'm making a simple app using google maps, I have a context menu in the middle of the map and I want to show places, upon selecting one of the context menu options (the menu items have listeners which upon selection should trigger a request for…
crazyPixel
  • 2,301
  • 5
  • 24
  • 48
1
vote
0 answers

ActionBarSherlock with google mapview tab

I have been trying to get actionbarsherlock tab work with google mapview, but couldn't figured out how, I have implemented google map (MapActivity) with custom overlay working but don't want to modified too much to get the sherlock tap working.…