Graphics Programs Reference
In-Depth Information
Figure 3-2 . GL SURFACE CHANGED application in potrait mode
Note Before you run this application, make sure you did not include
the attributes ( android:configChanges and an-
droid:screenOrientation ) and values given in Listing 2-3
to the activity element of your manifest file.
After changing the device's orientation, exit the application. Next, open the LogCat
view in Eclipse and add a filter text:invoked, as shown in Figure 3-3 . This al-
lows us to spot the debug messages we logged using Listing 3-6 .
 
 
Search WWH ::




Custom Search