Change the initial screen handling and add file load to OpenRocketViewer activity...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 13 Jun 2012 16:37:18 +0000 (16:37 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 13 Jun 2012 16:37:18 +0000 (16:37 +0000)
commitf844d4a1ea0b48efc942ea08f5847ab1ef52fd8b
treeb5a553e2a2a573715d4c5608e118fce6dce0b957
parent7bb2c5fc2148847fa6f9f5e442e97d061edcc4dc
Change the initial screen handling and add file load to OpenRocketViewer activity.  The OpenRocketLoaderActivity is now used as a base class for the OpenRocketViewer and Main activities.  These activities now share the code used for loading ork files.  The OpenRocketLoaderActivity no longer is registered in the manifest because it is not a real activity any more.  The OpenRocketViewer activity now has a menu item for "load" to load a new model.  The Main activity uses finish() when it transfers control to the OpenRocketViewer thus removing it from the back stack.  Further, if the Main activity detects that the Application contains a rocket, it will automatically forward to the OpenRocketViewer.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@775 180e2498-e6e9-4542-8430-84ac67f01cd8
android/AndroidManifest.xml
android/res/menu/rocket_viewer_option_menu.xml
android/res/values/strings.xml
android/res/xml/preferences.xml
android/src/net/sf/openrocket/android/Main.java
android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderActivity.java
android/src/net/sf/openrocket/android/rocket/OpenRocketViewer.java