Hi,
I'm currently trying to develop in OpenGL ES 2.0 using the Android 2.2
platform (revision 2) in Eclipse, but I must say it's been an
unpleasant experience so far.
Firstly, I see forum posts from as recently as June saying that there
is no support for OpenGL ES 2.0 in the emulator. Is this still the
case - i.e. do I really have to buy a Nexus One device just to develop
using this API??
Also, I'm having trouble with the "uses-feature" property in the
manifest file.
I'm using this line in my manifest:
<uses-feature android:glEsVersion="0x00020000" />
And this code to read the value (taken from the Android sample code):
public boolean detectOpenGLES20()
{
ActivityManager
am =
(ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
ConfigurationInfo
info = am.getDeviceConfigurationInfo();
return (info.reqGlEsVersion >= 0x20000);
}
However info.reqGlEsVersion only ever has the value of zero. Any
ideas why this might be? I've tried other values, such as 0x00010000,
but it's like it's not even reading this value.
Any help appreciated...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en