[android-beginners] NullPointerException using RadioGroup

2008-11-22 Thread Allan Valeriano
Hi, I'm trying to create a radio button group using the resources and recover it on my Activity code, but I'm receiving a NullPointerException when I do that. Here is my xml code: ?xml version=1.0 encoding=UTF-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-beginners] Re: NullPointerException using RadioGroup

2008-11-22 Thread Allan Valeriano
That was exactly the problem. Thanks a lot! --Valeriano On Sat, Nov 22, 2008 at 10:10 PM, Mark Murphy [EMAIL PROTECTED]wrote: Allan Valeriano wrote: Hi, I'm trying to create a radio button group using the resources and recover it on my Activity code, but I'm receiving

[android-beginners] Re: Drawing a path line

2008-11-12 Thread Allan Valeriano
Maps directly. The class com.google.googlenav.DrivingDirection isn't available anymore in the SDK 1.0. Dennis On 12 Nov., 01:47, Allan Valeriano [EMAIL PROTECTED] wrote: Hi all, I've been trying to draw a path line for a while, but had no success. I tried a dummy code just to see

[android-beginners] Drawing a path line

2008-11-11 Thread Allan Valeriano
Hi all, I've been trying to draw a path line for a while, but had no success. I tried a dummy code just to see if it works, but couldn't make it draw anything. The code I'm using is: Path path = new Path(); Projection proj = mapView.getProjection(); GeoPoint point1 = new