Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

2 critical bug on android with audio and video for some devices
Started by rodion Jul 17 2013 05:26 AM

6 replies to this topic
android crash audio crash video crash
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

rodion

[GLOBAL: userInfoPane.html]
rodion
  • Observer

  • 21 posts
  • Corona SDK

I report this 2 bugs but dont have answer so I write here

 

1) Problem with video

 

local onComplete = function(event)
    --print( "video session ended" )
   end
   
media.playVideo( "intro.mp4", false, onComplete )

 

for some device like ONDA, Fly, Jiayu G3, Ascend g300 and oter I dont know model? because user post it on android crash report, when video finish - crash

LOG
java.lang.NullPointerException
at com.ansca.corona.VideoActivity$1.onCompletion(VideoActivity.java:48)
at android.widget.VideoView$3.onCompletion(VideoView.java:345)
at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:1578)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:835)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

 

2) Problem with audio for some device (ONDA, Jiayu G3, Ascend g300, NOVO 7 Tornados and other)  if I load, play or reserve channels like

audio.reserveChannels( 4 )
MENU_SOUND = audio.loadStream( "audio/menu.mp3" )

audio.play( MENU_SOUND, { channel=2, loops=-1 }  )

 

I posted it here
http://forums.coronalabs.com/topic/29149-audio-and-video-crash-on-android-device-v-2013999/

but now aswer from Jan 14 2013

 

I need fast fix, or other developer dont have this problem?

 



[TOPIC: post.html]
#2

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

May be exist method how catch this exception, corona where are you? Some users with this problem gime 1 star rating.

 

I build default AudioPlayer Sample Code v 2013.1161
 

 

Here log

07-18 14:23:59.609: I/dalvikvm-heap(12759): Grow heap (frag case) to 6.015MB for 614416-byte allocation
07-18 14:23:59.649: I/dalvikvm-heap(12759): Grow heap (frag case) to 6.599MB for 614416-byte allocation
07-18 14:23:59.729: I/SoundDecoder(12759): ALL MPG123 DECODERS:
07-18 14:23:59.729: I/SoundDecoder(12759):  generic
07-18 14:23:59.729: I/SoundDecoder(12759): SUPPORTED MPG123 DECODERS:
07-18 14:23:59.729: I/SoundDecoder(12759):  generic
07-18 14:23:59.729: I/OpenAL_SLES(12759): opensles_open_playback pDevice=0x5b3a7008, deviceName=(null)
07-18 14:23:59.749: I/OpenAL_SLES(12759): OpenSLES could not be loaded.
07-18 14:23:59.749: A/libc(12759): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
07-18 14:24:00.019: V/WindowManager(3253): Preventing status bar from hiding by policy
07-18 14:24:00.149: I/DEBUG(2313): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-18 14:24:00.149: I/DEBUG(2313): Build fingerprint: 'unknown'
07-18 14:24:00.149: I/DEBUG(2313): pid: 12759, tid: 12777  >>> com.mycompany.rodion.AudioPlayer <<<
07-18 14:24:00.149: I/DEBUG(2313): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
07-18 14:24:00.149: I/DEBUG(2313):  r0 00000000  r1 59ba85f0  r2 00000000  r3 59b5a7c4
07-18 14:24:00.149: I/DEBUG(2313):  r4 59ba85e8  r5 00000000  r6 5b3a7008  r7 00000001
07-18 14:24:00.149: I/DEBUG(2313):  r8 59ba8038  r9 00195680  10 000513f8  fp 0017db40
07-18 14:24:00.149: I/DEBUG(2313):  ip 400cf108  sp 5a0e37e0  lr 59b47d08  pc 59b5a7e4  cpsr 20030010
07-18 14:24:00.149: I/DEBUG(2313):  d0  6f6c20656220746f  d1  706e755f73696272
07-18 14:24:00.149: I/DEBUG(2313):  d2  6163203531333220  d3  636f6c20746f6e6e
07-18 14:24:00.149: I/DEBUG(2313):  d4  6f6620276f732e74  d5  697762696c272072
07-18 14:24:00.149: I/DEBUG(2313):  d6  6f732e6d6c65686c  d7  636f6c6572282027
07-18 14:24:00.149: I/DEBUG(2313):  d8  3fe0000000000000  d9  0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d10 0000000000000000  d11 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d12 0000000000000000  d13 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d14 0000000000000000  d15 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d16 3fe6a09e667f3bcd  d17 3f8fcf32d797aef0
07-18 14:24:00.149: I/DEBUG(2313):  d18 3fe621619b20dd11  d19 3fd3bd3cc9be45de
07-18 14:24:00.149: I/DEBUG(2313):  d20 0000000000000000  d21 3f99c8a0cf9f3cbd
07-18 14:24:00.149: I/DEBUG(2313):  d22 3e21df36098310b4  d23 bda8fae9be8838d4
07-18 14:24:00.149: I/DEBUG(2313):  d24 3e66376972bea4d0  d25 c010000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d26 3ff6a09e00000000  d27 b9938b6d15331805
07-18 14:24:00.149: I/DEBUG(2313):  d28 c000000000000002  d29 bcc98d4c957ef5fc
07-18 14:24:00.149: I/DEBUG(2313):  d30 b94b794ffffffffb  d31 bb81414b5fc00000
07-18 14:24:00.149: I/DEBUG(2313):  scr 60000012
07-18 14:24:00.299: I/DEBUG(2313):          #00  pc 000237e4  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):          #01  pc 00010d04  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so (alcOpenDevice)
07-18 14:24:00.309: I/DEBUG(2313):          #02  pc 000071c6  /data/data/com.mycompany.rodion.AudioPlayer/lib/libalmixer.so (ALmixer_Init)
07-18 14:24:00.309: I/DEBUG(2313):          #03  pc 000d00a0  /data/data/com.mycompany.rodion.AudioPlayer/lib/libcorona.so (_ZN3Rtt20PlatformOpenALPlayer22InitializeOpenALPlayerEv)
07-18 14:24:00.309: I/DEBUG(2313):          #04  pc 000d0204  /data/data/com.mycompany.rodion.AudioPlayer/lib/libcorona.so (_ZN3Rtt20PlatformOpenALPlayer16SetVolumeChannelEif)
07-18 14:24:00.309: I/DEBUG(2313):          #05  pc 000c249c  /data/data/com.mycompany.rodion.AudioPlayer/lib/libcorona.so
07-18 14:24:00.309: I/DEBUG(2313): code around pc:
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7c4 e92d40f8 e1a06000 e59f4220 e1a05001  .@-..`.. B...P..
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7d4 e3a02000 e08f4004 e2841008 e5940004  . ...@..........
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7e4 e5903000 e5933010 e12fff33 e594300c  .0...0..3./..0..
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7f4 e3530000 0a000017 e3550000 0a000071  ..S.......U.q...
07-18 14:24:00.309: I/DEBUG(2313): 59b5a804 e59f11ec e1a00005 e08f1001 ebff87fb  ................
07-18 14:24:00.309: I/DEBUG(2313): code around lr:
07-18 14:24:00.309: I/DEBUG(2313): 59b47ce8 e1a00004 e1a01005 e1a03183 e2833010  .........1...0..
07-18 14:24:00.309: I/DEBUG(2313): 59b47cf8 e0882003 e784200a e7983003 e12fff33  . ... ...0..3./.
07-18 14:24:00.309: I/DEBUG(2313): 59b47d08 e3500000 1a000097 e2866038 e2877001  ..P.....8`...p..
07-18 14:24:00.309: I/DEBUG(2313): 59b47d18 e5963004 e3530000 0a000008 e5960010  .0....S.........
07-18 14:24:00.309: I/DEBUG(2313): 59b47d28 e3500000 1affffec e596300c e12fff33  ..P......0..3./.
07-18 14:24:00.309: I/DEBUG(2313): stack:
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a0  00001000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a8  00000018 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37ac  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b0  4892fac0  /dev/ashmem/dalvik-heap (deleted)
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b8  4892fac0  /dev/ashmem/dalvik-heap (deleted)
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37bc  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c0  000000ff 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c8  000002ee 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37cc  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d0  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d4  59ba8618  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d8  df0027ad 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37dc  00000000 
07-18 14:24:00.309: I/DEBUG(2313): #00 5a0e37e0  59b5a7c4  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37e4  5b3a7008 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37e8  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37ec  59ba8070  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37f0  00000001 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37f4  59b47d08  /data/data/com.mycompany.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313): #01 5a0e37f8  0000000c 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37fc  00000020 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3800  00000001 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3804  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3808  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e380c  586d8048  /data/data/com.mycompany.rodion.AudioPlayer/lib/libalmixer.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3810  0017db40  [heap]
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3814  586ce1c9  /data/data/com.mycompany.rodion.AudioPlayer/lib/libalmixer.so
07-18 14:23:59.729: I/SoundDecoder(12759): ALL MPG123 DECODERS:
07-18 14:23:59.729: I/SoundDecoder(12759):  generic
07-18 14:23:59.729: I/SoundDecoder(12759): SUPPORTED MPG123 DECODERS:
07-18 14:23:59.729: I/SoundDecoder(12759):  generic
07-18 14:23:59.729: I/OpenAL_SLES(12759): opensles_open_playback pDevice=0x5b3a7008, deviceName=(null)
07-18 14:23:59.749: I/OpenAL_SLES(12759): OpenSLES could not be loaded.
07-18 14:23:59.749: A/libc(12759): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
07-18 14:24:00.019: V/WindowManager(3253): Preventing status bar from hiding by policy
07-18 14:24:00.149: I/DEBUG(2313): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-18 14:24:00.149: I/DEBUG(2313): Build fingerprint: 'unknown'
07-18 14:24:00.149: I/DEBUG(2313): pid: 12759, tid: 12777  >>> com.wysegames.rodion.AudioPlayer <<<
07-18 14:24:00.149: I/DEBUG(2313): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
07-18 14:24:00.149: I/DEBUG(2313):  r0 00000000  r1 59ba85f0  r2 00000000  r3 59b5a7c4
07-18 14:24:00.149: I/DEBUG(2313):  r4 59ba85e8  r5 00000000  r6 5b3a7008  r7 00000001
07-18 14:24:00.149: I/DEBUG(2313):  r8 59ba8038  r9 00195680  10 000513f8  fp 0017db40
07-18 14:24:00.149: I/DEBUG(2313):  ip 400cf108  sp 5a0e37e0  lr 59b47d08  pc 59b5a7e4  cpsr 20030010
07-18 14:24:00.149: I/DEBUG(2313):  d0  6f6c20656220746f  d1  706e755f73696272
07-18 14:24:00.149: I/DEBUG(2313):  d2  6163203531333220  d3  636f6c20746f6e6e
07-18 14:24:00.149: I/DEBUG(2313):  d4  6f6620276f732e74  d5  697762696c272072
07-18 14:24:00.149: I/DEBUG(2313):  d6  6f732e6d6c65686c  d7  636f6c6572282027
07-18 14:24:00.149: I/DEBUG(2313):  d8  3fe0000000000000  d9  0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d10 0000000000000000  d11 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d12 0000000000000000  d13 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d14 0000000000000000  d15 0000000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d16 3fe6a09e667f3bcd  d17 3f8fcf32d797aef0
07-18 14:24:00.149: I/DEBUG(2313):  d18 3fe621619b20dd11  d19 3fd3bd3cc9be45de
07-18 14:24:00.149: I/DEBUG(2313):  d20 0000000000000000  d21 3f99c8a0cf9f3cbd
07-18 14:24:00.149: I/DEBUG(2313):  d22 3e21df36098310b4  d23 bda8fae9be8838d4
07-18 14:24:00.149: I/DEBUG(2313):  d24 3e66376972bea4d0  d25 c010000000000000
07-18 14:24:00.149: I/DEBUG(2313):  d26 3ff6a09e00000000  d27 b9938b6d15331805
07-18 14:24:00.149: I/DEBUG(2313):  d28 c000000000000002  d29 bcc98d4c957ef5fc
07-18 14:24:00.149: I/DEBUG(2313):  d30 b94b794ffffffffb  d31 bb81414b5fc00000
07-18 14:24:00.149: I/DEBUG(2313):  scr 60000012
07-18 14:24:00.299: I/DEBUG(2313):          #00  pc 000237e4  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):          #01  pc 00010d04  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so (alcOpenDevice)
07-18 14:24:00.309: I/DEBUG(2313):          #02  pc 000071c6  /data/data/com.wysegames.rodion.AudioPlayer/lib/libalmixer.so (ALmixer_Init)
07-18 14:24:00.309: I/DEBUG(2313):          #03  pc 000d00a0  /data/data/com.wysegames.rodion.AudioPlayer/lib/libcorona.so (_ZN3Rtt20PlatformOpenALPlayer22InitializeOpenALPlayerEv)
07-18 14:24:00.309: I/DEBUG(2313):          #04  pc 000d0204  /data/data/com.wysegames.rodion.AudioPlayer/lib/libcorona.so (_ZN3Rtt20PlatformOpenALPlayer16SetVolumeChannelEif)
07-18 14:24:00.309: I/DEBUG(2313):          #05  pc 000c249c  /data/data/com.wysegames.rodion.AudioPlayer/lib/libcorona.so
07-18 14:24:00.309: I/DEBUG(2313): code around pc:
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7c4 e92d40f8 e1a06000 e59f4220 e1a05001  .@-..`.. B...P..
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7d4 e3a02000 e08f4004 e2841008 e5940004  . ...@..........
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7e4 e5903000 e5933010 e12fff33 e594300c  .0...0..3./..0..
07-18 14:24:00.309: I/DEBUG(2313): 59b5a7f4 e3530000 0a000017 e3550000 0a000071  ..S.......U.q...
07-18 14:24:00.309: I/DEBUG(2313): 59b5a804 e59f11ec e1a00005 e08f1001 ebff87fb  ................
07-18 14:24:00.309: I/DEBUG(2313): code around lr:
07-18 14:24:00.309: I/DEBUG(2313): 59b47ce8 e1a00004 e1a01005 e1a03183 e2833010  .........1...0..
07-18 14:24:00.309: I/DEBUG(2313): 59b47cf8 e0882003 e784200a e7983003 e12fff33  . ... ...0..3./.
07-18 14:24:00.309: I/DEBUG(2313): 59b47d08 e3500000 1a000097 e2866038 e2877001  ..P.....8`...p..
07-18 14:24:00.309: I/DEBUG(2313): 59b47d18 e5963004 e3530000 0a000008 e5960010  .0....S.........
07-18 14:24:00.309: I/DEBUG(2313): 59b47d28 e3500000 1affffec e596300c e12fff33  ..P......0..3./.
07-18 14:24:00.309: I/DEBUG(2313): stack:
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a0  00001000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37a8  00000018 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37ac  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b0  4892fac0  /dev/ashmem/dalvik-heap (deleted)
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37b8  4892fac0  /dev/ashmem/dalvik-heap (deleted)
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37bc  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c0  000000ff 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c4  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37c8  000002ee 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37cc  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d0  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d4  59ba8618  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37d8  df0027ad 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37dc  00000000 
07-18 14:24:00.309: I/DEBUG(2313): #00 5a0e37e0  59b5a7c4  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37e4  5b3a7008 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37e8  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37ec  59ba8070  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37f0  00000001 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37f4  59b47d08  /data/data/com.wysegames.rodion.AudioPlayer/lib/libopenal.so
07-18 14:24:00.309: I/DEBUG(2313): #01 5a0e37f8  0000000c 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e37fc  00000020 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3800  00000001 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3804  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3808  00000000 
07-18 14:24:00.309: I/DEBUG(2313):     5a0e380c  586d8048  /data/data/com.wysegames.rodion.AudioPlayer/lib/libalmixer.so
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3810  0017db40  [heap]
07-18 14:24:00.309: I/DEBUG(2313):     5a0e3814  586ce1c9  /data/data/com.wysegames.rodion.AudioPlayer/lib/libalmixer.so
 



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,331 posts
  • Enterprise

@rodion, in your other thread, you said you reported a bug.  Do you have that bug ID number?  I think you're still running into hardware running non-standard Google Android. 

 

@androidjavalex, what device and operating system is this happening on?



[TOPIC: post.html]
#4

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

Rob Miracle

 

AUDIO:

I dont have all this device. About this bug and log sent my app user. I have this reproduse only with one device

 

Onda android 4.0.3
http://www.onda-tablet.com/onda-v811-quad-core-android-tablet-pc-wifi-hd-ips-screen-2160p-16gb.html


 "I think you're still running into hardware running non-standard Google Android"
What mean non-standard?  Users bought their device in stores and did not install custom android, so who has this problem give me 1 star rating and what I must write "running non-standard Google Android"

Other my user with Ascend g300 android v 4.0.4 write that crash with audio and after install 4.1.2 and now work great with audio playing

 

VIDEO:

Format MPEG-4 Movie (.mp4)
On my device I have problem only with Fly IQ 442 Miracle v 4.0, but have about 50 crash report on android market console
Here some of them ( on device tab write OTHER )

 

turned off on the game

 
Wont play 4g lg motion
 
crash app juste après le début de la 1ere cinématique... dommage!
 
it keeps on forceclosing please fix it phone-samsung reverb
 
junk. can't even play first level
 
se lance et s'arrête juste àvant la fin du generique
 
Bloccato prima di comiciare a giocare
 
crashes can't even get started very dissapointing
 
After the very first little mission thingy it just says unfortunately so and so has stopped I have a gs3 and yea if you could tell me how to fix this I would appreciate it thank you

 


 



[TOPIC: post.html]
#5

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

I dont  have access to email @rodion so today I post this bug from my own account Case 25014 -video,

 

about audio post some mounth ago, code to reproduce your own sample  \Media\AudioPlayer



[TOPIC: post.html]
#6

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Regarding the video player crash, we've discovered that it only crashes if you have the Android developer option "Don't keep activities" checked on under the device's Settings.  This would cause a crash when the video finishes.
 
We've fixed the bug.  The bug fix will be made available in daily build #1169.

Note that while this will prevent the crash, the "Don't keep activities" option will cause other issues. You see, that option will destroy the Corona activity window when the video activity is displayed. The issue with this is that when you return to your app from the video player, your app will be effectively restarted. You will not receive a "completed" event from the video player. Unfortunately, there is nothing we can do about this. You will have to work-around this behavior on your end by writing something to file indicating that your app displayed a video and then read that file on startup to detect if the video has ended. There is really no other work-around.

 

Regarding the audio issue that you've mentioned here...

   http://forums.coronalabs.com/topic/29149-audio-and-video-crash-on-android-device-v-2013999

 

We don't believe this is a Corona issue.  As you've read in my reply on that forum thread, the crash is coming from the operating system.  Corona does check if the OpenSL library exists, but when attempting to use it, a crash occurs.  This means that there is something non-standard about that device's audio library.  Probably a bad fork of the Android operating system.  Since it is such an obscure device, we have no plans on putting any time and resources into investigating that issue.  So, I suggest that you just drop support for that device.  Even Google knows that compatibility issues between devices is a serious problem (especially with forked versions of Android) which is why they offer the option to exclude particular device in Google Play.  If you're hell bent in supporting that device, then I suppose your only other option is to switch from the audio library to the media library, but since that device can't even implement OpenSL correctly, it makes me wonder what other features it fails to implement correctly.



[TOPIC: post.html]
#7

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

Joshua Quick thank you so much for the quick fix video and detailed answer about the audio. I look forward to the new version ;)




[topic_controls]
[/topic_controls]