Re: [android-developers] Activity Being Killed (onDestroy) on Orientation Change

2010-04-06 Thread Sean Hodges
On Mon, Apr 5, 2010 at 6:50 AM, Gaurav Vaish wrote: > Problem: > When the orientation is changed, the Application is notified about > onConfigurationChange but: > > a) The "current" activity is Destroyed and recreated -- which is fine > to some extent > b) The new instance which is created is auto

[android-developers] Activity Being Killed (onDestroy) on Orientation Change

2010-04-05 Thread Gaurav Vaish
Hi, I am working on a MVC implementation for Android (to be subsequently hosted on SF and/or GC). It works like this: Activity (View) <=> Application (Controller) <=> Data (Model) <=> Persistence (DB/Network etc) The scenario is: 1. Activity launch (main/launcher) 2. Notifies Application about