On Sep 12, 9:27 am, David Minor <[email protected]> wrote:
> What do you mean by "stops working"?
>

When the application becomes visible again, everything is okay except
that the GLSurfaceVIew is invisible. It's normal red background
doesn't show, and none of the graphics objects are visible. Even so,
the TouchListener on that GLSurfaceView is still active (it still
generates appropriate callbacks to the listener object - see trace).

Here is a trace starting with a restart of the 1.5 EMulator. Lines
starting with D/====== are my logging of events in the (very simple)
application. The PID of the application is 713.

D/AndroidRuntime(  706):
D/AndroidRuntime(  706): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  706): CheckJNI is ON
D/AndroidRuntime(  706): --- registering native functions ---
I/jdwp    (  706): received file descriptor 19 from ADB
I/ActivityManager(  570): Starting activity: Intent { flags=0x10000000
comp={com.tinyvital.android.apps.arotatingshapes/
com.tinyvital.android.apps.arotatingshapes.MainActivity} }
D/AndroidRuntime(  706): Shutting down VM
D/dalvikvm(  706): DestroyJavaVM waiting for non-daemon threads to
exit
I/ActivityManager(  570): Start proc
com.tinyvital.android.apps.arotatingshapes for activity
com.tinyvital.android.apps.arotatingshapes/.MainActivity: pid=713
uid=10031 gids={}
D/dalvikvm(  706): DestroyJavaVM shutting VM down
D/dalvikvm(  706): HeapWorker thread shutting down
D/dalvikvm(  706): HeapWorker thread has shut down
D/jdwp    (  706): JDWP shutting down net...
D/jdwp    (  706): +++ peer disconnected
I/dalvikvm(  706): Debugger has detached; object registry had 1
entries
D/dalvikvm(  706): VM cleaning up
D/dalvikvm(  706): LinearAlloc 0x0 used 639228 of 4194304 (15%)
I/jdwp    (  713): received file descriptor 10 from ADB
D/===jrm  (  713): onCreate(null)
D/===jrm  (  713): Main.onStart
D/===jrm  (  713): onResume
E/GLLogger(  713): couldn't load <libhgl.so> library (Cannot find
library)
D/SurfaceFlinger(  570): pid 713 requesting gpu surface (current owner
= -1)
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu0: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu1: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/hw3d: No such file or
directory
D/SurfaceFlinger(  570): pid 713 requesting gpu surface (current owner
= -1)
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu0: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu1: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/hw3d: No such file or
directory
I/ActivityManager(  570): Displayed activity
com.tinyvital.android.apps.arotatingshapes/.MainActivity: 968 ms
I/ARMAssembler(  713): generated
scanline__00000077:03010144_00000000_00000000 [ 11 ipp] (45 ins) at
[0x1a6328:0x1a63dc] in 5069638 ns
D/dalvikvm(  612): GC freed 2491 objects / 143496 bytes in 86ms
D/===jrm  (  713):  onTouch:MotionEvent{435b4d70 action=0 x=25.0
y=138.0 pressure=1.0 size=0.0}
D/===jrm  (  713):  onTouch:MotionEvent{435b4d70 action=1 x=25.0
y=138.0 pressure=1.0 size=0.0}
I/ActivityManager(  570): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.HOME} flags=0x10200000 comp=
{com.android.launcher/com.android.launcher.Launcher} }
D/===jrm  (  713): onSaveInstanceState(Bundle
[{android:viewHierarchyState=Bundle
[{android:views=android.util.sparsear...@435c71c0}]}])
D/===jrm  (  713): Main.onPause
D/===jrm  (  713): Main.onStop

[NOTE: Activity stopping when Home button pressed]

D/dalvikvm(  713): GC freed 2812 objects / 144792 bytes in 162ms
I/ActivityManager(  570): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x10200000 comp=
{com.tinyvital.android.apps.arotatingshapes/
com.tinyvital.android.apps.arotatingshapes.MainActivity} }

[NOTE: Activity restarting when selected from applications menu]

D/===jrm  (  713): onCreate(null)
D/===jrm  (  713): Main.onStart
D/===jrm  (  713): onResume
D/SurfaceFlinger(  570): pid 713 requesting gpu surface (current owner
= -1)
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu0: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu1: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/hw3d: No such file or
directory
D/SurfaceFlinger(  570): pid 713 requesting gpu surface (current owner
= -1)
W/IInputConnectionWrapper(  612): showStatusIcon on inactive
InputConnection
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu0: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/pmem_gpu1: No such file or
directory
E/MemoryHeapBase(  570): error opening /dev/hw3d: No such file or
directory
I/ActivityManager(  570): Displayed activity
com.tinyvital.android.apps.arotatingshapes/.MainActivity: 405 ms
D/===jrm  (  713):  onTouch:MotionEvent{435b4d70 action=0 x=163.0
y=52.0 pressure=1.0 size=0.0}
D/===jrm  (  713):  onTouch:MotionEvent{435b4d70 action=1 x=163.0
y=52.0 pressure=1.0 size=0.0}
D/dalvikvm(  612): GC freed 1348 objects / 74976 bytes in 75ms

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to