final ActivityManager am = (ActivityManager)context.getSystemService( Context.ACTIVITY_SERVICE ); final ConfigurationInfo info = am.getDeviceConfigurationInfo(); finalboolean hasOpenGL20 = info.reqGlEsVersion >= 0x20000;
in case this is "true" on Your device, but "false" in emulator you are using an unsupported emulator.
Hope that helps.
Cheers, Andreas
D
Defkon1
said
almost 11 years ago
you are right, actually seems that my AVD emulator does not support openGL, even if i set "GPU emulation" to 'yes'.
according to official docs, standard emulator supports openGL only with API15+, and i've tried with all API versions from 8 to 14 (sigh!).
i'm downloading newer API packages, i will inform you if the problem solves.
thanks!
D
Defkon1
said
almost 11 years ago
nothing... i tried with API16 with sdk tools rev20, but doesn't work...
in official docs i found this note:
Note: Not all applications are compatible with graphics hardware acceleration. In particular, the Browser application and applications using the WebView component are not compatible with graphics acceleration..
does SimpleARBrowser/Wikitude SDK fall into this case?
A
Andreas Fötschl
said
almost 11 years ago
Hi again,
Yes, the SDK is using the WebView component. You're therefore only able to test/develop the SDK on a device.
Sorry for inconvenience, Andreas
D
Defkon1
said
almost 11 years ago
Hi again,
Yes, the SDK is using the WebView component. You're therefore only able to test/develop the SDK on a device.
Defkon1