Questions tagged [mapactivity]

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

192 questions
0
votes
1 answer

Efficiently drawing path in Maps With More than Thousand GeoPoints.

I am using a MapActivity. I take a set of GeoPoints from a webserver using JSON and parse it to decoded the Polyline code into geo-points (latitude and longitude) which are then stored in ArrayList. These points then get drawn on the…
santhu
  • 68
  • 8
0
votes
1 answer

Android MapView like

I would like to implement a Mapview like in my app : - A background (the map, tiled or not) which is a Bitmap - An overlay with POI The map should reacts to user zoom/move. Is it possible to use MapView/MapActivity for this (without connection to…
bbb
  • 1
0
votes
1 answer

MyLocationOverlay change the marker to the Google Maps default

I'm investigating MapActivities, and what I'm attempting to do is to change the default marker of MyLocationOverlay from the default circle to the marker that google maps uses (the blue arrow head) Is there any easy way of doing that? thanks in…
Polugern
  • 23
  • 4
0
votes
1 answer

Getting the altitude

In a class derived from the MapActivity class, I want to get the altitude of the point clicked by the user. So far, I know how to retrieve the latitude, the longitude but not the altitude. Is it possible and how? Thanks in advance for the time you…
Zelig
  • 157
  • 3
  • 12
0
votes
1 answer

Android launching a MapActivity?

I'm trying to set up the google maps API for an application. I'm following this link: http://developer.android.com/guide/tutorials/views/hello-mapview.html Yes, I got my own APK key in the xml and added all the manifest stuff they wanted. But my…
JDS
  • 16,388
  • 47
  • 161
  • 224
0
votes
1 answer

Joining to OverlayItems

In a class derived from the MapActivity class, I want to join two OverlayItems with a line. So far, I have tried to override the MapView's onDraw method but it is not possible because this method is declared final. How can I do? Thanks in advance…
Zelig
  • 157
  • 3
  • 12
0
votes
1 answer

ActivityNotFoundException (MapActivity)

i have an MapActivity in my application. I included it at my manifest file but when i run the application , everything runs fine except the MapActivity, Whenever i try to start MapActivity by clicking a Button it gives the following errors, 07-02…
Junaid
  • 1,179
  • 2
  • 18
  • 35
0
votes
1 answer

Problems trying to use Android Mapview classes

I'm a noob to Android so bear with me and apologies if my post is moronic. Basically, I'm trying to add a mapview to the XML which is causing a few problems, the error I'm getting is: 06-30 12:29:04.760: ERROR/AndroidRuntime(320):…
0
votes
1 answer

MapView's Marker Showing Problem

I have a MapActivity. It shows a Google map with some markers on it. While the MapActivity is running, i want to add some new markers on the map by using code, Also want to remove the previous markers so that the map will show just updated new…
Junaid
  • 1,179
  • 2
  • 18
  • 35
0
votes
1 answer

How to pinpoint different locations to my MapView on Android Studio?

I'm currently developing an Android Studio application, which has a Map Activity. The purpose of that map activity is to pinpoint some key locations (e.g. cafes) that are close to the user's location. Example: User A opens the app, clicks on the…
0
votes
1 answer

Android force-close on Google maps: java.lang.NoSuchFieldException: loading_tile_android

One of my Android users is getting a force-close when launching Google Map (MapActivity class) inside my application. He gets a MissingResourceException. He's the only one complaining so far, and he is using Vanilla Tazz phone. The Google maps…
antonio
  • 375
  • 4
  • 13
0
votes
1 answer

How to retrieve data from SQLite table in Android

I am doing a Map application in Android using SQLite to store and retrieve data. So I create a table to store Latitude and Longtitude but I do not know how to retrieve the Latitude and Longtitude values from SQLite to bind them to Latitude and…
DienTrinh
  • 73
  • 1
  • 3
  • 7
0
votes
0 answers

Manifest Merger Failed against application component factory

I am a beginner and using MapActivity for the first time, my project is generating some errors titled "manifest merger failed" and suggesting to add a line in the android manifest file Manifest merger failed : Attribute…
user8459365
0
votes
1 answer

How to import android support v4 correctly within mapactivity

I have created empty map activity, added the KEY, and try to build but got this error: cant resolve symbol 'FragmentActivity' I have tried adding: implementation 'com.android.support:support-v4:28.0.0' to the gradle as in other solutions, but still…
0
votes
1 answer

Android Maps control

If I use the Intent to fire up default maps app on emulator/device, how can I gain control on the clicks/touch on the map. e.g. I want to find all Pizza places in my location. It is damn easy if I use geo URI. String uri = "geo:"+…
spad
  • 1