15 Commits

Author SHA1 Message Date
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
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
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
3861f21d6d Remove the white textColor style from the default theme - it was just causing trouble. 2012-02-12 16:28:50 +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
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
6e849bcf30 Add preference selection for Distance and Velocity. 2012-01-14 02:42:21 +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
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
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