Android : How To Compute A Radius Around A Point In Droid MapView?
Jan 16, 2010
I have a MapView that I'm displaying a "useful radius" (think accuracy of coordinate) in. Using MapView's Projection's metersToEquatorPixels, which is admittedly just for equatorial distance) isn't giving me an accurate enough distance (in pixels). How would you compute this if you wanted to display a circle around your coordinate, given radius?
View 1 Replies
Mar 1, 2010
I want to store locations in my Android phone and be able for the application to tell me if I am inside these points&radius.What is the best way to store many point&radius locations and efficiently query for them?
View 1 Replies
View Related
May 12, 2010
I want to draw a a circle of 15 KM radius around a point on Google Maps by using Android. In Android we only have MapView and MapViewController. How can I implement the drawCircle funciton provided in Google Map Circle example in Android.
View 1 Replies
View Related
Jul 7, 2010
Does the X support (non-PSK) wpa/wpa2 (enterprise / radius / 802.1x) authentication for connection to wifi networks using a central security authority?
View 2 Replies
View Related
Jun 15, 2009
I want to render 3d object on the screen. Before that I would like to compute the screen so that the rendered object can be given relative position. How that can be done?
View 2 Replies
View Related
Dec 8, 2009
The View class has a compute Scroll method whose documentation states: Called by a parent to request that a child update its values for mScrollX and mScrollY if necessary. This will typically be done if the child is animating a scroll using a Scroller object. See
http://developer.android.com/reference/android/view/View.html#compute...
I am using the 1.5 SDK and I do not have access from within my application to the mScrollX and mScrollY protected member variables of the View class. However, I must have a custom scroller object for my view.
View 5 Replies
View Related
Aug 5, 2009
I'd like to know if there is already a way to know from a given set of markers, the zoom I should apply to the map or do I have to do it my self? (this depends on the resolution so i expected to find it in MapView because it knows its boundaries.
View 4 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
Jul 26, 2010
When using border-radius on my android emulator I am seeing ugliness like this:
Is there anyway to get Android to display rounded corners via -webkit-border-radius in a more pleasing way? Most modern desktop browsers and Mobile Safari seem to antialias their corners, but not Android's renderer.
I'm really hoping I don't have to do this with images, and there is some awesome trick to get pretty corners with only a border radius css declaration.
View 1 Replies
View Related
Oct 6, 2010
I have the following custom view:
This I have achieved by using the Canvas' drawArc() method. However, with this drawArc() method I cannot limit the arc's inner radius.
What I'd like to have is something like this: where there is only an outer ring left.
What I need is an drawArc() function where I can set the inner radius of the arc. Anyone an idea how to do that?
Overpainting the inner area doesn't work, because it needs to be transparent. Painting an inner circle with Color.TRANSPARENT after painting the red and blue cones doesn't remove the old color. It just puts another layer on top, which is transparent and through which I can still see the red and blue.
View 1 Replies
View Related
Jun 27, 2010
I have this query which does work fine in MySQL
CODE:............
Distance is in Kilometers, the input is lat=12.345 and lon=67.89
The SQLite is 3, and I can't run custom functions with it as it's on Android. I also don't have acos() etc... as that is not part of the standard SQLite.
How would be the above query in SQLite?
View 1 Replies
View Related
Sep 3, 2009
In my application I have a list of +400 GPS coordinates which I retrieve from addresses. The application should give me the top X nearest coordinates based on my current location.
This application is possible (I think) with the distanceBetween function. But (I think) the application is really inefficient when i iterate through the list of 400 coordinates and check the distance within a certain time interval. Another option is (I think) the proximityAlert function? All coordinates are loaded in this function and when my current location comes in the radius of a coordinate an alert is given. But the downside of this solution (I think) is the high memory usage which implies a short battery life of the Android phone?
View 6 Replies
View Related
Jan 23, 2010
On the android website, there is a section about color drawables. Defining these drawables in xml looks like this:
<resources>
<drawable name="solid_red">#f00</drawable>
<drawable name="solid_blue">#0000ff</drawable>
<drawable name="solid_green">#f0f0</drawable>
</resources>
In the java api, they have thr following method to define rounded corners:
setCornerRadius(float radius)
Is there a way to set the rounded corners in the xml?
View 2 Replies
View Related
Feb 17, 2010
How to get MapView API in android?
View 2 Replies
View Related
Jun 15, 2010
I want use point sprite (OpenGLES Extension) API in Android NDK(r4).
right here
int att[] = {0,0,1};
glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );
But, doesn't work it.
View 1 Replies
View Related
Feb 1, 2010
I have a MapActivity that contains a MapView with some custom controls, state information, and an ItemizedOverlay composed by some locations that I draw using the default approach (using populate(), super.draw() and createItem()) and by some lines that I draw in the overrided draw() method.
So, when the activity is paused, I have to save:
Some state information
The ItemizedOverlay
[Maybe more Overlays in the future.]
I'm saving the state information as usual, putting them in the bundle. I'm thinking in doing the same with the Overlays, implementing Parcelablein each one of the OverlayItems and so, but I don't know if there is a better way to store the complete state of the MapViews.
The information depends on remote requests that I don't want to repeat each time the activity is paused. Any recommendation?
View 2 Replies
View Related
Mar 19, 2010
I working on map view. i want to put overlay item on the map view. that overlay items are all depends on currently showing map view and zoom level. how to get current map view's longitude and latitude of that four corner and how to analyze how many overlay item inside it. also we have to check thee zoom level.Any Idea? how to do it?
View 1 Replies
View Related
Apr 25, 2010
I know you can 'seekto()' with Mediaplayer... (To start at a certain point)
But does anyone know if there is a way to make a track (the audio playing)... Stop at a certain point?
-or would an if statement on a timer loop have to be used?
View 3 Replies
View Related
Feb 16, 2010
I am doing one small GPS application. I have to show multiple palces . I can able to show multiple places using custom overlay method.Now i have to show route between two points , while showing route i have to show only that two points. remaining all points should disappear but i don't know how to disappear the other points.
View 1 Replies
View Related
Aug 31, 2010
Just wondering if there is a standard/default overlay/marker that I can use in the MAPVIEW?
I have been searching on the web and all tutorials talk about extending the Overlay and put your custom image on it.
Is there a easier way? I just want to have the a marker, nothing fancy.
View 1 Replies
View Related
Sep 25, 2010
I'm working on an application that displays the location of moving items on a Google MapView. I need a way to update the position of the icons that represent the items (as well as change the facing of the icons every two seconds as updated data comes in). I currently have an activity in the app that extends MapActivity. On to this I have overlaid a static Overlay that draws some lines on the map and an ItemizedOverlay that draws a static icon.
View 3 Replies
View Related
Sep 7, 2010
I have an imageview and when clicked, calls OnClickListener.onClick(View v). How do I get the exact point/coordinate that the user clicked?
View 1 Replies
View Related
May 9, 2010
Does anyone knows if the wifi networks for android phones are based on Access Point Names (APN) ? I ask because in my android application I plan to overwrite some fields in all APN's to disable cellular network, but I still want to have available the wifi for the user.
View 1 Replies
View Related
Sep 18, 2010
Is it somehow possible to use the Delphi language (or Prism if absolutely necessary) to develop programs for the Android platform ?
Any starting point ?
View 4 Replies
View Related
May 21, 2010
What's the point of turning on/using Wi-Fi? Does it save battery or suck battery life?
View 18 Replies
View Related
Feb 18, 2010
I went with a friend to a house that I am going to need to get back to sometime for some business and it was out in a hard to get to place, is there a way when I get there I can pull up maps and save it as a destination when I'm there? Just mark it as a way point?
View 5 Replies
View Related
Apr 22, 2010
I've been emailing the dev of Toggle Data Widget because I could not get it to work on my droid reading through the comments I was not the only one. He is telling me to look in my settings under wireless & networks and tell him what I have for APN's. Well the thing is I don't even have anything in there! Does some body know where to find what he's talking about? I emailed him telling him I couldn't find it anywhere and he seems baffled as well.
View 2 Replies
View Related
Apr 1, 2010
I am unable to connect to my Droid. When I start the tether, I don't receive any errors (although I haven't checked the log), but when I look for the Droids access point, it's not shown on the list. I have access control enabled and it hasn't notified me that a device is trying to connect. I followed and have only done the following to root and to install wireless tether to the phone:
Root and How to install a custom recovery
http://androidforums.com/all-things-root-droid/45764-guide-s-everything-root-related.html
Wireless Tethering
http://rootyourdroid.info/guides/wifi-tether/
I followed the Documentation to the "T".
View 4 Replies
View Related
Sep 27, 2010
OK, this isnt as stupid of a question as it sounds at first.I know how to actually do a factory reset.My question is, does anyone know where the thread is that explained all the steps in backing up your information (with certain applications) before doing a factory reset? There was a thread here that told you certain applications that will make sure your data was backed up so you can restore it all after the reset.I remember seeing on on this forum a while ago, but after searching a few times, I cant find it.I'm hoping a factory reset will help with my icon lag issue and the general sluggishness of my phone.
View 14 Replies
View Related
Dec 31, 2009
Is there a way to store a point on Google Maps on the Eris? I would like to hike off in the boonies and use it to guide me back to where we are parked.
View 9 Replies
View Related