android - Porting a portrait-only app to work for both screen orientations -


this general query. beginning port portrait-only app work both landscape , portrait screen orientations. there document addresses process specifically? using native views - not expecting issues resources files such drawables, etc have 1 screen in application plays video clips - fear how make video keep playing while orientation changes. also, wondering if have save activity states/variables while orientation occurs. so, these of concerns , wondering if there thumbrules or documentation read on before plunging porting.

thanks in advance.

you should read application fundamentals , happens while orienting application. http://developer.android.com/guide/topics/fundamentals.html

if want faster orientation change can read document http://developer.android.com/resources/articles/faster-screen-orientation-change.html

if keep variables static in activity can them in method want automatically.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -