Orientation change and setRender

by qwesthead » Fri, 20 May 2011 15:38:29 GMT


Sponsored Links
 I've a region on an activity that uses GLSurfaceView. When the
Activity is resumed, I call the setRenderer and then the content of
the screen. They work fine. But, the problem arise when I change
orientation (configurationChange.) Upon orientation change, I need to
change the layout. After orientation change, surfaceChanged is getting
called. However, even when I call GLSurfaceview.requestrender,
Renderer.onDrawFrame is not getting called.
What are all the things I need to do when there is an orientation
change.

-- 



Other Threads

1. Is there any signal booster for android

Hi,

At my home, I have very poor signal. Is there any external signal
booster for Android?

Thanks,
Venkata
--~--~---------~--~----~------------~-------~--~----~

2. How to force an activity to display the soft keyboard?

do like this in Apidemos: 


<activity android:name=".app.CustomTitle"
                android:label="@string/activity_custom_title"
                android:windowSoftInputMode="stateVisible|adjustPan">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.SAMPLE_CODE" />
            </intent-filter>
        </activity>
009-06-16ullo#88 <bulonce...@gmail.com> >

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

3. How to enable Google search by voice?

4. Capture Android's browser HTTP petitions.

5. Question: How to do EXIF reading and writing

6. Consume a key event

7. DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?