Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

fullScreen doesn't work properly

$
0
0

Hi everyone, I've installed Android Mode 3.0.2 through the IDE. It doesn't work when I work with images with parallax and alpha channel, but it does if I draw an ellipse. I am trying the sketch in the device.

I noticed I need to put fullScreen between settings, because otherwise it crashes from the begining.

1- As soon as I change the orientation it crashes, no messages, it stops working.

void settings(){
  fullScreen();
}

2- With this, it doesn't even start.

void settings(){
  fullScreen(P2D);
}

It throws the following errors: _KetaiSensor: start()... Ignoring <#text> tag. FATAL EXCEPTION: GLThread 2841 Process: processing.test.aceleforce, PID: 22321 java.lang.ArrayIndexOutOfBoundsException: length=480000; index=480000 at processing.opengl.Texture.convertToRGBA(Unknown Source) at processing.opengl.Texture.set(Unknown Source) at processing.opengl.Texture.set(Unknown Source) at processing.opengl.PGraphicsOpenGL.initCache(Unknown Source) at processing.opengl.PGraphicsOpenGL.getTexture(Unknown Source) at processing.opengl.PGraphicsOpenGL$TexCache.getTexture(Unknown Source) at processing.opengl.PGraphicsOpenGL.flushPolys(Unknown Source) at processing.opengl.PGraphicsOpenGL.flush(Unknown Source) at processing.opengl.PGraphicsOpenGL.endDraw(Unknown Source) at processing.core.PApplet.handleDraw(Unknown Source) at processing.opengl.PGLES$AndroidRenderer.onDrawFrame(Unknown Source) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1523) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240) _

I put Fullscreen in the manifest file. I appreciate any ideas, thanks!.

PD:Which is the faster way to render images with parallax?


Viewing all articles
Browse latest Browse all 941

Trending Articles