Comments (3)
Some more info, the following was tried in the emulator.
If I press the home button, and then re-activate the app, things work ok. However, if I press the back button and then re-activate it doesn't work.
I think that in the first case the app get's paused, whereas in the later case it gets destroyed and created, and it is this that doesn't work.
I placed I console log in the onDestroy method, and this log comes out when pressing the back button, which is how I draw this conclusion. Also, together with that log I see:
06-02 05:12:09.820: E/libEGL(1535): call to OpenGL ES API with no current context (logged once per thread)
This is on destroy. On re-activating the app I see this trace:
06-02 05:18:15.660: D/ejecta(1583): Event: Canvas was created
But the screen is just empty.
Let me know what you need more!
from ejecta-x.
After some fiddling around my intuition tells me that maybe this has something to do with the API version, but I could be completely wrong since I'm a noob when it comes to Android development.
I am however able to reproduce the issue with a simple test that just creates a GLSurfaceView and I asked a question here about that:
http://stackoverflow.com/questions/23999057/simple-glsurfaceview-test-crashes
from ejecta-x.
I'm also encounter this issue on Galaxy Tab 2 running Android 4.4.4 (Kitkat).
06-27 18:57:46.039 9238-9238/com.impactjs.ejecta.sample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
from ejecta-x.
Related Issues (20)
- EJApp --> EJAppViewController + EJJavascriptView
- EJClassLoader Refactor
- Text not rendering on Canvas HOT 4
- How to import my js game into Ejecta ? HOT 6
- Three.js support HOT 2
- How do I debug craches in .so's HOT 1
- Can't Find Shaders... HOT 5
- FATAL EXCEPTION: GLThread when building sample project HOT 5
- Phaser/Pixi integration issue HOT 6
- Missing compiled libraries HOT 5
- Ejecta-X Showcase HOT 1
- sample app HOT 3
- Sample app add JSON XHR example
- Fill and transparent stroke not working on offscreen canvas on Tegra devices
- Better setup documentation HOT 5
- Function.prototype.bind is undefined HOT 1
- Is this an Android-only fork of Ejecta? HOT 1
- Say something about Ejecta-X.
- Error build with target x86 (The x86 prebuilt binary is actually armeabi-v7a binary)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejecta-x.