drawing a circle using OpenGL ES

by ab » Mon, 16 Nov 2009 12:48:51 GMT


Sponsored Links
 Hi,

I've been working  on a small app for my phone, and I wanted to add a
feature that needs
a circle to be drawn to screen. I was wondering how I could do this
using OpenGL ES. can anyone help?

--



Other Threads

1. Canceling an Alarm in an AppWidget

My AppWidget's onEnabled method creates two PendingIntents.  The first
is to get location updates and the second is for an ELAPSED_REALTIME
alarm.  The two PendingIntents are declared as private class-level
variables so that I can access them later from different methods
(obviously).  I'm having trouble canceling these PendingIntents and it
looks like its because the variable has become null.  In the case of
location updates, I crash when I execute LocationManager.removeUpdates.
In the case of the alarm, I do not crash but the alarm is not canceled.
I tried putting my cancel code in onDisabled and onDeleted (not at the
same time) but it didn't work.  Any suggestions?

My code looks as follows:

public void onDeleted(Context context, int[] AppWidgetIds) {

        Log.d("ZMAppWidget", "onDeleted");

        // cancel location updates
        LocationManager lm = (LocationManager) context
                        .getSystemService(Context.LOCATION_SERVICE);
        lm.removeUpdates(piLocation);

        // cancel the alarm used to update the time
        AlarmManager alarms = (AlarmManager) context
                        .getSystemService(Context.ALARM_SERVICE);
        alarms.cancel(piAlarm);

}

Thanks.

-- 
Jake Colman -- Android Tinkerer

-- 

2. Droid X protected with eFuse? Really?

http://www.mydroidworld.com/forums/droid-x-discussion/3330-how-droid-x-locked-down-let-me-tell-you-what-i-know.html

Wow. I have no words.

-- 

3. debugging just the apk file

4. KOMPAS TEKNO - Huawei U8150 Langsung Menggebrak dengan Android 2.2

5. PackageManager denies my app DEVICE_POWER permission

6. how to check if the current thread is in the ui thread?

7. Permanent socket connection drains battery