Issue with Open GL ES function

192 views
Skip to first unread message

lee

unread,
Jun 20, 2012, 3:03:06 PM6/20/12
to phonegap
Hi,

I am working on a phonegap, jquerymobile HTML5 app.
I am getting the error 'Call to OpenGL ES API with no current context
(logged once per thread)'
I tried to resolve this by seeing under discussions but could not. I
don't understand the reason for this error but I observe this error
when i make call to window.opendatabse in my application.
I am using eclipse along with Android SDK Emulator 4.0.

My Activity class is a simple one mentioned in start guides of
Phonegap Android
import org.apache.cordova.DroidGap;
import android.os.Bundle;


public class HelloWorldActivity extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/main.html");
//super.loadUrl("file:///C:/Softwares/Workspace/HelloWorld/
assets/www/index.html");

}
}


Please let me know how to resolve this error and any sample code to do
the same will be very useful to me.
I find this google group very helpful in developing phonegap apps.

Thanks
Lee

lee

unread,
Jun 22, 2012, 1:59:54 PM6/22/12
to phonegap
Hi ...

Can anyone answer this question ?

Thanks ...

lee

unread,
Jun 22, 2012, 10:14:35 PM6/22/12
to phonegap

Flavio Freitas

unread,
May 2, 2013, 1:33:50 PM5/2/13
to phon...@googlegroups.com
Does someone know how to solve it?




On Tuesday, 24 July 2012 17:09:35 UTC-3, John Wolfsteiner wrote:
I am experiencing the same issue. This only happens with Android 4 (ICS)
Just a simple app with basic html and some jqm dialogs.
The app works but every time this error pops up I see a flicker in on the screen.

Regards
Reply all
Reply to author
Forward
0 new messages