Kevin Ruland
51f98b71aa
Froyo had troubles with the old table layout. Changed instead to the same layout style as used in the simulation edit/run dialog. Added a localizable title string.
2012-07-19 14:44:39 +00:00
Kevin Ruland
4b9cc99710
Set the width on the parent element instead of forcing the job on the buttons.
2012-07-19 14:42:55 +00:00
Kevin Ruland
425612afd4
Tweak the button layouts on the initial screen.
2012-07-18 21:20:23 +00:00
Kevin Ruland
5ace9f29c6
Fix form layout when the user selects a long manufacturer name.
2012-07-18 15:49:19 +00:00
Kevin Ruland
bb64a32d34
Refactor. Rename SimulationSeriesDialog to SimulationPlotConfigDialog. Change names of layouts accordingly.
2012-06-30 19:16:34 +00:00
Kevin Ruland
c5122ebef5
Show events and times on the chart. The achartengine needs some work to get the labels in a better place. Enhance the SimulationSeriesDialog to allow selection of events.
2012-06-30 19:08:13 +00:00
Kevin Ruland
5ae62a2db2
Implement color indicators (green, yellow, red) for the Simulation Status in the Simulations list. This makes the list more like that on OR desktop.
2012-06-26 18:26:06 +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
cfac7dcc81
Fix the delay entry handling.
2012-06-18 01:47:21 +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
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
a6a5eff5b6
Simplify the spinner styling.
2012-05-25 20:45:13 +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
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
1784665ffd
Added a version string to the main layout.
2012-02-29 18:13:20 +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
6c4e3c6bcd
Rewrite BurnPlotFragment to use AChartEngine for plotting instead of Androidplot.
2012-02-23 17:36:15 +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
ff05c2b499
Rework the filebrowser some to add some functionality. A "hidden" preference now stores the default directory to open. This directory is marked with a gold star. To change the default directory, you touch on a star. Added icon for directories. Added preference to control if only ork files are shown in the file browser. Changed the sort order to do the fancy "logical" sort to compare number components numerically.
2012-02-14 18:33:31 +00:00
Kevin Ruland
844f2de727
Use our own simple_spinner_item layout so we can style it more easily.
2012-02-12 16:29:48 +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
05996f35db
Fix two layout issues with the ThrustCurve query form layout. 1) use a trick to prevent the keyboard from appearing automatically on ICS (and perhaps other) tables. 2) move the submit button to be tight to the bottom of the form since then even if the keyboard is up, you can still press it.
2012-02-10 02:26:09 +00:00
Kevin Ruland
e3924d39ac
Added new images to home screen. Very nice!
2012-02-09 21:25:29 +00:00
Kevin Ruland
e7d180f120
Change placeholder views in the motorbrowser from LinearLayout to FrameLayout since they are lighter.
2012-02-09 20:59:22 +00:00
Kevin Ruland
4780fb36b0
Second checkpoint commit of OpenRocketLoader to make it orientation change safe. Changed Main.java to register onclick listeners in java instead of the layout. Store the WarningSet in Application so it doesn't need to be serialized if the OpenRocketLoaderActivity is recreated during an orientation change. Fix the MissingMotorDialogFragment to only have the string and not the whole WarningSet. Finally completely rewrote the OpenRocketLoaderTask into a Fragment managing its own dialog.
2012-02-08 02:22:45 +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
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
966ab18b07
Added simple file browser functionality used when there are no applications installed to handle this task.
2012-01-13 21:02:12 +00:00
Kevin Ruland
b7ac4b2133
Wired up computation of CP, CG, liftoff weight and stability to the configuration spinner.
2012-01-13 18:30:46 +00:00
Kevin Ruland
e2cc085bab
Show the simulation name as the chart title. Made some UI concessions because drawing the events in the graph is not currently available: Moved "draw" button to series tab, changed the list entry for the events to non-selectable simple text items.
2012-01-13 18:29:16 +00:00
Kevin Ruland
fe5a8eccfb
Reimplement motor handling so the android application relies more heavily on the OR core ThrustCurveMotor class. This involved changing the database schema and querying mechanisms. Rewriting the thrust curve download logic in net.sf.openrocket.android.thrustcurve. Fixing the motor browser, motor details, and burn plot activities. The file parsing now uses the RSE and RSP parsers from OR core.
...
ExtendedThrustCurveMotor class was created to hold the additional data required by the db ( the id in particular) along with the data which is useful to the browser (case info and impulse class).
2012-01-12 19:51:28 +00:00
Kevin Ruland
e766449e15
Modified RocketUtils.getCG to take a MassCalcType parameter. In the OpenRocketViewer, calculate mass empty. Changed the order of the fields in the openrocketviewer layout. Added a spinner for the configurations stored in the ork file - though this still needs to have motors wired in.
2012-01-11 14:56:40 +00:00
Kevin Ruland
851865e54f
Using pl.polidea.treeview for the component tree list. This code is under 2-clause BSD and available from code.google.com/p/tree-view-list-android. Unfortunately, the only way to effectively use this code is to include the source within the project (instead of jar) because it was poorly written and depends on a bunch of resources.
2012-01-10 15:48:19 +00:00
Kevin Ruland
41daafa8e3
Get rid of timed splash and display a better welcome screen.
2012-01-09 19:00:19 +00:00
Kevin Ruland
10dd89f569
Change OpenRocketViewer to tab layout with three tabs: overview, components, and simulations. Overview is populated with some high level data about the rocket - length, mass, cg, etc. Components will be populated with the tree of rocket components. Simulations contains the list of stored simulations.
...
Added length and mass preferences and wired into the application object initialization of the OpenRocket UnitGroup statics.
There is currently an issue in the Simulation list in that the motors are not being displayed. This is because currently the motor dao is not wired into the application.
2012-01-08 00:53:35 +00:00
Kevin Ruland
d1df3dd35f
Change Simulation plotting functionality to use AChartEngine instead of AndroidPlot. AChartEngine has built in zoom and pan though they are currently not used (because they are a little buggy). AChartEngine supports mulitple series plotted on same graph. However, it does not support the plotting of events.
...
Removed the sliding drawer from the configuration. Instead a new activity is launched containing the plot.
2012-01-06 03:12:27 +00:00
Kevin Ruland
2e41cbb5ff
Added progress dialog when loading a file. Removed some default text from the view. Added safety net to launch the file browser when no file is specified. This last piece of functionality might be replaced with a dialog and better error handling in the future.
2012-01-03 18:58:10 +00:00
Kevin Ruland
c546dba066
Added some functionality to Main activity. Splash screen is displayed for a little bit, then the user is presented with two buttons - one to open a file browser to find ork files, the other to start the motor browser.
2012-01-03 18:56:38 +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
Kevin Ruland
a10bfbe72d
Added android project baggage. Using svn:external on the android directory for pulling in the main source directory ../src
2011-12-24 00:38:22 +00:00