Android :: Default Marker For Droid Google Mapview?
Aug 31, 2010
Just wondering if there is a standard/default overlay/marker that I can use in the MAPVIEW?
I have been searching on the web and all tutorials talk about extending the Overlay and put your custom image on it.
Is there a easier way? I just want to have the a marker, nothing fancy.
View 1 Replies
Jun 4, 2009
Hey Is it easy/possible to drag marker objects in a MapView?
View 10 Replies
View Related
Nov 24, 2010
How can I read an XML file and then take over the individual items as markers in an overlay.
Here is an example of my XML files.
CODE:...............
I'm still a newbie in Java / Android but nowhere can I find a guide.
View 1 Replies
View Related
Nov 14, 2010
how do i change the default blue animated marker for MyLocationOverlay in google maps?
View 1 Replies
View Related
Oct 12, 2010
I am developing an application which shows the current location of the user. I want to display a marker on the current location of the user.
I have used an image as marker to display current location. But i want to display an animated arrow showing the range just like in the google maps android app. Can anyone please tell me how to achieve this.
View 1 Replies
View Related
Jul 20, 2010
I can draw overlay items onto google maps just fine, an image that looks like:
_____
| |
______
/
Where the "/" part is the "pin" that marks the lat/lon on the map and a picture in the middle of it. My question is, is there any way to expand this when the user clicks on it? I'll of course have to change this to some kind of dialog or layout and change it when it gets clicked.
I want to have it smaller like that with just an image when not clicked on, but when it is clicked on it expands over like a second to:
--------------------------------------
| <image> <buttons> |
| <buttons> |
| <some info here> |
| |
--------------------------------------
/
Is this possible?
View 2 Replies
View Related
Jan 31, 2010
How do I add a marker on a particular location in the map?
I saw this code that shows the coordinates of the touched location. And I want a marker to pop or be shown in that same location everytime it is touched. How do I do this? Code...
View 2 Replies
View Related
Oct 11, 2010
I've tried to open Google Map application on iphone & android. From iPhone developer reference website I am able to open the native google map from link.
http://maps.google.com/maps?ll=11.5558762589,104.921697935&z=15
However, I have trouble with adding a marker into the map. As in google static map, we can add markers into map. I wonder if we can do the same to google map link.
View 1 Replies
View Related
Jun 2, 2010
I am facing to android application signing problem. My application contains Google MapView. When I compile the app and run on the emulator, MapView works fine. But signed the app, MapView doesn't work. I've get Google Map API. This works on the simulator. I could sign the app once 2 months ago. Then I've upgraded the app. Now I need to sign the app again. Actually I don't know why signed app's mapView doesn't work. How to fix it?
I used following steps when sign the app: Run Eclipse. Select the project. Right Click -> Android Tools -> Export Signed Application Package -> Then Filled forms. (In forms, Validity years: 200, and all passwords are same.)
View 2 Replies
View Related
Jan 30, 2009
Now, I'm developing an Android app called "Echo". But 5 hours ago, My Dev phone haven't displayed MapView. First, I supposed that my API-key have been disabled. I tried to Maps API Key signup agian. But google server response error.
> Server Error > The server encountered a temporary error and could not complete your request.
> Please try again in 30 seconds.
View 4 Replies
View Related
Apr 19, 2010
I don't know how to create an custom Activity extending MapActivity and ListActivity ?
I am trying screen that contains of google map and list view.
How to make it?
View 1 Replies
View Related
Jul 20, 2010
I have a mapview where I want to track the user's current location. GPS as well as 'use wireless networks' is activated in my phone settings.
Nevertheless, since I'm indoor I don't get a GPS fix, therefore the location is determined via network; wifi spot is available.
I have the Google Maps app running as well as my application running.
Strangely, the current location differes between Google Maps and my application, where the Google Maps is very accurate while in my app the location is somehow off a few 100 meters.
In my application I basically do the following (for debugging purposes now):
1) initially place one marker on the map: geopoint retrieved via locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
2) initially place another marker on the map: geopoint retrieved via locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
This will put the last known locations of both providers onto the map (eventually last known from outside my app).
3) then for the regular updates (since I don't get a GPS fix anyway indoor here), I do:
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, baseLocationListener);
You can see for the frequency and distance I pass the 0 param in both cases.
In the app manifest, the following permissions are granted:
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_MOCK_LOCATION
Actually my baseLocationListener does get called, which I see in the log, but the updated location is somehow the same as the last known current position (of LocationManager.NETWORK_PROVIDER), same lat/lng.
I thought maybe I overlooked something or missed a parameter or setting, or my code has a bug. Therefore I installed some other (3 in total) LBS apps from the Android market that also show the current user's location. The current locations displayed in those apps are equals to the one in my application - and they're all some 100 meters off - but at least all the same.
See the screenshot here:
http://img33.imageshack.us/img33/8679/mapproblem.png
Now I am wondering:
1) as I understand, getLastKnowLocation is system-wide and not app-wide, why are there differences between the location in Google maps and all the other apps?
2) does Google Maps not update the lastKnownLocation of a provider?
3) does Google Maps use a different custom location provider (i.e. due to licensing reasons) other than GPS_PROVIDER or NETWORK_PROVIDER as they are in the SDK?
4) how do achieve the same accurate result with the NETWORK_PROVIDER like Google Maps does?
View 2 Replies
View Related
Jul 16, 2010
I had found a lot of stackoverflow post about save an Activity and the reload it.
My question: How can I have an Activity with an MapView and after reload the same mapview?
What is the best way to switch between activity and views?
View 2 Replies
View Related
Jul 20, 2010
It seems that the problem is in the data quality of the different map provider that are used for Google Maps and MapView in SDK, which differ.
The map tiles coordinates don't seem to be very accurate, just like in the public google maps web api / tiles.
See this screenshot for an example, where I pinned the same geo point. http://img339.imageshack.us/i/gmaps2.png/
The map using the public map api is off a few hundred meters. Seems that we just have to live with it.
CODE:................
View 2 Replies
View Related
Aug 1, 2010
I wonder, how can I draw a nice flight route between 2 points on a google map's MapView? look at this: http://maps.forum.nu/gm_flight_path.html
View 6 Replies
View Related
Sep 24, 2010
I want to create a mapview marker with 4 elements:
- picture (of user)
- background
- text (username)
- Arrow to show an direction
OverlayItem.setMarker() accept only a drawable.
How can I create an drawable with 4 Items? Or can i add an View as marker to overlayItem?
any ideas?
View 1 Replies
View Related
Oct 9, 2010
I am working on a MapView app in Android. I have three markers that I want to be able to use the Google Map API getlocation-function on, later on. In order to try it out I would like to move the marker with a drag and drop-function, and then check the location.
Anyone who has gotten a drag and drop to work on an android marker, or know a way to start figuring it out?
View 1 Replies
View Related
Oct 4, 2010
Current the Google map display US as default.
I want to display India as default on the map.
How can i do this?
View 1 Replies
View Related
Jun 6, 2009
I have an specific requirement to change default home page of Android Browser which is by deafult "google.com" Can any give an idea how to change it like when I click on browser it should come like "yahoo.com".
View 4 Replies
View Related
Nov 12, 2009
I have a home screen replacement app. It is set via the GUI to always be used as the home screen. How can I get that activity to start the original home screen on demand? Is there a published activity name for it? I want my replacement home screen to remain the default.
View 1 Replies
View Related
Mar 29, 2010
i am new to android development. I got an error when write the code "import com.google.android.maps.MapView; in eclipse. The error is "The import com.google can not be resolved."
View 2 Replies
View Related
Feb 16, 2010
Got some errors following the tutorial for MapView when i was going to integrate overlays.
CODE:..............
I am trying to learn and i got an awesome app idea which needs mapview, webview, overlays and tabs.
View 1 Replies
View Related
Nov 13, 2010
import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.view.ViewGroup;
import android.widget.*;
import com.google.android.maps.MapView;
public class MapView extends MapActivity{
/** Called when the activity is first created. */
LinearLayout linearLayout;
MapView mapView;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.map);
mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);
MapController mapController = mapView.getController();
}
}
View 2 Replies
View Related
Jan 12, 2010
I no longer have my Droid, and I'm trying to get GPS enabled Google search on my new pnone's browser. Is the URL for the Google "main page" something like:..........
View 2 Replies
View Related
Sep 27, 2010
I have 2.2 OTA on my DX and I have the Google Search widget on my home screen. If I do a voice search through that widget, the results come up in the stock browser. If I do a text search, the results come up in my default browser (Dolphin HD). How do I get voice results to open my default browser instead of the stock browser?
View 3 Replies
View Related
Jan 16, 2010
I set Dolphin as my default browser. If I use the Google search widget, it opens up the stock browser, then if I click a link, it opens the link in Dolphin. How can I make the search default to Dolphin? What is the pay version of Dolphin and is it worth it?
View 43 Replies
View Related
Feb 17, 2010
How to get MapView API in android?
View 2 Replies
View Related
Sep 20, 2010
I want to override the default android messaging application.
If I receive a sms or mms I want to send that to email but i don't want any notification on phone.
So basically I want to replace the default messaging application.
How can I make my application the default one that receive the sms?
View 2 Replies
View Related
Feb 1, 2010
I have a MapActivity that contains a MapView with some custom controls, state information, and an ItemizedOverlay composed by some locations that I draw using the default approach (using populate(), super.draw() and createItem()) and by some lines that I draw in the overrided draw() method.
So, when the activity is paused, I have to save:
Some state information
The ItemizedOverlay
[Maybe more Overlays in the future.]
I'm saving the state information as usual, putting them in the bundle. I'm thinking in doing the same with the Overlays, implementing Parcelablein each one of the OverlayItems and so, but I don't know if there is a better way to store the complete state of the MapViews.
The information depends on remote requests that I don't want to repeat each time the activity is paused. Any recommendation?
View 2 Replies
View Related
Mar 19, 2010
I working on map view. i want to put overlay item on the map view. that overlay items are all depends on currently showing map view and zoom level. how to get current map view's longitude and latitude of that four corner and how to analyze how many overlay item inside it. also we have to check thee zoom level.Any Idea? how to do it?
View 1 Replies
View Related