Drawing a Cylinder in OpenGL ES

by satish bhoyar » Fri, 05 Feb 2010 13:37:22 GMT


Sponsored Links
 Hi all,

I want to draw a Cylinder like shape on the android screen. I got some
example code but unable to understand the logic behind it, for calculating
the co-ordinates of the cylinder.

please any1 can guide me to develop my own code.

any links will also be good.

thanks,
satish

--



Other Threads

1. is that any ways to analyze the image and transfer to actual alphabet for translate?

As for the tiltle,

sorry if post wrong or else, i am a new guy.

-- 

2. android : customer List Adatper + ArrayList

Team,

Could you please help me debug the below issue?

ActivityAdapter activityAdapter = new
ActivityAdapter(this,activityList); Log.d("list", "List Display -
1");

setListAdapter( activityAdapter );
Log.d("List", "list done");
It's throwing exception at the time of setListAdapter,

05-01 16:59:15.996: WARN/dalvikvm(251): threadid=3: thread exiting
with uncaught exception (group=0x4001b188) 05-01 16:59:15.996: ERROR/
AndroidRuntime(251): Uncaught handler: thread main exiting due to
uncaught exception 05-01 16:59:16.204: ERROR/AndroidRuntime(251):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.antennasoftware.xml/
com.antennasoftware.xml.XMLParsing}: [b]java.lang.RuntimeException:
Your content must have a ListView whose id attribute is
'android.R.id.list' 05-01 [/b]16:59:16.204: ERROR/AndroidRuntime(251):
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2454) 05-01 16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2470) 05-01 16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.ActivityThread.access$2200(ActivityThread.java:119) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1821) 05-01 16:59:16.204: ERROR/
AndroidRuntime(251): at
android.os.Handler.dispatchMessage(Handler.java:99) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
android.os.Looper.loop(Looper.java:123) 05-01 16:59:16.204: ERROR/
AndroidRuntime(251): at
android.app.ActivityThread.main(ActivityThread.java:4310) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
java.lang.reflect.Method.invokeNative(Native Method) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
java.lang.reflect.Method.invoke(Method.java:521) 05-01 16:59:16.204:
ERROR/AndroidRuntime(251): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860) 05-01 16:59:16.204:
ERROR/AndroidRuntime(251): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
dalvik.system.NativeStart.main(Native Method) 05-01 16:59:16.204:
ERROR/AndroidRuntime(251): Caused by: java.lang.RuntimeException: Your
content must have a ListView whose id attribute is 'android.R.id.list'
05-01 16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.ListActivity.onContentChanged(ListActivity.java:236) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
201) 05-01 16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.Activity.setContentView(Activity.java:1622) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
com.antennasoftware.xml.XMLParsing.onCreate(XMLParsing.java:36) 05-01
16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047) 05-01 16:59:16.204: ERROR/AndroidRuntime(251): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2417) 05-01 16:59:16.204: ERROR/AndroidRuntime(251): ... 11 more

-- 

3. how to get image data from browser using share to?

4. uploading image + optional tags via HTTP POST

5. Retrieving GRP Coordinates, getting errors with getLastKnownLocation and requestLocationUpdates

6. Which thread invokes SensorEventListener.onSensorChanged

7. Redraw ListActivity with invalidate or postinvalidate onActivityResult not working