Say I have mapview control in my Android app. If I know a landmark exists at a certain latitude and longitude, how can I determine if that landmark is currently viewable on the user's screen? Is there a method for getting the coordinates for the top left and bottom right corners of the visible area?
Trying to solve my current problem of drawing an image on an Android MapView and then animate it to represent a moving object, I decided to try to just draw a raw ImageView at a GeoPoint on the map and then try and animate it from there.
This is the code I put in my map activity (extends MapActivity)'s onCreate method:
Again, I'm just trying to draw the static icon and animate it from there. I can already do this with an ItemizedOverlay, but as far as I can tell, I can't animate the elements of an AnimatedOverlay the way that I can animate a view. Thus, using ImageView.
i need to apply translate animation from one geo point to another geopoint with some duration.when i doing this, the map is animating but getting white space in some part of the screen where the animation occurs.I think this is because of clipping of the map before animation occurs. During animation is running the entire mobile screen is covered with map is required.
I am trying to pass location data from my application to the Google Navigation API (No, not the browser). I can pass data to the dialer, and call a phone number successfully, but now wish to use the turn-by-turn navigation as an additional function. I have searched tirelessly through Android documentation, Google Maps API Documentation, and the web without luck.Can anyone point me in the right direction or hint how I can pass the service my data?
I ask because I began using My Tracks a couple of weeks ago...very cool. I logged onto Google Maps from my office and there were the "tracks" I had saved. I never took action to upload them, they were just there I suppose as a function of allowing Google to sync. BUT I created and saved a map on the PC expecting to be able to see it on my phone, but it didn't happen.
Just want to make sure I'm not missing something because I'm having trouble making this work for some reason. If I use a map, do I need to setup the LocationManager and GPS criteria and all?
I just need a map to paint on. I'm building an activity that displays location data collected and stored in SQLite...basically showing the user where they were (it's more complicated than that, but that is the essence). I can do this without needing to start up the whole GPS thing right?
I'm going to be visiting London in April. Presently I'm planning on buying a UK sim card for my MyTouch 3G to use while I'm there.
However, I think my biggest need for data will be for finding my way around London. Does Google Maps work over there (I've somehow gotten the impression that it doesn't), or is there another map app that works with the GPS?
I've got a new HTC Desire and I'm loving finally having GPS functionality on my phone and use a few apps regularly which are very useful. Can you recommend any other ones that make good use out of GPS and mapping functions. The ones I use are.. Google Maps - Needs no introduction. Just amazing. Google My Tracks - Another amazing one. Records your runs, bike rides, car journeys, etc. Plots them on a map and gives you things like average speed, top speed, altitude. This one has made me actually want to go out for a jog or bike ride.
while signing up for google maps API, i entered the md5 string that was generated on issuing this command in cmd keytool.exe -list -alias androiddebugkey -keystore "C:androiddebug.keystore" -storepass android -keypass android but it says "The fingerprint that you entered is not valid".
I have several Android devices and each of them has different version of Google Maps: 3.0 in HTC G1, 3.1.1 in HTC Dream and 3.4 in Nexus one and Motorola Droid. When i use the following code: Intent myIntent = new Intent(Intent.ACTION_VIEW,Uri.parse("geo:0,0? q=Starbucks"); I get different behavior on the devices: On the latest versions of Google Maps application I see a map the term centered around my current location with a reasonable zoom radius while in Google Maps 3.0 I see list of results and button to the map. Is there a way to get the same behavior on all devices? of course i prefer the behavior of the latest versions
When I click the icon of My location, it opens a tag with information and when I touch this tag then I go a new Activity that give my more information,it same pass with StreetView, so How can I do that?
Just a quick one here, I'm looking for an app that I can use while mountain biking. So I'll need GPS tracking, speed and able to plot the route on a map. does anyone know of a free app ( or one at little cost ) that can do this.I used to have a Nokia phone that had a sports app that done it.
Incorporating the Maps API into your application is free as long as the app is also free. Otherwise, you need a commercial license. A commercial license for $10K is a heck of a lot of $1.99 apps. Does anyone have any insight on alternative payment structures for the Maps API. Excerpt from terms.html: 9.1 Free, Public Accessibility to Your Maps API Implementation. Your Maps API Implementation must be generally accessible to users without charge. You may require users to log in to your Maps API Implementation if you do not require users to pay a fee. Unless you have entered into a separate written agreement with Google or obtained Google's written permission, your Maps API Implementation must not:
(a) require a fee-based subscription or other fee-based restricted access; or (b) operate only behind a firewall or only on an internal network (except during the development and testing phase).
I'm just trying to run MapsDemo who is in 'samples' of the SDK, but consider this: http:/ i.imagehost.org/0829/mapss_don_t_show.png the Google maps is working perfectly http://j.imagehost.org/0640/google_maps.png ).
How do I get Maps and API Demos back in Cupcake? Is there a different way to push data onto an emulated sd card I use adb push <source path> /sdcard/<filename> but it is not putting data on the card it gives me like a help screen will all the available variation of "adb" when i use it.
I was making a location based service applictaion but i was not getting maps rendered in to my mapview . i checked the ddms log i saw an error in mapactivty tags "couldnt get connection factory client"
I have some trouble testing my Android application which includes the google maps API. The ooficial API example worked just fine but if I copy the code into my own project it keeps saying: "The application has stopped unexpectedly". I looked up the key in the keystore several times and registered it with google. Even tried reinstalling the SDK.
There are some exceptions following but none pointing to my code, everything in background processes.