Android :: Change Update Time Of Location Overlay

Aug 18, 2010

I am trying to see if anyone knows if it is possible to change the update time of MyLocationOverlay (http://bit .ly /dBIVdj). I have tried subclassing MyLocationOverlay and implementing my own location manager but when that happens I do not see the overlay on the map. I would try overriding the drawMyLocation method however I don't know which canvas to provide the method (since I would be drawing onLocationChange). To summarize, I am looking to do three things in MyLocationOverlay subclass:

1. Change the location update times to whatever I want.

2. Draw the "my location" dot with the radius when the onLocationChanged() method is called.
I've thought about making my own special class with special overlay -- but I feel like there has to be a better method to get what I want out of this class.

Android :: Change Update Time of Location Overlay


Android :: Customize My Location Overlay Update Times

Aug 11, 2010

I am trying to implement the MyLocationOverlay class from google maps. However, when I try and use my own locationManager -- I cannot get the overlay to acutally draw on the map. I am wondering if I am doing something wrong.

I don't want to call the super method(enbaleMyLocation) of the MyLocationOverlay class because that request updates from the locationManager way too quickly and will eat my battery alive.

Here is my code...

View 2 Replies View Related

Android :: Location Manager Minimum Update Time Overridden / When Location Changes?

Oct 26, 2010

I'm developing a mapping app using Eclipse 3.5.I'm setting the minimum update period with the LocationManager's requestLocationUpdates method, via a configuration activity. When I set the property I see in Logcat that the system process sets the value OK.When I actually send a new location from the DDMS emulator control and the location changes on the map view, I see that the system process then sets the minimum time to zero.Below is a capture of the system's log messages. You can see that I'm setting the period to 32 seconds, then 16, then, after I've sent a simulated location change the system sets it to zero.The map responds to location changes to location changes instantly even if they are sent only a couple of seconds apart.

View 1 Replies View Related

Android :: Override Enable Location In My Location Overlay

Mar 4, 2010

I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when I call the method drawMyLocation().
Here is the MyLocationOverlay class

View 4 Replies View Related

Android :: Map Overlay Labels - Display Name Of Location

Mar 15, 2010

I am building a MapView and I want my custom overlay items to display the name of the location they are marking when the user taps them, like the Android Maps app. I setup the onTap listener and the floating TextView to hold the location name. I still need to set it up so that it redraws the label when the user moves the map, etc. Anyway, I am wondering if I am reinventing the wheel here. Is there a built-in method I am unaware of? I would think that most implementations of MapView have labels. For reference, my implementation so far: in map xml:

<LinearLayout android:id="@+id/mapBubbleWrap" android:layout_width="wrap_content"
andoid:layout_height="wrap_content" android:layout_alignParentTop="true">
<TextView android:id="@+id/mapBubble" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:visibility="gone"
android:background="#ffffff" android:textColor="#ff0000"/>
</LinearLayout>

in my extended ItemizedOverlay:
public boolean onTap(int index) { this.setFocus( mOverlays.get(index) ); return true; }
in my Activity onFocus:
public void onFocusChanged( ItemizedOverlay overlay, OverlayItem item ) {
if( item != null) { mapBubble.setText(item.getTitle());
Point newPoint = mapView.getProjection().toPixels(item.getPoint(), null);
mapBubbleWrap.setPadding(newPoint.x, newPoint.y-10, 0, 0);
mapBubble.setVisibility(View.VISIBLE); } }

View 1 Replies View Related

Android :: How Can I Replace Compass Image Of Location Overlay?

Aug 24, 2010

I want to use my image to replace the Compass image of MyLocationOverlay, how can i implement?

View 1 Replies View Related

Android :: My Location Overlay - Customizing Compass Position On Screen?

Nov 3, 2010

I am using these three lines to add a compass on the MapView: mMyLocationOverlay = new MyLocationOverlay (this,mapView);mMyLocationOverlay. enableCompass(); mapView.getOverlays() .add(mMyLocation Overlay) ; However the default position of the compass showing on the screen is not too good for my apps, and I want to move it to somewhere else. Anyone knows how I can achieve that?

View 2 Replies View Related

Android : Location/maps - Speed - Delete Overlay Without Deleting All The Others

Oct 26, 2010

I'm messing around with maps and gps and i have some questions. Hope any of you point me in the right direction:

- I´m loading about 400 overlays in a mapview, but it takes 2-3 minutes. Is there any way to speed things up?

- On the other hand, I use another overlay to point device gps position, but when location point change i need to delete this overlay to put it again in it's new position. How can i delete this overlay without deleting all the others?

View 15 Replies View Related

Android :: How To Return Location Pressed To MapActivity From An Overlay OnTap Method

Aug 30, 2010

I have an activity that has a button which opens a new MapActivity to select a location by tapping on the map.

The map has an overlay that overrides the onTap method to get the location but I want to return that location to the previous activity but, I don't know how to return the geopoint to the mapactivity in order to call the setResult() and finish() methods, because I can't call them from the Overlay.onTap method.

View 2 Replies View Related

Android :: Map Open Overlay When Pin Is Clicked - Overlay Contains Description / Button

Aug 18, 2010

I like tu use the MapActivity to display some pins. When a pin is pressed i like to open a description. This can I obtain following the tutorial: http://developer.android.com /resources /tutorials/views/hello-mapview. But now I like to put a button on the overlay window. That button should open a detail activity. How can I make this? How is possible to personalize the overlay "info window"?

View 2 Replies View Related

How To Change SDK Location - Eclipse Not Allow To Submit New Location

May 10, 2013

today i was trying to open my old workspace projects by Eclipse but the old projects used old SDK path n so when i try to change my SDK location the eclipse not allow me tho submit my new location how i can solve this problem

View 1 Replies View Related

Samsung Fascinate :: Did Your Fascinate Automatically Update For Time Change?

Nov 7, 2010

Mine didn't? But my Blackberry did.

View 21 Replies View Related

HTC EVO 4G : Clicked Update Location But It Says My Location Is Unavailable

Jun 7, 2010

I am having problems with the quick search feature. I did a random search for Mcdonalds and a map pulls up that is no where around me. I clicked update location but it says my location is unavailable. I have GPS enabled and my navigation app works just fine.

View 1 Replies View Related

Android :: Get Time When Location Updated In Droid?

May 23, 2010

As you know we can get thast Last Known Location, but how do we get the time when that has changed?

View 1 Replies View Related

Android :: Location Based Time Tracking Application

Mar 16, 2009

I travel to different places to visit clients and spend few hours with each client any given day. Most of the time I am busy or forget to use a time tracker application to log my time in and time out. Are there any application out there that track time spent on a specific location. I use locale but it doesn't give me time spent at specific a location.

View 6 Replies View Related

Android :: Way To Create Service To Report Location All Time?

Mar 23, 2010

I want to create a service that runs on Android which can collect all of my location information. Either write the information to a file or send to a server using 3G/wiki network. I was thinking about using a service that runs forever as a daemon. After reading "Diamonds are forever, services are not" by Mark Murphy, I realized that it is not a good idea. However, I need to somehow acquire the moving trajectory information on the Android phone. Without a daemon service running forever, how do I do that ?

View 4 Replies View Related

Android :: Location Can't Send To Two Emulator In Computer At Same Time?

Aug 29, 2009

I am dealing with a application which associate with GPS mock locations and XMPP communication,and need to send the mock location to two emulator by ADT at the same time. However I've got a problem .It seems that the location can't be send to two emulator in my computer at the same time. So, may any master-hand can tell me if it is possible for us to send mock location to two emulator in the same computer at the same time?

View 6 Replies View Related

Android :: Call Forwarding Based On Location Or Time Of Day

Feb 1, 2010

I used PhoneAlarm to do my call forwarding when I was on the "other" platform. It dialed my call forwarding number based on time of day. I know Locale has the capability but there is no plugin to do it. Does ANYONE have an App or know how I can call forward based on location or time of day or to at least call any number based on this criteria? I do not, or I should say, cannot use Google Voice since I have no account and they are not taking any more users.

View 5 Replies View Related

Android :: App To Schedule Exchange Sync Based On Time / Location?

Mar 23, 2010

I'm new around here, but I thought I'd appeal to the knowledge-base to see if anyone knew of an app that might help me.

Basically, it's pretty simple. I want to be able to control how frequently my Exchange email syncs based on what time of the day it is and/or my location. Does Locale have this functionality? Just reading the documentation, I don't think it does, but I'm not too anxious to spend $10 to find out. Could there be a plugin or something for Locale that would do it?

My basic beef with my Eris is that when I'm at work, with my email running and I get an email, even if I retrieve it and mark it as read, my phone will still beep and retrieve the email when it does its sync cycle, (which I have set to every 10 minutes) so I'll basically get the email twice, even if I've read it on my computer 10 minutes before. I'd like to be able to set it so that I can control how often it syncs when I'm at work, either based on the time or location.

Is this possible? Anybody have any suggestions?

View 2 Replies View Related

HTC EVO 4G :: Dolphin Browser - Google Ask For Location Every Time

Aug 5, 2010

For the record, I have already restarted my phone several times, and even taken the battery out to be sure. Anyhow, I have upgraded to Froyo 2.2 and after that update, I updated my Dolphin Browser. I have Google as my homepage, and now, every single time I open Dolphin, and it goes to Google, I get a popup from Google saying it wants permission to know my location. I have made sure the green check mark is checked, that indicates it wants to remember this action. Yet every time I log on, it asks me for my location each and every time.

View 6 Replies View Related

HTC Droid Eris :: Weather / Time Widget Changes Location

May 28, 2010

The widget on top keeps changing locations, isn't there a a way to just it where you are?

View 1 Replies View Related

Motorola Droid :: Call Forwarding Based On Location And Or Time

Feb 26, 2010

I have been looking for an application that has call forwarding based on location and or time. Found it. It is called Tasker and it is a very powerful application. It is still in beta but works better than anything else I found.

View 1 Replies View Related

Android :: Change DB Location For Content

Nov 24, 2010

I want to change setting in native application (i.e. SMS) by pointing it to different content location.

Ex - At given fraction of time, native application is pointing to list of SMS (com.android.providers.telephony.databases.mmssms.db).

I want to point to different location, that might be com.android.providers.telephony.databases.mmssms1.db

View 1 Replies View Related

Android :: Change Location Provider?

Oct 21, 2010

i have developed an app which just notify when location changed. it used GPS_PROVIDERS as provider. but as devices go inside of some building. it stop listening. i want to change the provider at that time to network provider.. so should i write locationManager.requestLocationUpdate method there in status change method of listener.with provider to network provider. or something else will do the task.

View 3 Replies View Related

Android :: Change Save Location

Apr 8, 2010

Now I know I'm going to feel stupid after hearing this answer probably.Anyway is there a setting for changing the save location for the market apps because they keep saving to the phone and I would like them to save to my sd card. I am using the motorolla droid.

View 2 Replies View Related

Android :: Network Provider For Location Updates In Android GPS Gives Device Time?

Aug 8, 2010

While using network provider for location updates, I found that it is the same time that I set on my device. Can it not be that provided by network as it goes when it is GPS. Or if network provider cannot provide time , then atleast location.getTime() should return 0 instead of device time. Is there any way to avoid device time, as I want to distinguish it.

View 1 Replies View Related

Android :: Need Location App To Change Phone To Vibrate?

Sep 30, 2010

I know there is an app that can change your phone to vibrate and do other things based on your location but i cant for the life of me find it.

View 1 Replies View Related

Android :: Change Geo Location On Phone For Debugging

Apr 24, 2010

I want to change the geo location on my Droid phone for debugging purposes. How can I do this?

View 4 Replies View Related

Android :: Change Installing Location Programmatically?

Oct 17, 2010

I as i know we can change the installing location With android SDK , using USB cable But i wanna know is it possible to change the installing location Programmatically? is it yes how?

View 2 Replies View Related

Android :: Set Or Change Default Location For Downloading Apps

Jan 3, 2010

I was wondering is there any way to set or change the default location for downloading apps to either my phone or SD card? .. My Palm centro had the option to either download to either the phone or SD card.. I was wondering if the Droid has the same option possibilities. Also Is there any way to transfer apps or programs currently stored on the phone to the SD card?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved