Thank you Beebe games and Carlos! You guys definitely answered a previous question I had about creating an Angry Birds type game with Corona. This answers a ton… AND you gave the source out, Looks like Christmas came early.
Viva la Corona! [import]uid: 10355 topic_id: 4379 reply_id: 304379[/import]
I used SDK build 2011.319 to build an APK of this app to install on the Android emulator, and the app freezes (stuck on loading), but doesn’t crash. Comments? Thoughts?
This is the pertinent logcat dump:
I/ActivityManager( 59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.ansca.gvm/.MyCoronaActivity }
I/ActivityManager( 59): Start proc com.ansca.gvm for activity com.ansca.gvm/.MyCoronaActivity: pid=409 uid=10037 gids={}
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040ae800, server=040ae000
D/dalvikvm( 409): Trying to load lib /data/data/com.ansca.gvm/lib/libopenal.so 0x44f3e910
D/dalvikvm( 409): Added shared lib /data/data/com.ansca.gvm/lib/libopenal.so 0x44f3e910
D/dalvikvm( 409): Trying to load lib /data/data/com.ansca.gvm/lib/libmpg123.so 0x44f3e910
D/dalvikvm( 409): Added shared lib /data/data/com.ansca.gvm/lib/libmpg123.so 0x44f3e910
D/dalvikvm( 409): No JNI_OnLoad found in /data/data/com.ansca.gvm/lib/libmpg123.so 0x44f3e910, skipping init
D/dalvikvm( 409): No JNI_OnLoad found in /system/lib/libvorbisidec.so 0x44f3e910, skipping init
D/dalvikvm( 409): Trying to load lib /data/data/com.ansca.gvm/lib/libalmixer.so 0x44f3e910
D/dalvikvm( 409): Added shared lib /data/data/com.ansca.gvm/lib/libalmixer.so 0x44f3e910
D/dalvikvm( 409): No JNI_OnLoad found in /data/data/com.ansca.gvm/lib/libalmixer.so 0x44f3e910, skipping init
D/dalvikvm( 409): Trying to load lib /data/data/com.ansca.gvm/lib/libcorona.so 0x44f3e910
D/dalvikvm( 409): Added shared lib /data/data/com.ansca.gvm/lib/libcorona.so 0x44f3e910
D/qemud ( 38): fdhandler_accept_event: accepting on fd 10
D/qemud ( 38): created client 0x18f78 listening on fd 15
D/qemud ( 38): client_fd_receive: attempting registration for service ‘sensors’
D/qemud ( 38): client_fd_receive: -> received channel id 12
D/qemud ( 38): client_registration: registration succeeded for client 12
D/qemud ( 38): fdhandler_event: disconnect on fd 15
I/System.out( 409): Corona version = Corona/Android/1.0
D/libEGL ( 409): egl.cfg not found, using default config
D/libEGL ( 409): loaded /system/lib/egl/libGLES_android.so
I/ActivityManager( 59): Displayed activity com.ansca.gvm/.MyCoronaActivity: 2659 ms (total 2659 ms)
D/dalvikvm( 409): Note: class Landroid/opengl/GLWrapperBase; has 211 unimplemented (abstract) methods
I/SoundDecoder( 409): ALL MPG123 DECODERS:
I/SoundDecoder( 409): generic
I/SoundDecoder( 409):
I/SoundDecoder( 409): SUPPORTED MPG123 DECODERS:
I/SoundDecoder( 409): generic
I/SoundDecoder( 409):
D/dalvikvm( 409): GC_FOR_MALLOC freed 1397 objects / 92752 bytes in 159ms
I/dalvikvm-heap( 409): Grow heap (frag case) to 3.365MB for 614416-byte allocation
D/dalvikvm( 409): GC_FOR_MALLOC freed 223 objects / 11784 bytes in 128ms
I/ARMAssembler( 409): generated scanline__00000177:03545404_00008001_00000000 [127 ipp] (151 ins) at [0x25ff08:0x260164] in 9325001 ns
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040b0600, server=040afe00
I/SoundDecoder( 409): WAV: Appears to be uncompressed audio.
I/SoundDecoder( 409): WAV: Accepting data stream.
D/dalvikvm( 409): GC_FOR_MALLOC freed 184 objects / 791640 bytes in 110ms
I/dalvikvm-heap( 409): Grow heap (frag case) to 3.197MB for 614416-byte allocation
D/dalvikvm( 409): GC_FOR_MALLOC freed 34 objects / 1800 bytes in 130ms
I/System.out( 409): WARNING: Could not load font Helvetica. Using default.
D/dalvikvm( 409): GC_EXTERNAL_ALLOC freed 100 objects / 5160 bytes in 144ms
I/ARMAssembler( 409): generated scanline__00000077:03010108_00000A08_00000000 [4 ipp] (25 ins) at [0x262448:0x2624ac] in 972000 ns
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040b7600, server=040b6e00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040b9600, server=040b8e00
D/dalvikvm( 126): GC_EXPLICIT freed 1245 objects / 78136 bytes in 27714ms
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040baa00, server=040ba200
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040bec00, server=040be400
D/SntpClient( 59): request time failed: java.net.SocketException: Address family not supported by protocol
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040c4600, server=040c3e00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040c4600, server=040c4200
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040cb600, server=040cae00
W/AudioFlinger( 34): write blocked for 80 msecs, 19 delayed writes, thread 0xb3f0
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040d1800, server=040d1000
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040d6000, server=040d5800
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040df400, server=040dec00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040e1000, server=040e0800
W/AudioFlinger( 34): write blocked for 116 msecs, 20 delayed writes, thread 0xb3f0
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040ebe00, server=040eb600
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040fae00, server=040fa600
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=040fec00, server=040fe400
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=04106c00, server=04106400
D/SntpClient( 59): request time failed: java.net.SocketException: Address family not supported by protocol
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=04109000, server=04108800
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=0410f200, server=0410ea00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=04110600, server=0410fe00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=04117600, server=04116e00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=04118600, server=04117e00
W/AudioTrack( 384): obtainBuffer timed out (is the CPU pegged?) 0x252598 user=0411e000, server=0411d800
[import]uid: 39505 topic_id: 4379 reply_id: 42419[/import]