Re: [android-developers] MapView (Maps V2) not working

2014-09-23 Thread ram
refer this blog for maps v2 http://ramsandroid4all.blogspot.in/2013/03/google-maps-android-api-v2.html On 23 September 2014 17:36, saex wrote: > Welcome all > > The tiles of the map are not being updated, the only way to update them is > to block the device (onPause called) and to unblock the de

[android-developers] MapView (Maps V2) not working

2014-09-23 Thread saex
Welcome all The tiles of the map are not being updated, the only way to update them is to block the device (onPause called) and to unblock the device (onResume called). If i do that, the tiles become updated it is very strange i mean that if i move the finger doing zoom or moving the map,

Re: [android-developers] MapView + Multiple Markers + Pan/Zoom

2012-12-19 Thread Mark Murphy
Maps V1 didn't really have great support for that, and is now deprecated, anyway. Maps V2 allows you to associate an OnCameraChangeListener with a GoogleMap, to be informed when the camera changes position, tilt, or zoom. On Wed, Dec 19, 2012 at 5:54 PM, Filipe Batista wrote: > Hi, > > I have an

[android-developers] MapView + Multiple Markers + Pan/Zoom

2012-12-19 Thread Filipe Batista
Hi, I have an application that should load to a MapView several markers as soon the zoom changes ou the map center location changes. I have been looking into the documentation but i have not found any listener for the zoom changes ou pan. Is there any to do this? Thanks Best Regards -- You recei

[android-developers] MapView showing up blank with release api key.

2012-11-08 Thread Electric Shipwright
I have an app in which I recently integrated MapView, and It's been working with the debug keystore ever since i added the activity showing the MapView, so I thought the api key bit was easy enough. Upon signing with my release key, I find that the MapView shows only a grey grid. I read somewher

[android-developers] MapView Overlays move after returning from activity started from onTap

2012-09-23 Thread Na Yang
I have a MapView, with various markers on it. On entering the MapActivity the first time, I set the bounds of drawables set on the markers, and everything appears fine. The markers and shadows all appear correctly. But when I click over to another activity, and return, the shadows, or the marke

Re: [android-developers] MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread TreKing
On Mon, Aug 13, 2012 at 5:06 PM, Jason Hsu wrote: > Is there a way I can create an Android app that not only pulls up a map > but ALSO does an AUTOMATIC search for the grocery stores, gas stations, or > restaurants in my area? Where can I find a good tutorial that actually > works? There is no

Re: [android-developers] MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread Mark Murphy
On Mon, Aug 13, 2012 at 6:06 PM, Jason Hsu wrote: > Is there a way I can create an Android app that not only pulls up a map but > ALSO does an AUTOMATIC search for the grocery stores, gas stations, or > restaurants in my area? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | h

[android-developers] MapView search for nearest grocery stores, gas stations, restaurants, etc.

2012-08-13 Thread Jason Hsu
I've gone through the basic MapView tutorials that display a map and even overlays. Is there a way I can create an Android app that not only pulls up a map but ALSO does an AUTOMATIC search for the grocery stores, gas stations, or restaurants in my area? Where can I find a good tutorial that a

Re: [android-developers] MapView causes my app to crash

2012-07-23 Thread Mark Murphy
Use adb logcat, DDMS, or the LogCat view in Eclipse to examine LogCat and look at the stack trace associated with your crash. On Thu, Jul 19, 2012 at 7:15 PM, Lindsay Horst wrote: > I am developing and app and am trying to implement google maps as an > activity of one my buttons. However, wheneve

[android-developers] MapView causes my app to crash

2012-07-22 Thread Lindsay Horst
I am developing and app and am trying to implement google maps as an activity of one my buttons. However, whenever I run the app, it crashes. The following code works when certain lines are commented out. Without them, I can't see the area i wish to zoom in on. I think i've narrowed the issue d

Re: [android-developers] MapView - getMapCenter() not accurate?

2012-05-03 Thread Mark Murphy
On Wed, May 2, 2012 at 10:52 AM, Schurl wrote: > I'll try to break down my problem to a simple example. I tried to draw > a circle which stays exactly in the middle of the view. Step #1: Put the MapView in RelativeLayout Step #2: Put an ImageView as a later child in the RelativeLayout, set to an

[android-developers] MapView - getMapCenter() not accurate?

2012-05-02 Thread Schurl
Hi, I'll try to break down my problem to a simple example. I tried to draw a circle which stays exactly in the middle of the view. For this i used the following code in the draw method of my Overlay: GeoPoint mapCenter = mapView.getMapCenter(); Projection projection = mapVie

Re: [android-developers] MapView works on some devices and others it doesnt

2012-02-09 Thread Mark Murphy
The reasons why a MapView might not load tiles: -- you do not have the INTERNET permission -- you do not have an Internet connection -- you have not used the correct Maps API key to go with the signing key you used to sign the APK On Thu, Feb 9, 2012 at 2:55 AM, Jim Andresakis wrote: > When Im d

[android-developers] MapView works on some devices and others it doesnt

2012-02-08 Thread Jim Andresakis
When Im developing I noticed that occasionally the mapview will not load tiles. Im using the debug key and I have about 12 different devices that I test on including tablets. The mapview usually doesnt load on the tmobile mytouch3g which is older hardware at this point and Ive never had any complai

Re: [android-developers] Mapview adding point

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 3:38 AM, Duygu Kahraman wrote: > İ dont want to see > http://codemagician.files.wordpress.com/2010/05/end-result-2.jpg?w=630 > Then don't show the dialog ... - TreKing

[android-developers] Mapview adding point

2012-01-05 Thread Duygu Kahraman
Hi All; I am working on google maps. I am using this http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/ . my problem is i dont want to see screen gettin dark when i add point. İ dont want to see http://codemagician.files.wordpress.com/2010/05/end-result-2.j

[android-developers] Mapview adding point

2012-01-05 Thread Duygu Kahraman
Hi All; I am working on google maps. I am using this http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/ . my problem is i dont want to see screen gettin dark when i add point. İ dont want to see http://codemagician.files.wordpress.com/2010/05/end-result-2.j

[android-developers] MapView, Overlay's, TextView too many onDraw

2012-01-04 Thread Wubbester
I have a mapview in RelativeLayout defined in main.xml, that also includes another layout as a viewstub to display status message to the users. I set the visibility of the status bar to 'gone' when I inflate the stub. Thereafter any new message (put on the status bar by a thread/async task) will se

[android-developers] MapView. is very slow

2011-12-18 Thread DoubleCheese
Hi, I've beeon doing some profiling to try and speed up our application and noticed that the MapView. call takes around 4 secs to load. Using method tracing, i found that it spends 55% of this time in the MPView. and 45% in the com/google/android/maps/InternalR $attr.. Is there any way to speed t

Re: [android-developers] mapview

2011-11-10 Thread Kostya Vasilyev
You can find MapController here: http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapController.html ( sshh, please don't tell anyone I told

Re: [android-developers] mapview

2011-11-10 Thread Omollo Ateng
plis give me a full code for that controller and where to use the variable map thank you On Thu, Nov 10, 2011 at 5:25 PM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > Hey Omollo, it seems you haven't taken MapController. > > MapController map = mapView.getController(); > > Try this, I

Re: [android-developers] mapview

2011-11-10 Thread Narendra Singh Rathore
Hey Omollo, it seems you haven't taken MapController. MapController map = mapView.getController(); Try this, I hope you will succeed. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@

[android-developers] mapview

2011-11-10 Thread Omollo Ateng
hi all, i have developed a map view as explained here http://developer.android.com/resources/tutorials/views/hello-mapview.html, but always when i run the application, it crashes, it does not even show the grey lines, please help me here *main.xml* http://schemas.android.com/apk/res/android";

Re: [android-developers] MapView rendering with tiles missing with an “x” in the center

2011-09-20 Thread TreKing
On Mon, Sep 19, 2011 at 8:46 PM, tampacoder wrote: > Was there a recent update to the Google maps that could have cause this? > I don't know but it's certainly possible. This seemed to happen once before where they apparently had some server issue and many of us noticed a lack of map tiles on ma

[android-developers] MapView rendering with tiles missing with an “x” in the center

2011-09-20 Thread tampacoder
I posted this over at Stackoverflow; but wanted to reach out to the developers on this group to see if you can make any suggestions as to what could be wrong. Here is what I am seeing in my MapView: http://dl.dropbox.com/u/6780004/mapview_tiles.png I'm not doing anything complicated. It just a p

Re: [android-developers] MapView OverlayItem

2011-08-31 Thread TreKing
On Wed, Aug 31, 2011 at 12:56 AM, Stefan S wrote: > So han can I listen to the onTap Event in the MapActivity-Class? Create your own callback. - TreKing

[android-developers] MapView OverlayItem

2011-08-30 Thread Stefan S
Hi I've got the following problem: I've implemented a mapView with some different OverlayItems on the Map. I also can react on the onTap(int) event in my Class which extends from ItemizedOverlay. I can send some Toast messages and so on. But what i want to do is to get the selected Index from the

[android-developers] MapView in Fragment using compat library

2011-08-30 Thread Watcher
Some months back, someone posted a hack to the compatibility library to get a MapView to display in a fragment (see posts by @Streets of Boston): http://groups.google.com/group/android-developers/browse_frm/thread/b705bbd72d28d000/df84933c3a460c71?pli=1 Indeed this does display the mapview in the

Re: [android-developers] MapView

2011-08-29 Thread Robert Thau
The most common cause of this sort of misbehavior is forgetting to request internet access permission in the Android manifest (without which the MapView's background threads don't have permission to fetch the tiles). On Tue, Aug 30, 2011 at 12:31 AM, bob wrote: > I'm working with maps for the fi

[android-developers] MapView

2011-08-29 Thread bob
I'm working with maps for the first time, but all I get is this grid: http://i1190.photobucket.com/albums/z449/m75214/blankgrid.png Any ideas? Here's my code: import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; impor

Re: [android-developers] MapView Tiles not loading on my device, they are in my emulator

2011-08-04 Thread TreKing
On Thu, Aug 4, 2011 at 11:40 AM, Tonez wrote: > Can anyone shed some light as to what it is that I'm missing to get the > mapView tiles to load on my device for testing? > If you are still debugging ("debuggable = true") then that should work. If you switched to release mode, you now need a sepa

[android-developers] MapView Tiles not loading on my device, they are in my emulator

2011-08-04 Thread Tonez
Hi Everyone, I'm currently building an app which utilizes the mapView component - I've gotten to the point where I need to test on an actual device but unfortunately the mapView tiles won't load. Steps I took to get to this point are as follows: I followed the instruction on the 'Obtaining a Map

[android-developers] MapView get map bounds issue

2011-08-04 Thread pavel
Hello. I have a problem with MapView and getting bounds of visible map area (in geographical units). I am aware that I have to get this value when map is drawn, I am reading them in a different thread, after map is drawn. The problem is that at certain zoom point and map position, getLatitudeSpan

[android-developers] MapView NullPointerException / Black MapView in Fragment on Android 3.0

2011-07-14 Thread p.sturm
Unfortunately, I can't attach source code, but I will try to describe the problem. I created a Fragment containing an instance of a class extending MapView. The instance of this class is instantiated programmatically, the constructor of the custom MapView calls the MapView(Context c, String apiKey)

Re: [android-developers] MapView and terms of service

2011-07-07 Thread Mark Murphy
This is a fine question to ask your attorney. On Thu, Jul 7, 2011 at 4:18 AM, Fina Perez wrote: > Hi all! > > I use the Google API in my app and I have a question about the logo on > the map. I don't modify it when I display the map, but If I display > the route between two points, I paint two bu

[android-developers] MapView and terms of service

2011-07-07 Thread Fina Perez
Hi all! I use the Google API in my app and I have a question about the logo on the map. I don't modify it when I display the map, but If I display the route between two points, I paint two buttons onto the map. One of this buttons is drawn over the logo (left corner on the bottom of the screen) an

Re: [android-developers] MapView Overlay problem

2011-06-30 Thread TreKing
On Thu, Jun 30, 2011 at 4:46 PM, Felix Garcia Lainez < fgarcialai...@gmail.com> wrote: > On this method i iterate over an array of GeoPoints and using a canvas y > connect all points. > What's your actual code? > It works fine more or less, but i am having issues when drawing long routes > with

[android-developers] MapView Overlay problem

2011-06-30 Thread Felix Garcia Lainez
Hello, The case is that i want to show a route on a MapView. Something simple at first sight, simply i created a class that extends overlay and implement draw method. On this method i iterate over an array of GeoPoints and using a canvas y connect all points. It works fine more or less, but i am h

Re: [android-developers] Mapview can not be resolved to a type

2011-06-23 Thread Samson Akisanya
Check ur android properties of your project...it should be set to Google api not 2.2 etc On 23 Jun 2011 23:43, "juhi paunikar" wrote: > Hi, > i tried the project which is given belows link: > http://developer.android.com/resources/tutorials/views/hello-mapview.html > > i am getting error as given

Re: [android-developers] Mapview can not be resolved to a type

2011-06-23 Thread Mark Murphy
Change your build target to one that has Google Maps. In Eclipse, this is in the Android portion of project properties. For command-line builds, this is in default.properties. On Thu, Jun 23, 2011 at 8:18 AM, juhi paunikar wrote: > Hi, > i tried the project which is given belows link: > http://de

[android-developers] Mapview can not be resolved to a type

2011-06-23 Thread juhi paunikar
Hi, i tried the project which is given belows link: http://developer.android.com/resources/tutorials/views/hello-mapview.html i am getting error as given below: Mapview can not be resolved to a type. Can anybody give me suggestion to solve this problem??? -- You received this message because yo

[android-developers] Mapview im Tab --> import com.google.* gehen nicht

2011-06-20 Thread Mathias Dorn
Hi, habe eine App, mit ner Tab-View MainActivity mit 2 Tab´s, die auf mapActivity und logActivity verweisen jetzt ist das problem ist jetzt nur, das die mapactivity (ganz simple mapview) die googleApi nicht "kennt" da ich die MapActivity einzeln schon getestet habe, weiß ich das die auch läuft ich

[android-developers] MapView not working

2011-06-17 Thread Xanthanov
Your Activity class has to extend MapActivity. You have to override the abstract method isRouteDisplayed() to just return false (or true if your app actually displays routes). ~Xan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] MapView - infowindow

2011-04-13 Thread TreKing
On Tue, Apr 12, 2011 at 3:49 PM, Richard Sámela wrote: > please give me some advice or link me to some tutorial. Google "Android Map Tutorial" - TreKing

[android-developers] MapView - infowindow

2011-04-12 Thread Richard Sámela
Hallo, pls give me some advice how can I implement some infowindow do MapView in my app. I think something like this: [img]http://feromakovi.tym.sk/infowindow.png[/img] or original infowindow, the same as is used in google maps app, in which is for example my name. please give me some advice or lin

Re: [android-developers] MapView

2011-04-03 Thread Mark Murphy
Use a LinearLayout as the container for the map and the TableLayout. Give the map a height of 0 and a weight of 1. Give the table whatever height makes sense and no weight. Or, use a RelativeLayout as the container for the map and the TableLayout. Anchor the TableLayout to the right/left/bottom. A

[android-developers] MapView

2011-04-03 Thread Daniel Rindt
Hello, i would build a layout where i can have on top a google map on the bottom should appear a table layout with some content and a button. How to implement such a layout, i tried it a couple of hours now, and my summary is that the map is all the time over the entire screen. I can set the heigh

[android-developers] Mapview not touchable

2011-03-30 Thread Shreesh
Hi, I seem to have run into a problem with the mapview not pick touchable if setZoomControl(true) is used. The issue seems to be that anytime this is switched on the mapview is not touchable. And this seems to be a one time thing - anytime this zoom is switched on and even if it is switched off la

[android-developers] Mapview ArrayIndexOutOfBoundsException in java.util.Vector.elementAt

2011-03-13 Thread Ricky
I really need some help. I have a report of a force close with this stack trace, and I cant find any information on how to prevent this type of error. java.util.Vector.elementAt(Vector.java:331) com.google.googlenav.map.Map.drawTile(Unknown Source) com.google.googlenav.map.Map.drawMapBackground(U

[android-developers] MapView and large number of Overlay

2011-03-07 Thread Dani
Hi, I have a problem displaying on a MapView a large number of Overlays. I have to draw many route paths on the map: I tried to extend Overlay class but the method draw() is calling very often and it makes rendering too slow. So I tried to create a bitmap to append over the map as a OverlayItem lay

[android-developers] MapView out of memory exception workaround

2011-02-23 Thread Ravi
Map view has a memory leak which was discussed in this thread : http://code.google.com/p/android/issues/detail?id=2181 . Has it be resolved? Else is there any other workaround for the same? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

答复: [android-developers] MapView in android emul ator white screen

2010-10-22 Thread goodwin
-developers] MapView in android emulator white screen Hi Android Developers, I tried to use map view to load google map, i have generated the keystore, and put in the mapview, below is my MapView, and also I have changed the Custom debug keystore equal to default debug keystore but still showing me a empty

Re: [android-developers] MapView in android emulator white screen

2010-10-21 Thread Mark Murphy
Test the Maps application on the emulator. If that fails, you have a problem accessing the maps server. If that works, then check LogCat for error messages (use adb logcat, DDMS, or the DDMS perspective in Eclipse). On Tue, Oct 19, 2010 at 1:04 PM, jamz_mar...@yahoo.co.jp wrote: > Hi Android Deve

[android-developers] MapView in android emulator white screen

2010-10-21 Thread jamz_mar...@yahoo.co.jp
Hi Android Developers, I tried to use map view to load google map, i have generated the keystore, and put in the mapview, below is my MapView, and also I have changed the Custom debug keystore equal to default debug keystore but still showing me a empty screen. please advise which on i am wrong. I

Re: [android-developers] MapView In Android

2010-10-06 Thread TreKing
On Tue, Sep 28, 2010 at 6:31 AM, aneesh Kamalone wrote: > How to solve it . If needs i will put the code also. That stack trace with the full error and the relevant parts of the code would indeed help. -

[android-developers] MapView In Android

2010-10-06 Thread aneesh Kamalone
Hai, I am Using a MapView in my application and showing the map according to the longitude and latitude getting by the other part of the application. The logintude and latitude may change according to the user input. The First time map showing correctly but from the second time onwards it shows "a

RE: [android-developers] MapView Points of Interest

2010-09-03 Thread Tommy
riday, September 03, 2010 10:39 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] MapView Points of Interest On Fri, Sep 3, 2010 at 10:32 AM, Tommy wrote: > Is there a way to display points of interest like gas stations, > hospitals etc using google maps? For the And

Re: [android-developers] MapView Points of Interest

2010-09-03 Thread Mark Murphy
On Fri, Sep 3, 2010 at 10:32 AM, Tommy wrote: > Is there a way to display points of interest like gas stations, > hospitals etc using google maps? For the Android Google Maps, there is no overlay available to developers to add those items to a map. If you know where they are, you could create you

[android-developers] MapView Points of Interest

2010-09-03 Thread Tommy
Hi everyone, Is there a way to display points of interest like gas stations, hospitals etc using google maps? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsub

Re: [android-developers] MapView + Image Overlay question

2010-08-29 Thread Frank Weiss
A simple solution: prevent zoom. Crummy solution: scale the images. Best solution: prescaled images on server, if possible. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] MapView + Image Overlay question

2010-08-29 Thread Tommy
Hi everyone, I currently have a mapview and I want to overlay radar images from the NWS ontop of my mapview. Just like weatherbug does or the weatherchannel. My problem is I can't seem to figure out how to make the image I get lay ontop of the "box" the image is suppose to cover. The images are 60

Re: [android-developers] MapView + LocationManager Question

2010-08-26 Thread Sebastián Treu
On Tue, Aug 10, 2010 at 9:31 PM, TreKing wrote: > On Tue, Aug 10, 2010 at 4:40 PM, Tommy wrote: >> >> So if I were to set requestLocationUpdates(String provider, 6, 0, >> LocationListener listener, Looper looper) it would be the same on the batter >> as if I were to set a timer for every 1 mi

[android-developers] MapView singleton issue

2010-08-24 Thread SImplyG2010
Hey All, Has anyone soon an issue with using two different sized map view on two screens? I am getting a problem as follows. 1) Add a full screen map to a Activity with an overlay. 2) On tap for the overlay item start a new activity with a small mapview say 1/3 of the screen. Zoom the mapview in

RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
be used will probably turn out to be the most efficent way though. From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of TreKing Sent: Tuesday, August 10, 2010 8:31 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] MapView

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 4:40 PM, Tommy wrote: > So if I were to set requestLocationUpdates(String provider, 6, 0, > LocationListener listener, Looper looper) it would be the same on the batter > as if I were to set a timer for every 1 minute or whatever to call up the > GPS again? Yes, or b

RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
6:17 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] MapView + LocationManager Question It may also be good practice to give the user the option to turn GPS off for your application. That is, when the option is off, your application removes location updates. The idea

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Frank Weiss
It may also be good practice to give the user the option to turn GPS off for your application. That is, when the option is off, your application removes location updates. The idea is that the user can still use your application, but can control the battery usage. Of course, in this case, the user

RE: RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
the Android Forums comes through with shining colors. From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: Tuesday, August 10, 2010 5:50 PM To: android-developers@googlegroups.com Subject: Re: RE: [android-developers] MapView

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Costantinos Costa
Friend Tommy, I understand that your goal is to reduce energy consuption by reduce GPS connection needed energy . I believe and i did a little search about this that if you have a connection with the satellite and just don't transfer any data the energy consumption is smaller than turn off and tur

RE: RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
st 10, 2010 5:50 PM To: android-developers@googlegroups.com Subject: Re: RE: [android-developers] MapView + LocationManager Question I wonder if this is a threading issue. Your code uses Timer to schedule the next time you request a location update. I believe it's a Java SDK class, and can i

Re: RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Kostya Vasilyev
[mailto: android-develop...@googlegroups.com] *On Behalf Of *Costantinos Costa *Sent:* Tuesday, August 10, 2010 5:31 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] MapView + LocationManager... Dear Tommy, The function requestLocationUpdates is offering the ut

RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
t: Re: [android-developers] MapView + LocationManager Question Dear Tommy, The function requestLocationUpdates is offering the utility to set the interval time for gps to collect a location requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, L

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread TreKing
> > On Tue, Aug 10, 2010 at 4:13 PM, Tommy wrote: > >> Is this something that I can't do in a MapView? >> > Sorry - I misread this, I think. You can certainly get GPS updates for a MapView (specifically a MapActivity). But it's not a function of the MapView itself, is what I mean. On Tue, Aug 10,

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Mark Murphy
On Tue, Aug 10, 2010 at 5:27 PM, Tommy wrote: > Ok, but when I do RequestLocationUpdates with a 5 minute or 1 mile parameter > the GPS signal stays on all the time(or at least the image stays up in the > task bar, and it kills my battery). it only turns off when I call the > RemoveUpdates Correct

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Costantinos Costa
Dear Tommy, The function requestLocationUpdates is offering the utility to set the interval time for gps to collect a location requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, Looper looper) You can see more details at: http://developer.android.

RE: [android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
-develop...@googlegroups.com] On Behalf Of TreKing Sent: Tuesday, August 10, 2010 5:20 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] MapView + LocationManager Question On Tue, Aug 10, 2010 at 4:13 PM, Tommy wrote: Is this something that I can't do in a Ma

Re: [android-developers] MapView + LocationManager Question

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 4:13 PM, Tommy wrote: > Is this something that I can't do in a MapView? > No. MapView is to view a map. It has no concept of GPS in and of itself. > Does the GPS have to be on all the time in order to work? > No. That's precisely what the parameters to requesetLocation

[android-developers] MapView + LocationManager Question

2010-08-10 Thread Tommy
Hi everyone, I am currently working with the MapView. When the MapView is loaded I request a GPS fix, when I get the GPS fix I plot it on the MapView. After that I set a timer for 1 minute. When the timer Ticks I tell it to get my GPS location again and plot it but for some reason locationManager.

Re: [android-developers] Mapview in tabhost

2010-07-26 Thread TreKing
On Sat, Jul 24, 2010 at 11:37 AM, BEARbear wrote: > I recently want to put mapview in tabhost > Haven't used tabs, but I can tell you that you need a MapActivity for MapView to work. So you will probably have to add a MapActivity to the tabs, which I think supports multiple Activities.

[android-developers] Mapview in tabhost

2010-07-26 Thread BEARbear
Hello~ I recently want to put mapview in tabhost but now is the question i can't figure out how to do this right! here's my source code: TM.java -- public class TM extends Activity { /** Called when the a

Re: [android-developers] MapView getLatitudeSpan

2010-06-29 Thread Brad Gies
It's saving about 2-3 seconds on loading the Mapview... and considering I only spent about 4 hours figuring out the formula and implementing it... YES.. it's WELL worth the effort. On 29/06/2010 1:29 PM, TreKing wrote: On Fri, Jun 25, 2010 at 1:49 PM, Brad Gies > wrote

Re: [android-developers] MapView getLatitudeSpan

2010-06-29 Thread TreKing
On Fri, Jun 25, 2010 at 1:49 PM, Brad Gies wrote: > I want them as soon as possible to enhance the user experience. > How much time are you saving by not waiting for the mapview? Is it really worth the trouble you're going through? ---

[android-developers] Mapview ConcurrentModification Exception

2010-06-28 Thread Necroline
Hello everyone, As the title suggest i have (sometimes) a concurrentmodificationexception while trying to create a route between two locations ... Here is my code (and in case you're wondering MyOverlay does not try to access the other Overlays in the map) private class fillRouteTask extends

Re: [android-developers] MapView getLatitudeSpan

2010-06-25 Thread Brad Gies
That's true... I am trying to get them before the map is ready. I need them to call a webservice that downloads the info needed to display the points on the map when it is ready, and I want them as soon as possible to enhance the user experience. When the map is ready a function is called to pl

Re: [android-developers] MapView getLatitudeSpan

2010-06-25 Thread Pedro Teixeira
PS: Using this to get the display size Display display = getWindowManager().getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight(); On Jun 25, 2010, at 7:27 PM, Frank Weiss wrote: If it returns zero, then either it's a bug or a race condition (you're calling get

Re: [android-developers] MapView getLatitudeSpan

2010-06-25 Thread TreKing
On Fri, Jun 25, 2010 at 1:15 PM, Brad Gies wrote: > Has anyone figured out how to duplicate the getLatitudeSpan results when it > returns zero? When does it return 0? - TreKing - Chicago transit tra

Re: [android-developers] MapView getLatitudeSpan

2010-06-25 Thread Frank Weiss
If it returns zero, then either it's a bug or a race condition (you're calling getLatitudeSpan() before the map view is ready). I recommend to verify those possibilities before applying a work around. -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] MapView getLatitudeSpan

2010-06-25 Thread Brad Gies
Has anyone figured out how to duplicate the getLatitudeSpan results when it returns zero? My assumption is that I can figure out a formula to get the equivalent result to getLatitudeSpan (and longitude), by testing it for zero, and if it's zero, use a formula based on mapView.getMapCenter()

Re: [android-developers] MapView displays pages different than launching via ACTION_VIEW

2010-06-09 Thread paulb
Hello Anthony, I am not quite sure if this is what you want, but try: myWebView.getSettings().setUseWideViewPort(true); On Sat, Jun 5, 2010 at 2:50 PM, Anthony Stevens wrote: > Help...! > > My web page displays properly if loaded into a WebView via an ACTION_VIEW > Intent.  However I need

Re: [android-developers] MapView Overlay Location Way Off

2010-05-28 Thread TreKing
On Thu, May 27, 2010 at 12:36 PM, jtkendall wrote: > I'm not sure if I'm just calling something too early/late, or if > I'm missing something completely. > Just took a cursory glance and your code looks fine - my guess is your data is bad. Double check the values - are you sure they are what you

[android-developers] MapView Overlay Location Way Off

2010-05-27 Thread jtkendall
Hi, I'm new to the Android platform (and Java) and I'm trying to get MapView to show my overlays as well as my current (hardcoded for the emulator) location. It shows the current location correctly; the second location that it's supposed to show is just down the street from the current location (a

[android-developers] MapView crushes in satellite mode if android:anydensity is set true

2010-05-21 Thread Vincent
Hi, On Android 1.6 WVGA device, a map view in satellite mode crushes when the map zoom-in too much if I specify android:anyDensity="true" in the manifest file. But, if I set android:anyDensity="false", then the map does not crush. I want my app to support a multiple densities and also do not want

Re: [android-developers] MapView Marker and Parameter

2010-05-11 Thread TreKing
On Mon, May 10, 2010 at 11:39 PM, Ning wrote: > Is there API to draw the blue flashing circle at arbitrary location same as > the one provided by MyLocationOverlay in Google Map API? > Yes, the Canvas object passed to your draw function. > And is it possible to draw a parameter around the dot

[android-developers] MapView Marker and Parameter

2010-05-10 Thread Ning
Hi, Is there API to draw the blue flashing circle at arbitrary location same as the one provided by MyLocationOverlay in Google Map API? And is it possible to draw a parameter around the dot given a radius, like "my location" in Google Map? Thanks. -- You received this message because you are s

Re: [android-developers] mapview on the top part of the screen ?

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 7:14 PM, jgan wrote: > Does anyone know how to put mapview on the top part of the screen? > > The map always occupies the whole screen and squeezes out the views > below. > Try setting the height to 0 and weight to 1. Then it should occupy all the space leftover from the o

[android-developers] mapview on the top part of the screen ?

2010-05-07 Thread jgan
Hi Does anyone know how to put mapview on the top part of the screen? The map always occupies the whole screen and squeezes out the views below. The explicitly specified height and width does not help either. com.google.android.maps.MapView android:id="@+

[android-developers] MapView does not work in HTC Hero

2010-04-30 Thread Reiny Song
Hello, I have a MapView (in MapActivity), and it works in my simulator. The google map and the overlay I made are showed in simulator screen After installing in HTC Hero, the overlay is showed in phone screen, but google map is not showed in phone screen. I have no idea about the reason. coul

[android-developers] MapView with rounded corners???

2010-04-13 Thread nalitzis
Hi everybody, my question is really simpe: is it possible to define a MapView with rounded corners? I know the way to create a(custom) view with rounded corners: in its xml file I just set the background property of ist enclosing layout to point to another xml file, where I define a rounded rectan

[android-developers] MapView map elements size (e.g. street labels)

2010-03-27 Thread JP
Comparing a MapView as used in an app through Google Maps API against the Google Maps app, I found that the granularity of all elements, most visibly, street labels, in Google Maps is bigger than the street labels in MapView. This is on a Nexus One, presumably other devices show a similar behavior.

  1   2   >