Lock_layer error intermittently when stopping and starting a opengl SurfaceView

by Michael Angel » Mon, 27 Jul 2009 06:45:23 GMT


Sponsored Links
 I'm having the same issue too when pressing home to leave the app, and
going back into the app. Except sometimes when I compile, it'll
regenerate without freezing but have a broken texture. Other times
it'll just freeze without fullscreening, but will change screen
orientation. Eventually if it does freeze, it asks if I want to force
close.

And this broken texture problem is also weird. If I slide out/in the
keyboard with my G1, the app gets restarted and the texture is fixed.
Also if I hit home, slide in/out the keyboard, and then go back into
the app, I don't have an issue. This is REALLY weird, but no one seems
to know what the problem is.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. activity is destroyed when press home key

My manifest:
       <activity android:label="@string/app_name"
android:name="MainUI" android:screenOrientation="landscape"
                        android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
       <activity android:label="@string/settings_label"
android:name=".view.Settings"  android:configChanges="orientation|
keyboardHidden">
        </activity>

   I press program's icon to start my program,and then open the
Settings activity through startActivityForResult(intent, SETTINGS).
Now i press the  home key  and start my program through program's
icon, at this time the Settings actitity will run OnDestroy() and be
destroyed. I can't understand why Settings activity is be destroyed
automatically? How can I make Settings activity still focus when users
come back.

Thank all.

--~--~---------~--~----~------------~-------~--~----~

2. onFling() event not relayed to my custom View

I'm making simple game and I have a game board class that extends
Android.View.

Now my problem is that I'm trying to implement the onFling() event but
the event never occurs when I implement it into my custom View.

onDown(), onLongPress(), and etc all occur through the
GestureDetector, but onFling() is the only one that does not occur.

Funny thing is if I place the GestureDetector into my Activity, the
onFling() event does occur, but just not on in my View.

Is there something I need to do to initialize my custom View to
recognize the onFling() event through the GestureDetector?

-- 

3. How do you create a soft Home, Back, and Menu button?

4. KML Support in Maps Application

5. How do you create a soft Home, Back, and Menu button?

6. android.media.MediaRecorder is Buggy !!!

7. how to run emulator to get 1-1 pixel mapping with WVGA854