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

2012-08-13 Thread TreKing
On Mon, Aug 13, 2012 at 10:55 PM, Jason Hsu wrote: > Would a script in HTML5 be able to provide the automatic Google Map search > capability that I'm seeking? I have no idea. HTML5 has nothing to do with Android or this list. I'm not really sure how you expect this functionality to be "automati

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

2012-08-13 Thread TreKing
On Mon, Aug 13, 2012 at 5:26 PM, Jason Hsu wrote: > If there isn't a function that pulls up Google maps and automatically does > a search, then how do apps like Meijer > Find-itand > Liquor > Run > Mobile

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

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 8:05 PM, lbendlin wrote: > @Mark: That doesn't mean much any more as the Google Maps app is now totally > un-coupled from the API (the app uses vector data, the API raster tiles). Ah, good point. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/co

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

2012-02-09 Thread lbendlin
@Mark: That doesn't mean much any more as the Google Maps app is now totally un-coupled from the API (the app uses vector data, the API raster tiles). I have a MyTouch3G too in my device zoo, and haven't seen such behaviour. You may see some kind of error message in the logcat. Can your partner

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

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 6:27 PM, Jim Andresakis wrote: > Is it possible that there is a limit on the number of devices > that would have access to the maptiles when using a development apk > that was exported rather than pushed on to the phone via eclipse? Not that I am aware of. Make sure the oth

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

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 4:33 PM, Daniel Rindt wrote: > And a reason could be when the google api's not on the device are present. The app shouldn't install in that case. Or, if they have android:required="false" for the , the app would crash when trying to launch the MapActivity. -- Mark Murphy

Re: [android-developers] Re: MapView OverlayItem

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 3:20 AM, Stefan S wrote: > And how should I do that? Google "Java listener pattern" and see what you find. The platform itself uses this pattern extensively so you've likely already seen it (ex: ClickListener).

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

2011-08-05 Thread TreKing
Glad you sorted it out ... to answer the last few questions: On Fri, Aug 5, 2011 at 4:15 AM, Tonez wrote: > Is it even possible to debug the map view on a device using a debug api > key? > Yup. > Just so I understand your last comment about release mode: in order to > switch to release mode,

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:26 PM, JP wrote: > As a side note, I never bothered to check, I'm sure this problem has > a record in some issues database already, where you could push a button or > star. > As a matter of fact ... http://code.google.com/p/android/issues/detail?id=3405&q=map%20view%20o

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 11:29 AM, Felix Garcia Lainez < fgarcialai...@gmail.com> wrote: > I have improved the responsiveness using some of MyTrack approaches, > but i am still getting this exception, simply doing zoom in and zoom > out sometimes > I doubt there's much you can do about that - t

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread Kostya Vasilyev
TraceView and dmtracedump: http://developer.android.com/guide/developing/debugging/debugging-tracing.html 01.07.2011 19:26, TreKing ?: How should i profile this case? Really as i said there is not any strange thing on the code... Simply a map with an overlay... No idea. Look at t

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 4:00 AM, Felix Garcia Lainez wrote: > So you are doing something similar to my draw method? > Yup - nearly identical. What I don't do is use anti-aliasing (unless it's on be default, I don't know) or alpha. I also only use moveTo() once (first point) and then lineTo() ther

Re: [android-developers] Re: MapView Overlay problem

2011-06-30 Thread TreKing
On Thu, Jun 30, 2011 at 5:47 PM, Felix Garcia Lainez < fgarcialai...@gmail.com> wrote: > About the size with 300 or 400 GeoPoints i am already having problems... > The method isOnePointVisible is an optimization i did in order to try to > improve performance (seems to work fine). > So I have a ve

Re: [android-developers] Re: MapView

2011-04-03 Thread TreKing
On Sun, Apr 3, 2011 at 1:53 PM, Daniel Rindt wrote: > I followed your suggestions, but the table and the button is not visible. > You didn't really follow Mark's suggestions completely. Reread his post. > The map uses the entire screen again. > Well you told it to. height=fill_parent means "ta

Re: [android-developers] Re: MapView

2011-04-03 Thread Kostya Vasilyev
That layout file mixes metaphors: it has layout_weight, a LinearLayout option, inside a RelativeLayout. It needs to be one or the other. 03.04.2011 22:23 пользователь "Mark Murphy" написал: -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T

Re: [android-developers] Re: MapView

2011-04-03 Thread Mark Murphy
On Sun, Apr 3, 2011 at 2:14 PM, Daniel Rindt wrote: > On 3 Apr., 19:01, Mark Murphy wrote: >> 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. > This is unfortunately

RE: [android-developers] Re: MapView Points of Interest

2010-09-03 Thread Tommy
well I have figured out a way to do what I want and I figured I would share it with everyone. You can call up google AJAX search api like so http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=Palm%20Springs %20CA (among other variations) Take a look at http://code.google.com/intl/it/apis

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

2010-08-29 Thread Tommy
Hm ok well that's a bummer. I guess I'll have to re-think a way to do what needs to be done. Thanks to all for the input/advice -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Maps.Huge.Info (Maps API Guru) Sent: Sunday

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

2010-05-05 Thread Reiny Song
Dear Albion and Turchenko, Thank you for your recommand, and the mapview works well after changing the api-key. Reiny 2010/5/4 Paul Turchenko > Make sure you use different mapApi keys for emulator and real device > because it seems that you've obtained certificatie for debug keystore > only.

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

2010-05-03 Thread Reiny Song
thank you for your reply, I am sure that I exported the signed application. I have checked the application with the jarsigner in command line (Windows XP), and the result is "jar verified" I have no idea about my problem so far... 2010/5/1 javame_android > Hi, > > Did you signed your appli

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: > hmm, this is very sad > > I have potentially more than 1000 markers positioned worldwide that > are fetched via network. I can't load all these at once in onCreate.. Do two network calls. One fetches a small number of markers in the vicinity of wherever you are having the map start.

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: > How do I know when zoom has changed? Again, there is no good way to do this. A lousy approach that should work indefinitely is to poll the MapView, calling getZoomLevel(), and watch for changes. However, polling is inefficient. A lousy approach that will probably break between Andr

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: > What's the recommended event for when map center and lat/long spans > changes? There is no "recommended event" for those, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version

Re: [android-developers] Re: MapView

2010-02-23 Thread Fabian Sturm
Hi, Am Dienstag, den 23.02.2010, 07:49 -0800 schrieb Aamir Yaseen: > Hi everyone, > I was able to solve this issue, so thought better update everyone, > this might help others. do you use the focus state to change the icon in your statelistdrawable? I do this and it works but I can't "focus, unfo

Re: [android-developers] Re: MapView draw Overlays

2010-02-15 Thread TreKing
On Mon, Feb 15, 2010 at 11:35 AM, Stefan wrote: > So how can i detect, if the map has a new Map center for > example? > You could save the map center location and check in the draw method to see if it's changed since the last time. There's probably a better way, but there's one idea. > Another

Re: [android-developers] Re: MapView

2010-02-10 Thread TreKing
On Wed, Feb 10, 2010 at 11:21 AM, Aamir Yaseen wrote: > what do you suggest in this case? I haven't done anything with StateListDrawable or the states in the overlay item so unfortunately I'm out of ideas for you. Sorry. --

Re: [android-developers] Re: MapView

2010-02-10 Thread TreKing
On Wed, Feb 10, 2010 at 7:05 AM, Aamir Yaseen wrote: > >>when the focus changes and can update your overlays as necessary. > that's my question, how can I update/change icon of my overlay item? > > any idea? OverlayItem has a setMarker() function that allows you to set the Drawable being use for

Re: [android-developers] Re: MapView

2010-02-09 Thread TreKing
On Tue, Feb 9, 2010 at 11:07 AM, Aamir Yaseen wrote: > We are displaying multiple events/venues on map (just like search on > google map for pizza) and we want to change icon of any event/venue > when user navigate through next/previous buttons. I am using > StateListDrawable to draw these icons,

Re: [android-developers] Re: MapView Overlay problem

2010-01-08 Thread TreKing
I'm still a bit confused on what you're doing, but I would suggest: 1 - Subclass ItemizedOverlay instead of Overlay to manage a collection of similar items at once. It maintains a list OverlayItems that represent each unique point on the map. In your case these would be the Track points you have.

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
OK, well your main problem is that while you implemented the Parcelable class, you didn't implement the writeToParcel method or the constructor that takes a Parcel. That's the key. You need to implement the first method to save all you state information (i.e., your member variables) to the Parcel

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
I'm sorry, but I'm not really following or understanding what you're doing. Could you clarify or post some sample code? - TreKing - Chicago transit tracking app for Android-powered devices http://sites.

Re: [android-developers] Re: MapView Overlay problem

2010-01-05 Thread TreKing
> > Couldn't figure a way to save my overlay class to bundle Have your Overlay class implement the Parceable interface, which you can then save to / restore from a Bundle. - TreKing - Chicago transit