An Android base class with code to manage the boring necessities of any activity that displays a MapView.
Questions tagged [mapactivity]
192 questions
0
votes
1 answer
Maps Activity single mapview
I have a map views which is have some markers on the map and a back button to the main page.
I also have a list of textview which is when selected, it will open a new page that have a button "View Map". The button "view map" will open up a map.
Each…

ecah
- 1
0
votes
1 answer
How to set google map padding on map fragment on android? and also I want to not drag able the map
I am trying to set padding to my Google mMap.setPadding . It's working but after adding it, another button has come for move to the current location
I dont want this.
And also I want to map drag feature to be disabled.
Below is my code:
int width…

SK. Fuad
- 371
- 4
- 9
0
votes
2 answers
Error in Program for Getting User Location in Map
Here I am trying to add a marker with current location in android map, but facing some errors
Android.manifest

DHRUV THAKKAR
- 23
- 5
0
votes
1 answer
ConcurrentModificationException in MapActivity
this is my first question here, so if anything's wrong, do tell.
Now, I have a public class MainMap extends MapActivity which uses a MyLocationListener for the user's location and a HelloItemizedOverlay.
I'm getting certain POI's from an XML-file…

iarwain01
- 424
- 3
- 11
0
votes
1 answer
Android Google map. wait for location initialization before moving Maps camera
I have this following code on my application (the aim is to have a GoogleMaps fragment) :
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import…

AndroidNewbie
- 31
- 1
- 3
0
votes
0 answers
Button that launches map activity and also animates/moves Camera to specific location there…
I have a button that launches a new activity (map activity), and I want it also to animate/move camera to a specific location/place after the new activity(map activity) launches... with the code below it only launches the new activity (map…

Ľubomír Lazor
- 1
- 2
0
votes
1 answer
Errors with Google API in android application utilizing MapActivity
I've tried and tried and tried to figure this problem out. I've searched everywhere and I haven't found a solution yet. I understand that there are many forums on this topic, but none have helped me come up with a solution.
The problem I'm having is…

AlwaysWin
- 25
- 2
0
votes
0 answers
import com.google.android.maps.MapActivity; not accepted in Android Studio
I wanted to begin writing a route tracking activity for the following xml

Noureddine Ouertani
- 324
- 4
- 21
0
votes
1 answer
Implementing Map Activity in android studio
I am trying to start a map activity by using intents on onClick but the app is crashing and gives this error. I want to launch into the map activity by button click. Can anyone give an idea how to integrate MapActivity in android project.
Logcat…

Noor
- 1
- 1
0
votes
1 answer
My current location in android
I'm new to this and it has taken lots of time trying to figure this out. I have this code below as it seems not to be working and sometimes crashes. I know it might be a little thing holding it but would need help to get it fixed and running.
Can…

obinna
- 1
0
votes
0 answers
Is it possible to call a context menu from a MapActivity who extends FragmentActivity?
I searched a lot in Google about this and in Android documentation and until now i didnt find a way to do this. is there a solution to call a context menu over a map fragment?
This is part of my MapActivity:
protected void onCreate(Bundle…

Catluc
- 1,775
- 17
- 25
0
votes
1 answer
How to configure Google Maps in Android Studio when creating MapActivity?
Generally created in android studio, a custom application MapActivity, already 4:00 I get it I can not nastroit.V file "google_maps_api.xmp" put the key that was commented above
To get one, follow this link, follow the directions and press "Create"…

followthemoney1
- 41
- 6
0
votes
0 answers
How to use getSupportFragmentManager() inside MainActivity class which extends MapActivity
I am trying to use getSupportFragmentManager() inside MainActivity class which extends MapActivity but I am getting following error which I am unable to resolve.
"The method getSupportFragmentManager() is undefined for the type…

Badrul
- 1,582
- 4
- 16
- 27
0
votes
1 answer
Cannot Determine Location In Android
I am trying to create Android where showing the user's location in Map-view.But when run this app it says "Can't Determinate Location" .I am in stuck .Can you help me with my code or a link to a guide on how to implement this correctly?
Here is my…
user3387525
0
votes
1 answer
Couldn't extend MapActivity
I am trying to extend MapActivity in my application. But each time I am getting an error. It says that to create a class named MapActivity. What to do? Please help.

Aditya Prabhakar
- 3
- 3