Handling Screen Orientation - Part 2

Posted by muamar Minggu, 12 Juni 2011 0 komentar
How to handle rotation?Now if you choose to rotate your activity with display either specifying “rotate as sensor” or using “orientation setting” you must handle the steps that are taken when the display is rotated.Whenever the window rotates, your activity is destroyed and recreated, and “onCreate(Bundle)” is executed again.You may need to save the activity state before this happens. To achieve that...

Baca Selengkapnya ....

Handling Screen Orientation - Part 1

Posted by muamar 0 komentar
Sometimes or I may say many times user will want to rotate the screen – this may be because user wants to view the app in landscape mode, or user wants to type something using on-screen keyboard.If user rotates the device from portrait to landscape, your app must rotate with it or must handle the change elegantly, but the question is how??So let’s begin exploring the answer to this question….First...

Baca Selengkapnya ....
Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android list.