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
4900b84551
Switch minimum sdk to 9 since OR core uses ArrayDeque which is only available in Android API 9. Note API 9 is Android 2.3 / Gingerbread, but there are no emulators available for this api version.
2012-01-12 19:41:16 +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
16334ca53a
Added couple of comments and executed eclipse's autoformat.
2012-01-11 14:54:00 +00:00
Kevin Ruland
fcc49f821e
Use Eclipse source link to WORKSPACE/OpenRocket/resources to include core-resources/ in project.
2012-01-11 03:36:49 +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
3845508f21
Removed the splashscreen.png since we no longer have a splash.
2012-01-09 19:10:25 +00:00
Kevin Ruland
329ebb5900
Move the or_launcher icon to drawable since it is the only one we have.
2012-01-09 19:08:54 +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
a31ab4e099
Set up Eclipse source links to have access to core/src in android project.
2012-01-08 22:26:19 +00:00
Kevin Ruland
df9a43aef8
Move the android package from the main trunk/src directory to trunk/android/src.
2012-01-08 01:51:02 +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
9e35f023f4
Use a nice pretty icon for the launcher pulled from the pix/icons/ directory.
2012-01-04 05:31:40 +00:00
Kevin Ruland
e9fec4ea37
Fixup the intent filters for the OpenRocketViewer activity. It's not pretty but it was the only way I could find which would convince the file browser to show the OR icon with the file and be able to launch the activity correctly.
2012-01-04 05:30:50 +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
0970409101
Added custom launcher icon for application.
2012-01-03 18:44:48 +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