Android :: MapView - Disable Auto Zoom
May 27, 2010
I have made an Android app that shows a MapView with two overlays, one MyLocationOverlay and one custom overlay. I am programmatically zooming and panning to what I want the map to show. It also auto pans to my current location. The auto pan is moving the map away from what I want to show.
So my question is simply: How can I disable the auto pan?
View 1 Replies
Sep 1, 2010
How can i disable the panning/zooming functionality of a MapView (not the zoom controls, i want a wholly static map)?
I've also noticed that touching the map doesn't seem to trigger the MapView onClickListener, could anyone elaborate why?
View 1 Replies
View Related
Sep 16, 2010
Coming from an iPhone to the Fascinate, I've noticed that the pinch to zoom feature in the browser auto-fits the text after the zoom in. On my iPhone that didn't happen. I can see where auto-fit would come in handy, but there are times I don't want the layout of the site to change. I just want to zoom it a little - I'll happily finger scroll to the left, right, up, or down to read something.
Is there a way to disable the auto-fit on the zoom-in for the stock browser? I know there are other browsers out there, but I'm asking about the stock browser.
Perhaps this is a feature coming in 2.2?
View 3 Replies
View Related
Aug 26, 2010
I have 5 pins added to a map. How can I tell the MapView to zoom as much as possible and keep all pins in view?
---I found it:
http://sdhillon.com/find-the-center-and-span-of-a-set-of-points-android-and-iphone-example/
View 3 Replies
View Related
May 28, 2009
Is there a way to always show the zoom controls on a MapView? I have added the zoom controls using code...
]
but the zoom controls fade in and out. I want them to always be visible.
View 2 Replies
View Related
Nov 10, 2010
Is there a way i can set a minimum zoon level for my MapView?. I don't know if you've realized the map looks really ugly when zoom level is one. You see the whole world map replicated. I would like to avoid that zoom level no matter if user is zooming in through gestures or zoom controls. I've looked at different alternatives, but none seems to work. Does somebody have a good idea about this?
View 2 Replies
View Related
Jan 31, 2010
I have been trying to get this seemingly simple problem fixed for about half a day now. I have a working MapView and I just want to show the default zoom keys and have them there all the time. They do not appear at all - it's not that they appear then go away.
Code...
I have tried commenting out the setZoom and tried moving the setBuiltInZoom controls to the updateLocation method. I've found a lot of posts in relation to this problem but none that solve it.
View 2 Replies
View Related
Jun 2, 2010
I have done my fair share of google searches for this and have come up empty.
I have a set of marker(25) that are being displayed on a MapView. I would love to be able to have it zoom to a reasonable level to make the markers readable.
View 2 Replies
View Related
Jan 3, 2010
I have a Sprint HTC Hero and just loaded CZ FX. Can someone tell me how the manual focus and auto works? I know how to turn it on and off just don't know what its doing. With the stock camera when you touch the screen it focuses on that spot, with FX I can't figure it out. Also with FX when I touch the screen it takes a photo even when that option is turned off?
View 1 Replies
View Related
Apr 19, 2010
I've got 2 GeoPoints given to show them on the map with markers... so far so good...
how can I get the optimum zoom level for the MapController in order to focus the middle of both points, but also have them on the map.
The whole thing should work at different screen resolutions. Sorry for asking that silly question, I know thats not very difficult, but at the moment my head is boiling..
View 1 Replies
View Related
Sep 13, 2010
When a user clicks in an input field or textarea, the application zooms in.Is there a simple way to disable it?Everything looks great till I look at it on a device with Android 2.2. Specifically HTC Evo 4G.
View 2 Replies
View Related
Aug 11, 2010
I'm building a mobile site and have the following meta tag set in the header:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
Unfortunately, this isn't working on HTC devices (HTC Hero, etc) with Android 2.1. Any ideas on how I can disable pinch-to-zoom in this browser? Works fine on the iPhone.
View 6 Replies
View Related
Aug 24, 2013
I'm trying to limit my mobile data usage with out jumping through hoops.
I'm looking for a widget, that with one click of a button, it can restrict background data, disable auto-sync and enable mobile data, and when pressed again, enable WiFi, disable background restriction and enable auto-sync.
This function, no matter how trivial, would save time and effort.
Is there anything like this out there? Would something like this require root?
Galaxy Nexus
View 5 Replies
View Related
Aug 2, 2010
I installed froyo this morning and had to download all my apps again including dolphin hd, now when I use the pinch to zoom the text does't automatically fit the screen anymore, I've checked and the auto fit box is checked.
View 5 Replies
View Related
May 14, 2013
I have the Nexus 7 and S4, and on both setups, there is 1 really annoying feature: triple tapping/clicking anywhere on the screen will create a "zoom" on the screen. How can i disable this? NonRooted on both.
Turn off Magnification gestures in accessibility
View 1 Replies
View Related
Apr 11, 2010
Between pinch and tap zooming, the zoom buttons are now just in my way. Is there a way to disable them?
View 4 Replies
View Related
Jan 29, 2009
I'm fairly new to android development - I'm having trouble finding documentation on how to disable the accelerometer/auto-rotate feature for an app (i.e. when you turn the phone, everything 'corrects' changing the layout). Is it possible to disable in the emulator?
View 2 Replies
View Related
Jul 6, 2010
I have a WebView which may contain data that appears to be getting "auto linked". Something that looks like an email address is becoming clickable, even though it's now within an <a> tag or has an onclick attribute. How do I disable this auto-linking? I've looked through the WebView docs, as well as the WebSettings docs, but didn't seem to see anything that mentions this behavior.
View 2 Replies
View Related
Aug 20, 2009
I have a apk file, where i dont have the source for it.
When i run the apk, it automatically rotates the screen,
/WindowManager( 879): Setting rotation to 1, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=1 }
then after closing the application or coming out from the application,
I/WindowManager( 879): Setting rotation to 0, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=2 }
how to disable the rotation.
View 2 Replies
View Related
Oct 1, 2010
I have no clue how to disable the "auto screen brightness" in settings?
View 7 Replies
View Related
Apr 23, 2010
I just fired up my motorola milestone and want to send a text message. But since it constantly suggests words in English and autocorrects them I am unable to write in my own language (Dutch). Does anybody know how I can disable the auto-suggestion option when writing an sms?
View 3 Replies
View Related
Oct 5, 2009
I'm getting a lot of requests by users of my flashlight application, that they want me to disable the HTC Hero's automatic dimming feature that works off the light sensor. How do you disable it through code? Or, isn't there a way?
View 6 Replies
View Related
Oct 18, 2010
I want to control the system settings "auto brightness", setting it ON or OFF.I'm able to control the brightness level but only if AUTO is OFF. From what I read until now there is a SCREEN_BRIGHTNESS_MODE in Settings.System but only for API level 8 or higher and also not recommended to mess wit it. But currently my phone has Android 2.1 (API 7) and there are widgets that can control this setting (enable/disable auto brightness and set the level). How is this done?
View 1 Replies
View Related
Jan 8, 2014
I have a specific problem that has persisted through multiple android devices, through all ROMs and builds. Currently I am on a Verizon galaxy nexus with cyanogen 10.1 (background in case it's more relevant than I believe).
When a timer or alarm goes off on my device, or when I receive a call or text, my screen wakes automatically. I think this may be considered a "feature" in android. However, since my phone is nearly always in my pocket, it means that the screen turns on and often receives enough of a false signal in my pocket to disable an alarm or decline/accept a call. It is very inconvenient and would be alleviated if I could specify that I want my device to turn on the screen ONLY when I press the power button.
I know that others have the same problem from searches on xda and elsewhere, but I don't see solutions (except what looks like a registry hack on some specific devices)
How to get a cover to stop screen interactions while in my pocket, nor do I want to hear about a more elaborate lock screen to keep said interactions from interfering with alarms/calls. The problem is simply that the screen comes on at all with seemingly no way to change the behavior.
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
May 7, 2010
I have a Motorola Milestone running Android 2.1.Is there a widget which turns "background data" ("Settings -> account & sync -> background data") on/off? I know there are several widgets which turn auto sync on off (e.g. the power control widget) and disable data connections altogether (apndroid, quick settings, etc), but that's not what I need. I searched the market, google and this forum but couldn't find anything.The only workaround I found was to create a shortcut to "account & sync" using "any cut". Not a widget, but close enough.Is there a widget, or a better way to do this?
View 3 Replies
View Related
Apr 20, 2009
I want to develop an application that disable the Background Data (new feature in Android 1.5) and Auto Sync and then enable GPRS/EDGE connection and vice versa.
I figured out how to enable/disable GPRS/EDGE by changing the APN settings. (weird solution. However; Android developers couldn't think a user may want to disable GPRS/EDGE) But, I couldn't find a way to enable/disable Auto Sync and Background data.
I investigated the Android code and as I understood, the Sync operation is an intend. So, I wanted to reach with putExtra to the intend and trigger the enabling/disabling. But; I couldn't find the correct keyword.
View 2 Replies
View Related
Oct 22, 2010
When the Evo screen is on for a bit I notice the screen dims, I guess to save on battery life. Is there a way to stop the auto dimming and just have it go straight to a locked/black screen from full brightness?
View 10 Replies
View Related
Jul 13, 2012
It looks like ics automatically runs the "Android is Upgrading" thing whenever it senses some "change" in boot.img? It happens everytime i flash a kernel, without wiping dalvik cache. It will continue to run regardless of whether the dalvik cache files are present or not. This is actually a good feature.
But i noticed that if i simply do a nandroid backup of /boot, and restore it without doing anything else, or flash the same kernel again, it will boot up with the "Android is Upgrading" thing again from the start.
is there a way to disable this, or at least prevent dalvik cache generation if they are already present? im using amon Ra recovery
View 1 Replies
View Related
Feb 22, 2012
it is possible to code an app so that it does not rotate if/when the user rotates their device. I have built an app that is designed for portrait view only. When it is flips to landscape, it gets distorted. I have apps on my android that do not rotate when I try to rotate my device.
I am using Eclipse to make my app. I'm hoping it is something that I need to add to the manifest.
View 1 Replies
View Related