Kevin Ruland
2410496ad3
Added an icon for motor download. It's using the search icon which isn't perfect but I can't do better.
2012-07-18 17:57:40 +00:00
Kevin Ruland
cb601364d0
Some more renaming of menu options and strings so they are more consistent.
2012-07-01 02:06:32 +00:00
Kevin Ruland
294aa177c4
Various fixes which should probably be broken into multiple commits:)
...
- Changed the way the ProgressDialog is dismissed from using some non-functional reflection code, to using a FragmentTransaction (which works)
- Added code which shows the save button only when the CurrentRocket is modified.
- Broke the save functionality into a Fragment with background Task so it is more reliable.
2012-06-25 18:30:41 +00:00
Kevin Ruland
641e1c2791
Added new icons from android-15 sdk. Made load and save action bar items show up if there is room for them.
2012-06-18 21:04:35 +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
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
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
00696ce7a3
Wire in save for OpenRocketDocument.
2012-05-15 23:01:39 +00:00
Kevin Ruland
c514314ed3
Added primitive about dialog to all main windows. Added 'donate' button to main.
2012-02-25 03:49:56 +00:00
Kevin Ruland
204b29bfb5
Extract strings from layout files to prepare better for l10n.
2012-02-23 17:33:15 +00:00
Kevin Ruland
b91bad8836
Added icon for motor browser menu options.
2012-02-15 03:26:12 +00:00
Kevin Ruland
0f7a05b95b
Many style and navigation changes. Pulled in ActionBarCompat from Android sample sources to provide an action bar paradigm on pre-gingerbread devices. Changed the OpenRocket Viewer activity to use a viewpager with sliding tabs since it looks much nicer. Updated to the newest android-support-v4 jar.
2012-02-11 20:17:39 +00:00
Kevin Ruland
3f37586278
Rework the motor browser functionality to make it more tablet friendly.
2012-02-06 01:31:51 +00:00
Kevin Ruland
235cc29676
Reformat.
2012-02-02 17:37:39 +00:00
Kevin Ruland
d8d9f499b7
Rewrite MotorBrowser to use a fragment for the list. This is the first step in making this portion of the application look and operate better on tables.
2012-01-30 03:48:42 +00:00
Kevin Ruland
90f2dcadfc
Rewrite the simulation graph component. It is now implemented as a fragment with a menu to configure the serieses and display a list of the flight events.
...
SimulationChart now implements a flyweight pattern containing the simulationId so it can be serialized allows the os to pause the application and restore most of the state of the graph. Currently the selected serieses are not persisted so the graph gets reset to the default.
The simulation view is operated in two different modes. On tablets in landscape the graph appears in the right sidepane and the list on the left. When a new simulation is selected, the old graph is pushed to the back stack. When in portrait mode or on smaller sceens, the simluation graph is in a separate activity.
2012-01-26 15:36:15 +00:00
Kevin Ruland
8603cbeff5
Various changes to android application. Separate the loading of an ork file into the OpenRocketLoader activity. Changed OpenRocketViewer to use Fragments for each of the tab contents. Added Component, Overview and Simulations fragments for the tabs in OpenRocketViewer. Modified the graphics on the UI. Have the PreferencesActivity pack the changed preferences into the application onStop().
2012-01-22 02:44:17 +00:00
Kevin Ruland
dc488e2f58
Checkpoint commit of android functionality. Application currently consists of simple Main activity which does nothing but allows for bootstrapping of debugger. In future Main activity will go away. OpenRocketViewer activity which loads an ork file and displays a list of the simulations. And Simulation activity which is used to plot simulation results.
...
Also included is a Motor sqlite database which is populated from thrustcurve downloads. Includes primitive thrustcurve plotting system. This will soon be wired into the openrocket application to supply motors for simulation execution.
2012-01-03 02:20:10 +00:00