[android-beginners] Re: HTTP POST-Reply sample

2008-10-12 Thread Ricardo
Hi, have you tried the HttpURLConnection ? -- URL u = new URL(url); HttpURLConnection conn = (HttpURLConnection) u.openConnection(); conn.setRequestMethod(POST); conn.setDoOutput(true); conn.setDoInput(true); conn.connect();

[android-beginners] R.layout.dialog_activity cannot be resolved

2008-10-12 Thread mushimi
Hi, I follow sample Dialog Activity and have one error as this message's title. Can someone help me to have a look? My dialog_activity.java, main.xml and R.java as below: My dialog_activity.java: package com.iqq.adc.dialog_activity; import android.app.Activity; import android.os.Bundle; import

[android-beginners] Re: Hello Android could not be run!, compilation errors

2008-10-12 Thread bennjava
Thanks Karthik, Actually what I did is just deleting the Android project and creating it again as specified in the HelloAndroid example, and it's working well ! Benn, On Oct 12, 12:27 am, Karthik P [EMAIL PROTECTED] wrote: You have missed out installing ANT and set the environment variables

[android-beginners] Re: Manipulate 2D View in 3D OpenGL

2008-10-12 Thread sandroid
I just found another useful trick. Originally I wanted to use OpenGL because the ModelView matrix makes it very easy to rotate objects in 3D. I found something very similar in android.graphics.camera which has three different routines for rotating (RotateX, RotateY, and RotateZ). Here is the

[android-beginners] Re: Manipulate 2D View in 3D OpenGL

2008-10-12 Thread Romain Guy
OpenGL is not supported by the Canvas. On Oct 12, 2008 5:11 PM, sandroid [EMAIL PROTECTED] wrote: I just found another useful trick. Originally I wanted to use OpenGL because the ModelView matrix makes it very easy to rotate objects in 3D. I found something very similar in

[android-beginners] getting an out of memory error for a matrix calculation

2008-10-12 Thread sunil
Hi Experts, I am trying to run an matrix operation ( transpose) for a mxn matrix where m=5400 rows and n=45 columns. It is crashing with the following error message. 10-12 20:31:37.006: INFO/dalvikvm-heap(214): Clamp target GC heap from 17.970MB to 16.000MB 10-12 20:31:37.016: