[Beta] RSAndEngine - Beta testers/Sample writers needed

XverhelstX

Well-Known Member
Licensed User
Longtime User
I tried the demo for now, and it crashed when the device was in Portrait mode.

Did you try the sample apk that was delivered or compiled from the b4a source?
Did you try RSBaseGame or RSSimpleBaseGame?
For portrait, you might need:

B4X:
EngineOptions.Initialize(True, True, EngineOptions.PORTRAIT_FIXED, Camera)


Hey Tomas,

I'd like to give it a try also if you could send me the link. Thanks.

Check your inbox.

Oh my God X, i have been waiting for this day, i started playing with it a while back and was able to make some really great wallpapers, but i stopped because it was a little too difficult for me, count me in if you'd like me to test also, oh my God this is so exciting, Great Job x.

Cheers,
Walter

Check your inbox.

If you still search some tester, i would also try it :)

- voiD

Check your inbox.

Also on a Tablet with 2.2

Are there any error messages?
Do you have any other phone to test it on?
Is it possible to check out the (unfiltered) log file and post it here.

Regards,
Tomas
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
RSAndEngine Beta has been updated to version 1.02!
Beta testers and sample writers can download it from the same link.

- Bug fixes
- Modifiers

  • AndAlphaModifier
  • AndMoveModifier
  • AndRotationModifier
  • AndSkewModifier
  • AndJumpModifier
  • AndLoopEntityModifier
  • AndDelayModifier
  • AndScaleModifier

B4X:
Dim rotMod As AndRotationModifier
rotMod.Initialize("RotationModifier", 3, 0, 360)
rotMod.addModifierListener
Player.registerEntityModifier(rotMod)

B4X:
' ! --------------- ! MODIFIER EVENTS ! -------------- !

Sub RotationModifier_Started
   'Log("Started")

End Sub

Sub RotationModifier_Finished
   'Log("Stopped")

End Sub


- TimerHandler

B4X:
Dim TimerHandler As AndTimerHandler
TimerHandler.Initialize("TimerHandler", 1/20, True)
Scene.RegisterUpdateHandler(TimerHandler)

B4X:
' ! --------------- ! TIMERHANDLER EVENTS ! -------------- !

Sub TimerHandler_TimePassed
   Text.Text = "FPS: " & fps.fps

End Sub

- FPSCounter

B4X:
Dim fps As AndFPSCounter
fps.Initialize("FPS")
AndEngine.RegisterUpdateHandler(fps)
Text.Text = "FPS: " & fps.fps

Check the tutorial for more information about these new features.

Regards,
Tomas
 

susu

Well-Known Member
Licensed User
Longtime User
Hi Tomas,

Your sample app only works in landscape screen mode, if not it will crash.

I want to be a beta tester too :)
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
The sample APK from your first post.

Hi Tomas,

Your sample app only works in landscape screen mode, if not it will crash.

I want to be a beta tester too :)

The sample might be a bit outdated and might be fixed with the latest version.
This is why it is still in beta.
Please try to compile the library with the sample.

@Susu, check your inbox
 

basil99

Active Member
Licensed User
Longtime User
Downloaded the latest ZIP ( RSAndEngineBeta.zip, V1.02 )

Got this error on both samples ( unfiltered logs below if helps: )

B4X:
** Service (gameservice) Create **
** Service (gameservice) Start **
VFY: unable to resolve static method 365: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
Starting activity: Intent { flg=0x10000000 cmp=com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity }
** Activity (main) Pause, UserClosed = false **
activity onCreate S
RSBaseGameActivity.onCreate @(Thread: 'main')
Engine Options created.
activity onStart S
activity onResume S
RSBaseGameActivity.onResume @(Thread: 'main')
VERSION: OpenGL ES 2.0 1309647
RENDERER: Adreno 200
EGLCONFIG: EGLConfig(Red=5, Green=6, Blue=5, Alpha=0, Depth=0, Stencil=0)
EXTENSIONS: GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_NV_fence GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_QCOM_memory_monitor 
MAX_VERTEX_ATTRIBS: 16
MAX_VERTEX_UNIFORM_VECTORS: 251
MAX_FRAGMENT_UNIFORM_VECTORS: 222
MAX_TEXTURE_IMAGE_UNITS: 16
MAX_TEXTURE_SIZE: 4096
RSBaseGameActivity.onSurfaceCreated @(Thread: 'GLThread 14')
RSBaseGameActivity.onCreateGame @(Thread: 'GLThread 14')
RSBaseGameActivity.onCreateResources @(Thread: 'GLThread 14')
Create Resources
RSBaseGameActivity.onSurfaceChanged(Width=480,  Height=320) @(Thread: 'GLThread 14')
Displayed activity com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity: 549 ms (total 549 ms)
**debug: ident = 0x6490fbff, identmidi = 0xd1e979fb
frameworks/base/media/libmediaplayerservice/MediaPlayerService.cpp::isASF
The Default Player is PV_PLAYER***********************
PVPlayer constructor
construct PlayerDriver
constructor
OpenCore hardware module loaded
start player thread
startPlayerThread
InitializeForThread
OMX_MasterInit
VFY: unable to resolve static method 327: Landroid/opengl/GLES20;.glDrawElements (IIII)V
VFY: unable to resolve static method 365: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
Exception Lorg/andengine/util/exception/AndEngineRuntimeException; thrown during Lorg/andengine/opengl/GLES20Fix;.<clinit>
threadid=11: thread exiting with uncaught exception (group=0x400207f8)
java.lang.ExceptionInInitializerError
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39)
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50)
   at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126)
   at org.andengine.opengl.shader.PositionTextureCoordinatesShaderProgram.bind(PositionTextureCoordinatesShaderProgram.java:86)
   at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)
   at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)
   at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)
   at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)
   at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:105)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Caused by: org.andengine.util.exception.AndEngineRuntimeException: Inherently incompatible device detected.
   at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)
   ... 11 more
FATAL EXCEPTION: GLThread 14
java.lang.ExceptionInInitializerError
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39)
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50)
   at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126)
   at org.andengine.opengl.shader.PositionTextureCoordinatesShaderProgram.bind(PositionTextureCoordinatesShaderProgram.java:86)
   at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)
   at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)
   at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)
   at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)
   at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:105)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Caused by: org.andengine.util.exception.AndEngineRuntimeException: Inherently incompatible device detected.
   at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)
   ... 11 more
  Force finishing activity com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity
  Force finishing activity com.rootsoft.rsandenginebase/.main
OsclScheduler::Init
CreatePlayer
AddToScheduler
PendForExec
OsclActiveScheduler::Current
StartScheduler
send PLAYER_SETUP
Send player code: 2
CommandCompleted
Completed command PLAYER_SETUP status=PVMFSuccess
setDataSource(18, 120788, 1905057)
prepareAsync
  data source = sharedfd://22:120788:1905057
Send player code: 3
handleSetDataSource
handleSetDataSource- scanning for extension
CommandCompleted
Completed command PLAYER_SET_DATA_SOURCE status=PVMFSuccess
run_init s=0, cancelled=0
Send player code: 6
release string is 2.2 len 3
CommandCompleted
Completed command PLAYER_INIT status=PVMFSuccess
run_set_video_surface s=0, cancelled=0
run_set_audio_output s=0, cancelled=0
Send player code: 5
Create realtime output
Creating Non-Tunnel mode playback - uncompressed MIO
CommandCompleted
Completed command PLAYER_SET_AUDIO_SINK status=PVMFSuccess
run_prepare s=0, cancelled=0
Send player code: 7
disable natpkt - 0
Activity pause timeout for HistoryRecord{45568f38 com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity}
Setting rotation to 0, animFlags=1
Config changed: { scale=1.0 imsi=0/0 loc=ru_RU touch=3 keys=1/1/2 nav=1/1 orien=1 layout=18 uiMode=17 seq=92}
updateProximitySensorMode: state = IDLE
activity onStart S
activity onResume S
HandleInformationalEvent: UNKNOWN PVMFStatus
HandleInformationalEvent: type=44 UNHANDLED
info/warning (1, 44)
CommandCompleted
Completed command PLAYER_PREPARE status=PVMFSuccess
PLAYER_PREPARE complete mDownloadContextData=0x0, mDataReadyReceived=0
Player is in prepared state, hence put the player to Pause state
check_for_live_streaming s=0, cancelled=0
HandleInformationalEvent: PVMFInfoPositionStatus
22897 android.vending 9 4335
23121 com.svox.pico 9 3058
Process com.svox.pico (pid 23121) has died.
Process com.android.vending (pid 22897) has died.
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
CommandCompleted
Completed command <null> status=PVMFSuccess
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
HandleInformationalEvent: PVMFInfoDurationAvailable
.... with duration = 119040 ms
RSBaseGameActivity.onCreateScene @(Thread: 'main')
Create scene
RSBaseGameActivity.onPause @(Thread: 'main')
Info (1,44)
RSBaseGameActivity.onPopulateScene @(Thread: 'main')
Populate scene
setLooping(0)
Send player code: 12
setLooping(0)
Send player code: 12
start
Send player code: 8
CommandCompleted
Completed command PLAYER_START status=PVMFSuccess
msm72xx_enable_audpp: 0x0011
RSBaseGameActivity.onGameCreated @(Thread: 'main')
RSBaseGameActivity.onResumeGame @(Thread: 'main')
RSBaseGameActivity.onDestroy @(Thread: 'main')
UpdateThread interrupted. Don't worry - this EngineDestroyedException is most likely expected!
org.andengine.engine.Engine$EngineDestroyedException
   at org.andengine.engine.Engine.throwOnDestroyed(Engine.java:574)
   at org.andengine.engine.Engine.onTickUpdate(Engine.java:546)
   at org.andengine.engine.Engine$UpdateThread.run(Engine.java:820)
RSBaseGameActivity.onDestroyResources @(Thread: 'main')
stop
Send player code: 9
acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@45424a08}
write blocked for 220 msecs, 15 delayed writes, thread 0xba38
CommandCompleted
Completed command PLAYER_STOP status=PVMFSuccess
reset
Send player code: 18
handleCancelAllCommands
CommandCompleted
Completed command PLAYER_CANCEL_ALL_COMMANDS status=PVMFSuccess
Send player code: 11
handleReset
CommandCompleted
Completed command PLAYER_RESET status=PVMFSuccess
Send player code: 17
handleRemoveDataSource
CommandCompleted
Completed command PLAYER_REMOVE_DATA_SOURCE status=PVMFSuccess
remove datasource complete
unmap file
PVPlayer destructor
Send player code: 1
DeletePlayer
destructor
OsclScheduler::Cleanup
RSBaseGameActivity.onGameDestroyed @(Thread: 'main')
Stopped
** Service (gameservice) Destroy **
process rmnet event
 rstate == DUN_RMNETSTATE_ERROR in dun_monitor_kevents
getNetworkLocation(): Returning cache location with accuracy 50.0
Start proc com.android.vending for service com.android.vending/com.google.android.finsky.services.ContentSyncService: pid=23157 uid=10040 gids={3003, 1015}
Publishing provider com.google.android.finsky.QSBSuggestionsProvider2: com.google.android.finsky.providers.QSBSuggestionsProvider
Publishing provider com.google.android.finsky.AppIconProvider: com.google.android.finsky.providers.AppIconProvider
Publishing provider com.google.android.finsky.RecentSuggestionsProvider: com.google.android.finsky.providers.RecentSuggestionsProvider
VFY: unable to resolve interface method 333: Landroid/content/SharedPreferences$Editor;.apply ()V
[1] FinskyApp.onCreate: Initializing network with DFE https://android.clients.google.com/fdfe/
VFY: unable to resolve static field 77 (BLOCKED) in Landroid/net/NetworkInfo$DetailedState;
VFY: unable to resolve static method 627: Landroid/net/TrafficStats;.setThreadStatsTag (I)V
[1] DailyHygiene.goMakeHygieneIfDirty: No need to run daily hygiene.
Link of class 'Lcom/google/android/finsky/widget/recommendation/RecommendationsViewFactory;' failed
VFY: unable to resolve static method 19171: Lcom/google/android/finsky/widget/recommendation/RecommendationsViewFactory;.notifyDataSetChanged (Landroid/content/Context;[I)V
releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@45424a08}
VFY: unable to resolve instance field 49
VFY: unable to resolve static field 90 (SERIAL) in Landroid/os/Build;
VFY: unable to resolve static field 90 (SERIAL) in Landroid/os/Build;
[1] 2.run: Loaded library for account: [aZczYxLK3LEy8HuoiFP6KX3xzB4]
[1] 2.run: Finished loading 1 libraries.
Start proc android.process.media for content provider com.android.providers.downloads/.DownloadProvider: pid=23181 uid=10005 gids={1015, 1006, 2001, 3003}
Publishing provider media: com.android.providers.media.MediaProvider
Attached volume: internal
/mnt/sdcard volume ID: -105251025
[1] 5.onFinished: Installation state replication succeeded.
Attached volume: external
Publishing provider downloads: com.android.providers.downloads.DownloadProvider
****** Before killing process, pid: 23137 ******
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Publishing provider drm: com.android.providers.drm.DrmProvider
showStatusIcon on inactive InputConnection
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
*** Process Name: com.rootsoft.rsandenginebase   Pid: 23137 ***
Thread Name:   Thread-14      Tid: 23149
Thread Name:   Thread-11      Tid: 23147
Thread Name:   Thread-10      Tid: 23146
Thread Name:   Thread-8      Tid: 23144
Thread Name:   Binder Thread #      Tid: 23142
Thread Name:   Binder Thread #      Tid: 23141
Thread Name:   Compiler      Tid: 23140
Thread Name:   Signal Catcher      Tid: 23139
Thread Name:   HeapWorker      Tid: 23138
*** Stack trace: ***
RuntimeInit.java(86): uncaughtException()
BA.java(94): uncaughtException()
ThreadGroup.java(887): uncaughtException()
ThreadGroup.java(884): uncaughtException()
~~~~~~ End stack trace.
Process com.rootsoft.rsandenginebase (pid 23137) has died.


Device: Android 2.2
Screen: 480x320
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Downloaded the latest ZIP ( RSAndEngineBeta.zip, V1.02 )

Got this error on both samples ( unfiltered logs below if helps: )

B4X:
** Service (gameservice) Create **
** Service (gameservice) Start **
VFY: unable to resolve static method 365: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
Starting activity: Intent { flg=0x10000000 cmp=com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity }
** Activity (main) Pause, UserClosed = false **
activity onCreate S
RSBaseGameActivity.onCreate @(Thread: 'main')
Engine Options created.
activity onStart S
activity onResume S
RSBaseGameActivity.onResume @(Thread: 'main')
VERSION: OpenGL ES 2.0 1309647
RENDERER: Adreno 200
EGLCONFIG: EGLConfig(Red=5, Green=6, Blue=5, Alpha=0, Depth=0, Stencil=0)
EXTENSIONS: GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_NV_fence GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_QCOM_memory_monitor 
MAX_VERTEX_ATTRIBS: 16
MAX_VERTEX_UNIFORM_VECTORS: 251
MAX_FRAGMENT_UNIFORM_VECTORS: 222
MAX_TEXTURE_IMAGE_UNITS: 16
MAX_TEXTURE_SIZE: 4096
RSBaseGameActivity.onSurfaceCreated @(Thread: 'GLThread 14')
RSBaseGameActivity.onCreateGame @(Thread: 'GLThread 14')
RSBaseGameActivity.onCreateResources @(Thread: 'GLThread 14')
Create Resources
RSBaseGameActivity.onSurfaceChanged(Width=480,  Height=320) @(Thread: 'GLThread 14')
Displayed activity com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity: 549 ms (total 549 ms)
**debug: ident = 0x6490fbff, identmidi = 0xd1e979fb
frameworks/base/media/libmediaplayerservice/MediaPlayerService.cpp::isASF
The Default Player is PV_PLAYER***********************
PVPlayer constructor
construct PlayerDriver
constructor
OpenCore hardware module loaded
start player thread
startPlayerThread
InitializeForThread
OMX_MasterInit
VFY: unable to resolve static method 327: Landroid/opengl/GLES20;.glDrawElements (IIII)V
VFY: unable to resolve static method 365: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
Exception Lorg/andengine/util/exception/AndEngineRuntimeException; thrown during Lorg/andengine/opengl/GLES20Fix;.<clinit>
threadid=11: thread exiting with uncaught exception (group=0x400207f8)
java.lang.ExceptionInInitializerError
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39)
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50)
   at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126)
   at org.andengine.opengl.shader.PositionTextureCoordinatesShaderProgram.bind(PositionTextureCoordinatesShaderProgram.java:86)
   at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)
   at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)
   at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)
   at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)
   at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:105)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Caused by: org.andengine.util.exception.AndEngineRuntimeException: Inherently incompatible device detected.
   at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)
   ... 11 more
FATAL EXCEPTION: GLThread 14
java.lang.ExceptionInInitializerError
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39)
   at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50)
   at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126)
   at org.andengine.opengl.shader.PositionTextureCoordinatesShaderProgram.bind(PositionTextureCoordinatesShaderProgram.java:86)
   at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)
   at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)
   at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)
   at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)
   at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:105)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Caused by: org.andengine.util.exception.AndEngineRuntimeException: Inherently incompatible device detected.
   at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)
   ... 11 more
  Force finishing activity com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity
  Force finishing activity com.rootsoft.rsandenginebase/.main
OsclScheduler::Init
CreatePlayer
AddToScheduler
PendForExec
OsclActiveScheduler::Current
StartScheduler
send PLAYER_SETUP
Send player code: 2
CommandCompleted
Completed command PLAYER_SETUP status=PVMFSuccess
setDataSource(18, 120788, 1905057)
prepareAsync
  data source = sharedfd://22:120788:1905057
Send player code: 3
handleSetDataSource
handleSetDataSource- scanning for extension
CommandCompleted
Completed command PLAYER_SET_DATA_SOURCE status=PVMFSuccess
run_init s=0, cancelled=0
Send player code: 6
release string is 2.2 len 3
CommandCompleted
Completed command PLAYER_INIT status=PVMFSuccess
run_set_video_surface s=0, cancelled=0
run_set_audio_output s=0, cancelled=0
Send player code: 5
Create realtime output
Creating Non-Tunnel mode playback - uncompressed MIO
CommandCompleted
Completed command PLAYER_SET_AUDIO_SINK status=PVMFSuccess
run_prepare s=0, cancelled=0
Send player code: 7
disable natpkt - 0
Activity pause timeout for HistoryRecord{45568f38 com.rootsoft.rsandenginebase/com.rootsoft.rsandengine.RSBaseGameActivity}
Setting rotation to 0, animFlags=1
Config changed: { scale=1.0 imsi=0/0 loc=ru_RU touch=3 keys=1/1/2 nav=1/1 orien=1 layout=18 uiMode=17 seq=92}
updateProximitySensorMode: state = IDLE
activity onStart S
activity onResume S
HandleInformationalEvent: UNKNOWN PVMFStatus
HandleInformationalEvent: type=44 UNHANDLED
info/warning (1, 44)
CommandCompleted
Completed command PLAYER_PREPARE status=PVMFSuccess
PLAYER_PREPARE complete mDownloadContextData=0x0, mDataReadyReceived=0
Player is in prepared state, hence put the player to Pause state
check_for_live_streaming s=0, cancelled=0
HandleInformationalEvent: PVMFInfoPositionStatus
22897 android.vending 9 4335
23121 com.svox.pico 9 3058
Process com.svox.pico (pid 23121) has died.
Process com.android.vending (pid 22897) has died.
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
CommandCompleted
Completed command <null> status=PVMFSuccess
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
onReceive intent = Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000000 }
HandleInformationalEvent: PVMFInfoDurationAvailable
.... with duration = 119040 ms
RSBaseGameActivity.onCreateScene @(Thread: 'main')
Create scene
RSBaseGameActivity.onPause @(Thread: 'main')
Info (1,44)
RSBaseGameActivity.onPopulateScene @(Thread: 'main')
Populate scene
setLooping(0)
Send player code: 12
setLooping(0)
Send player code: 12
start
Send player code: 8
CommandCompleted
Completed command PLAYER_START status=PVMFSuccess
msm72xx_enable_audpp: 0x0011
RSBaseGameActivity.onGameCreated @(Thread: 'main')
RSBaseGameActivity.onResumeGame @(Thread: 'main')
RSBaseGameActivity.onDestroy @(Thread: 'main')
UpdateThread interrupted. Don't worry - this EngineDestroyedException is most likely expected!
org.andengine.engine.Engine$EngineDestroyedException
   at org.andengine.engine.Engine.throwOnDestroyed(Engine.java:574)
   at org.andengine.engine.Engine.onTickUpdate(Engine.java:546)
   at org.andengine.engine.Engine$UpdateThread.run(Engine.java:820)
RSBaseGameActivity.onDestroyResources @(Thread: 'main')
stop
Send player code: 9
acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@45424a08}
write blocked for 220 msecs, 15 delayed writes, thread 0xba38
CommandCompleted
Completed command PLAYER_STOP status=PVMFSuccess
reset
Send player code: 18
handleCancelAllCommands
CommandCompleted
Completed command PLAYER_CANCEL_ALL_COMMANDS status=PVMFSuccess
Send player code: 11
handleReset
CommandCompleted
Completed command PLAYER_RESET status=PVMFSuccess
Send player code: 17
handleRemoveDataSource
CommandCompleted
Completed command PLAYER_REMOVE_DATA_SOURCE status=PVMFSuccess
remove datasource complete
unmap file
PVPlayer destructor
Send player code: 1
DeletePlayer
destructor
OsclScheduler::Cleanup
RSBaseGameActivity.onGameDestroyed @(Thread: 'main')
Stopped
** Service (gameservice) Destroy **
process rmnet event
 rstate == DUN_RMNETSTATE_ERROR in dun_monitor_kevents
getNetworkLocation(): Returning cache location with accuracy 50.0
Start proc com.android.vending for service com.android.vending/com.google.android.finsky.services.ContentSyncService: pid=23157 uid=10040 gids={3003, 1015}
Publishing provider com.google.android.finsky.QSBSuggestionsProvider2: com.google.android.finsky.providers.QSBSuggestionsProvider
Publishing provider com.google.android.finsky.AppIconProvider: com.google.android.finsky.providers.AppIconProvider
Publishing provider com.google.android.finsky.RecentSuggestionsProvider: com.google.android.finsky.providers.RecentSuggestionsProvider
VFY: unable to resolve interface method 333: Landroid/content/SharedPreferences$Editor;.apply ()V
[1] FinskyApp.onCreate: Initializing network with DFE https://android.clients.google.com/fdfe/
VFY: unable to resolve static field 77 (BLOCKED) in Landroid/net/NetworkInfo$DetailedState;
VFY: unable to resolve static method 627: Landroid/net/TrafficStats;.setThreadStatsTag (I)V
[1] DailyHygiene.goMakeHygieneIfDirty: No need to run daily hygiene.
Link of class 'Lcom/google/android/finsky/widget/recommendation/RecommendationsViewFactory;' failed
VFY: unable to resolve static method 19171: Lcom/google/android/finsky/widget/recommendation/RecommendationsViewFactory;.notifyDataSetChanged (Landroid/content/Context;[I)V
releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@45424a08}
VFY: unable to resolve instance field 49
VFY: unable to resolve static field 90 (SERIAL) in Landroid/os/Build;
VFY: unable to resolve static field 90 (SERIAL) in Landroid/os/Build;
[1] 2.run: Loaded library for account: [aZczYxLK3LEy8HuoiFP6KX3xzB4]
[1] 2.run: Finished loading 1 libraries.
Start proc android.process.media for content provider com.android.providers.downloads/.DownloadProvider: pid=23181 uid=10005 gids={1015, 1006, 2001, 3003}
Publishing provider media: com.android.providers.media.MediaProvider
Attached volume: internal
/mnt/sdcard volume ID: -105251025
[1] 5.onFinished: Installation state replication succeeded.
Attached volume: external
Publishing provider downloads: com.android.providers.downloads.DownloadProvider
****** Before killing process, pid: 23137 ******
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Publishing provider drm: com.android.providers.drm.DrmProvider
showStatusIcon on inactive InputConnection
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
*** Process Name: com.rootsoft.rsandenginebase   Pid: 23137 ***
Thread Name:   Thread-14      Tid: 23149
Thread Name:   Thread-11      Tid: 23147
Thread Name:   Thread-10      Tid: 23146
Thread Name:   Thread-8      Tid: 23144
Thread Name:   Binder Thread #      Tid: 23142
Thread Name:   Binder Thread #      Tid: 23141
Thread Name:   Compiler      Tid: 23140
Thread Name:   Signal Catcher      Tid: 23139
Thread Name:   HeapWorker      Tid: 23138
*** Stack trace: ***
RuntimeInit.java(86): uncaughtException()
BA.java(94): uncaughtException()
ThreadGroup.java(887): uncaughtException()
ThreadGroup.java(884): uncaughtException()
~~~~~~ End stack trace.
Process com.rootsoft.rsandenginebase (pid 23137) has died.


Device: Android 2.2
Screen: 480x320

Thanks basil99. This seems like an interesting bug.
I did som research and it looks like it's a bug in AndEngine.

andengine - ExceptionInInitializer Error duriing Project Install on Device - Game Development Stack Exchange

at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)

I'll check how I can fix it.
Thanks for the report.

Regards,
Tomas
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
It would be cool if I could get beta acces, too :sign0060:

Check your inbox.

Version 1.03 will contain:
- Bugfixes
- Fix for 2.2 (needs testing)
- AndPhysics!
- ParallaxLayer
- Rectangle (ground)
(Not yet available to beta tester)

mLTSCOA.png

I made a very small platformer game which supports:

- Animated sprite + character
- Physics
- Rectangle as ground
- On control buttons
- Background
- FPS
- Idle
- Walking
- Jumping
- Earth gravity force
- ...
(This sample does not include the fix for 2.2)

All in less then 250 lines of code!

Sample: https://www.dropbox.com/s/waqeervcsdqby91/RSBaseGamePhysics.apk?m

Regards,
Tomas
 
Last edited:

Informatix

Expert
Licensed User
Longtime User
I tried the version 1.02 this afternoon. I had no issue to create a mini-game.
On the contrary, with the latest sample, the app crashes under Gingerbread (2.3.6):
** Service (gameservice) Start **
** Activity (main) Pause, UserClosed = false **
Engine Options created.
Create Resources
Library loaded!
Create scene
Engine Options created.
gameservice_andengine_createscene (java line: 131)
java.lang.NullPointerException
at org.andengine.ui.activity.BaseGameActivity$2.onCreateSceneFinished(BaseGameActivity.java:147)
at com.rootsoft.rsandengine.RSAndEngine.CreateSceneFinished(RSAndEngine.java:133)
at com.rootsoft.rsandenginephysics.gameservice._andengine_createscene(gameservice.java:131)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA$2.run(BA.java:272)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:195)
at anywheresoftware.b4a.BA$2.run(BA.java:272)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
I tried the version 1.02 this afternoon. I had no issue to create a mini-game.
On the contrary, with the latest sample, the app crashes under Gingerbread (2.3.6):
** Service (gameservice) Start **
** Activity (main) Pause, UserClosed = false **
Engine Options created.
Create Resources
Library loaded!
Create scene
Engine Options created.
gameservice_andengine_createscene (java line: 131)
java.lang.NullPointerException
at org.andengine.ui.activity.BaseGameActivity$2.onCreateSceneFinished(BaseGameActivity.java:147)
at com.rootsoft.rsandengine.RSAndEngine.CreateSceneFinished(RSAndEngine.java:133)
at com.rootsoft.rsandenginephysics.gameservice._andengine_createscene(gameservice.java:131)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA$2.run(BA.java:272)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:195)
at anywheresoftware.b4a.BA$2.run(BA.java:272)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)

Walterf25 has had the same problem. He download it again and it seemed to work.

Could you try out my latest sample here:
https://www.dropbox.com/s/ixo6exrxlkzcl48/RSBaseGamePhysics2.apk?m

Regards,
Tomas
 

Informatix

Expert
Licensed User
Longtime User
Second attempt and same result, except that I see now the Start Game button and that I can click on it.

EDIT: I restarted the game once more, and then it worked! In my log, I have three reports of crash before that. I didn't change anything (I didn't even move the device).
 
Last edited:

XverhelstX

Well-Known Member
Licensed User
Longtime User
Second attempt and same result, except that I see now the Start Game button and that I can click on it.

EDIT: I restarted the game once more, and then it worked! In my log, I have three reports of crash before that. I didn't change anything (I didn't even move the device).

We managed to reproduce the problem. The bug was once you start the game in portrait mode, it would crash.

This is fixed now.

https://www.dropbox.com/s/waqeervcsdqby91/RSBaseGamePhysics.apk
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Last edited:

NFOBoy

Active Member
Licensed User
Longtime User
Working through the AndEngine Game Development Cookbook now. Will gladly beta-test to try and work through the samples in B4A at the same time.

Ross
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Working through the AndEngine Game Development Cookbook now. Will gladly beta-test to try and work through the samples in B4A at the same time.

Ross

Thanks Ross.
If you need anything specific for AndEngine, like classes, etc, please let me know on this topic.

Note that there's a tutorial on RSAndEngine too.

Regards,
Tomas

Verstuurd van mijn X909 met Tapatalk
 

NFOBoy

Active Member
Licensed User
Longtime User
Tomas,

I see the RSAndEngine tutorial as well, and am sure I will refer to it. Did I miss the link for the RSAE beta library?

Ross
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Version 1.04 will support TMXTiles!

TMX (Tile Map XML) is a XML based format, that is mainly human readable but still has very small file-sizes. The biggest plus of the TMX format is that it has a fully featured and easy to use cross-platform Map-Editor called “Tiled”, which can be obtained for free here: Tiled Map Editor

The TMX map format used by Tiled is a flexible way to describe a tile based map. It can describe maps with any tile size, any amount of layers, any number of tile sets and it allows custom properties to be set on most elements. Beside tile layers, it can also contain groups of objects that can be placed freely.

In the meantime, let's welcome our good Italien friend into Basic4Android.

YRHNbb1.png

The new sample showcase the new powerful feature which will be available in V1.04: TMXTiles.
Note that there may probably be some bugs in the B4A code. I'm not a game developer myself, this is why i'm looking for sample writers which can develop games better then me to showcase AndEngine.

https://www.dropbox.com/s/th2c127r6e0zk9n/MyItalienFriend.apk

Regards,
Tomas
 
Last edited:
Top