145 Commits

Author SHA1 Message Date
Kevin Ruland
eb1c257ab5 When saving the ork file, save all the simulation data. 2012-06-18 20:59:34 +00:00
Kevin Ruland
64cb6b3040 Fire the simulation changed message when resumed so any background simulation execution results are displayed. 2012-06-18 02:51:04 +00:00
Kevin Ruland
d9b637f02a Don't show the ime until one of the text fields are selected. 2012-06-18 02:50:19 +00:00
Kevin Ruland
bdb8298979 Change around the handling for navigation from the action bar. 2012-06-18 01:48:17 +00:00
Kevin Ruland
cfac7dcc81 Fix the delay entry handling. 2012-06-18 01:47:21 +00:00
Kevin Ruland
dc5c1c070c Tweak the main layout for Honeycomb and ICS devices. Added custom layout for these devices running on non-xlarge screens which pushes the title text down below the action bar. Fixed the style for ICS and Honeycomb to properly hide the actionbar but leave the overflow menu button. 2012-06-15 14:13:04 +00:00
Kevin Ruland
0b6810946c moveOnToViewer() actually calls finish(). So just return here. 2012-06-15 14:10:39 +00:00
Kevin Ruland
a896c5a87c Register the handler object in onResume so the application can restart correctly. 2012-06-15 14:09:55 +00:00
Kevin Ruland
61a78f49a7 Bumped beta version. 2012-06-14 13:28:30 +00:00
Kevin Ruland
0461ea5ced Rework the loader activity base class so it is compatible with ICS. 2012-06-14 13:17:55 +00:00
Kevin Ruland
90c2bdb7d8 Generate new launcher icons which have a bigger globe. This makes the icon more prominent on the destktop. 2012-06-14 13:12:33 +00:00
Kevin Ruland
8b66af7441 Changed due to Simulation api change. 2012-06-13 16:41:02 +00:00
Kevin Ruland
1f0bcf6730 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. 2012-06-13 16:37:18 +00:00
Kevin Ruland
72ce4f8468 Make some usability improvements to the internal file browser. Don't cd when changing the preferred base directory (touching star). Don't put star on root & .. directories. 2012-06-13 16:28:03 +00:00
Kevin Ruland
225d502896 Bump version number in prep for a round of testing. 2012-06-10 01:39:13 +00:00
Kevin Ruland
274f646124 Tweak the style for the main and loader activities so the action bar is transparent expect for the overflow button. This looks much nicer on ICS. 2012-06-05 13:57:37 +00:00
Kevin Ruland
ad265733bd Change to inherit from Sherlock classes. 2012-06-05 13:47:15 +00:00
Kevin Ruland
0250f29f26 Added local foreground service which runs simulations. Wired into the SimulationEditFragment. 2012-06-04 19:16:27 +00:00
Kevin Ruland
63290b98e4 Use sendMessage instead of dispatchMessage so the message can be sent from a different thread. 2012-06-04 19:12:57 +00:00
Kevin Ruland
5faec59816 Make separate method for notifySimsChanged since this is useful without creating or deleting a simulation (for example when a simulation is done executing). 2012-06-04 19:02:56 +00:00
Kevin Ruland
bedcf4ecb5 Fix a bug where the motor configuration was not being pulled correctly. It is stored in the options. 2012-06-04 18:59:45 +00:00
Kevin Ruland
88a365ea6e Added exp4j and ExpressionParser to the android build. These are now required because of the changes in core for expressions in simulations. 2012-06-04 15:57:58 +00:00
Kevin Ruland
d103ac1d05 Refactor the RocketDocument and corresponding data and methods out of Application and into CurrentRocketHolder and CurrentRocket. 2012-06-02 04:47:18 +00:00
Kevin Ruland
cb8faf376e Checkpoint commit with many different changes. Made the Configuration and Simulation "add" buttons to be action bar items. Added Handler to act as a listener mechansims so the OpenRocketViewer can update fragments when the rocket is modified. Added MotorConfigSpinner as custom View which is more usable than MotorConfigSpinnerAdapter. 2012-06-02 04:06:02 +00:00
Kevin Ruland
905c7f740a Pull TreeListView from main source and include from library instead. 2012-05-27 12:57:57 +00:00
Kevin Ruland
8d8ef35835 Remove unused imports. 2012-05-26 01:50:14 +00:00
Kevin Ruland
62fe67faa0 Use the dialog theme for the file browser because it looks better on tablets. 2012-05-25 20:46:00 +00:00
Kevin Ruland
a6a5eff5b6 Simplify the spinner styling. 2012-05-25 20:45:13 +00:00
Kevin Ruland
f7b883a4ce Removed another file not needed after moving to ActionBarSherlock. 2012-05-25 20:44:22 +00:00
Kevin Ruland
9a54fbdb88 Correctly change configurations without changing the default configuration id. Also, select in the spinner the default configuration when constructed. 2012-05-25 18:41:53 +00:00
Kevin Ruland
e754dab0ca Variety of changes based on suggestions from ADT Lint. Includes removing extra drawables left about after switching to ActionBarSherlock. Layout changes for speed improvements. etc. 2012-05-23 21:20:46 +00:00
Kevin Ruland
743ba0f57d Change to using ActionBarSherlock for the action bar compatibility. 2012-05-23 19:45:27 +00:00
Kevin Ruland
02d9954ff1 Added Configuration tab to the rocket viewer which displays all the motor configurations and allows one to create a new motor configuration. 2012-05-22 19:34:11 +00:00
Kevin Ruland
6185091ee1 Remove the android:debuggable attribute. This attribute will be automatically set correctly when one does a release build from eclipse. 2012-05-22 19:13:12 +00:00
Kevin Ruland
52dff3a511 Update the android-support-v4.jar to revision 8 April 2012. 2012-05-22 18:40:39 +00:00
Kevin Ruland
a6331b7bdd Exclude the exp4j wrapper class from this build. 2012-05-22 18:38:37 +00:00
Kevin Ruland
b9594c5ef8 Comment on the bug which clears the default configuration for a model. 2012-05-22 18:37:25 +00:00
Kevin Ruland
4fa4217665 Refactor ExtendedThrustCurveMotor so it extends ThrustCurveMotor instead of delegates to a member variable. This is so when rockets are deserialized from orc files, the ThrustCurveMotors in the Rocket are actually ExtendedThrustCurveMotors. We will use this in the motor configuration editor system. 2012-05-16 06:27:02 +00:00
Kevin Ruland
00696ce7a3 Wire in save for OpenRocketDocument. 2012-05-15 23:01:39 +00:00
Kevin Ruland
00519d820a Remove done todo. This should have been removed long ago when the motor list actually worked with PersistentExpandableListFragment. 2012-05-15 22:59:31 +00:00
Kevin Ruland
bfbab58f51 Rename SimulationFragment to SimulationViewFragment. 2012-05-15 21:11:58 +00:00
Kevin Ruland
33bbc9d65b Add a little padding to make table easier to read. 2012-05-15 21:11:16 +00:00
Kevin Ruland
99d215fdd3 Enhance the Simulation Events Dialog so it shows more like a table with altitude and velocity values as well as time. 2012-05-15 20:58:48 +00:00
Kevin Ruland
fe5b8018de Refactor the Motor Configuration Spinner so it could be reused. 2012-05-15 20:57:01 +00:00
Kevin Ruland
751d1d4c52 Added dummy ComponentPresetDatabase to Application. 2012-05-11 03:23:03 +00:00
Kevin Ruland
d0e0427c0c Added new methods from the Preferences interface for the presets. Android will not support presets so they return nothing. 2012-05-11 03:22:27 +00:00
Kevin Ruland
0eb67f95cb Exclude the plugin and component preset parsers from android build. 2012-05-10 14:49:59 +00:00
Kevin Ruland
34b6151596 Turn off debugging and logging in preparation for a release. 2012-03-14 01:31:56 +00:00
Kevin Ruland
a5d982aa4e Have the star field visible under the actionbar in ICS and Honeycomb devices. 2012-03-14 01:29:43 +00:00
Kevin Ruland
1784665ffd Added a version string to the main layout. 2012-02-29 18:13:20 +00:00