I'm trying to take any image and scale and crop it into a set
dimension square (100px X 100px). What's the easiest way to do this? I
want to maintain the aspect ratio and it seems that I can't do that
and have it in a square ImageView either. What's the trick?
--
You received this message
I'm starting to get into networking on android and I was wondering
what the requirements are to setup a simple messaging application. Do
I need to host a central server somewhere to have two people connect
to in order to receive messages? Are there any examples on how to go
about doing this?
--
If I'm both drawing lines and utilizing items, would it be wise to
implement both a MapOverlay and a MapItemizedOverlay? Or do I just
need one?
On Feb 10, 4:55 pm, TreKing treking...@gmail.com wrote:
On Wed, Feb 10, 2010 at 3:43 PM, aspekt9 aspe...@gmail.com wrote:
What exactly is the span
);
//itemizedOverlay.addOverlay(overlayitem);
}
}
mapOverlays.add(itemizedOverlay);
}
On Feb 11, 3:50 am, aspekt9 aspe...@gmail.com wrote:
Also, another issue I'm having, I can detect which points should be
drawn in the view, but when I go to draw those
How would I do this?
On Feb 10, 1:02 am, TreKing treking...@gmail.com wrote:
On Tue, Feb 9, 2010 at 9:26 PM, aspekt9 aspe...@gmail.com wrote:
There must be faster way, how does google deal with
it when they display driving directions and they have all those path
lines and points
I'm having an issue converting getLongitudeSpan() and
getLatitudeSpan() to microdegrees, how do I do that?
On Feb 10, 10:54 am, TreKing treking...@gmail.com wrote:
On Wed, Feb 10, 2010 at 2:35 AM, aspekt9 aspe...@gmail.com wrote:
How would I do this?
With a simple bounds check against
What exactly is the span though, how would I calculate if a given
coordinate or geopoint lies in between the span?
On Feb 10, 3:59 pm, TreKing treking...@gmail.com wrote:
On Wed, Feb 10, 2010 at 2:47 PM, aspekt9 aspe...@gmail.com wrote:
I'm having an issue converting getLongitudeSpan
In my app I am drawing bus routes on top of a MapView. The routes have
anywhere between a dozen and a few hundred GPS coordinates that
describe the route that the bus takes.
The problem I'm having is that once I draw out all these lines using
drawLines panning/zooming the MapView is incredibly
points???
2010/2/9 aspekt9 aspe...@gmail.com
In my app I am drawing bus routes on top of a MapView. The routes have
anywhere between a dozen and a few hundred GPS coordinates that
describe the route that the bus takes.
The problem I'm having is that once I draw out all these lines
I have a path connecting 11 GeoPoints with a line, I use path.moveTo()
and path.lineTo() to draw the line and it seems that as soon as I hate
10 Points in the path, it draws the line to Columnbia in South
America.. And yes, my GeoPoint locations are correct, I don't
understand why this is
pm, aspekt9 aspe...@gmail.com wrote:
I have a path connecting 11 GeoPoints with a line, I use path.moveTo()
and path.lineTo() to draw the line and it seems that as soon as I hate
10 Points in the path, it draws the line to Columnbia in South
America.. And yes, my GeoPoint locations are correct
When I add a new item to my ItemizedOverlay the onTap display I have
set appears X times, where X is equal to the number of items that I
added. So for example, if I add one item and tap it, it the onTap
method gets called once, and in the LogCat I get:
02-04 23:28:56.188:
I have a MapView which utilizes and ItemizedOverlay to draw map
markers to the map. The application stores the markers for later use
in a database and in the mOverlays OverlayItem ArrayList. This works
fine for adding new items, but removing items from the ArrayList
shrinks the arraylist and
I have a program that uses a Map View and when they click a menu item
it prompts them (in a Dialog box) to enter a name and then press
enter. Once they press enter I want to take what was received in the
Text Edit in the dialog box and display it in a toast. However, it
seems that I just get a
I have an onTouch method that creates a new GeoPoint where the user
touches the screen. It then opens a dialog box and asks them for a
name for this GeoPoint. This method is shown below:
@Override
public boolean onTouchEvent(MotionEvent event, MapView mapView) {
I'm having an issue with overlays it seems when I use a dialog to add
a new overlay, the new marker isn't updated until I again click on the
screen. Any idea why this is?
On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote:
Hello,
Have you read the MapView tutorial ? It shows how to display
I have a program that uses a Map View and when they click a menu item
it prompts them (in a Dialog box) to enter a name and then press
enter. Once they press enter I want to take what was received in the
Text Edit in the dialog box and display it in a toast. However, it
seems that I just get a
17 matches
Mail list logo