]> git.gag.com Git - debian/openrocket/commit
Reimplement motor handling so the android application relies more heavily on the...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 12 Jan 2012 19:51:28 +0000 (19:51 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 12 Jan 2012 19:51:28 +0000 (19:51 +0000)
commitd8c0c88eb3c2d07610d1e066de25d436fc49d245
treed2aea5a155e03ab2a02c4106aa08b718f9904065
parent3a5a3a265b2dfdf9fd5444cb80b7b35f008d7a33
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).

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@344 180e2498-e6e9-4542-8430-84ac67f01cd8
20 files changed:
android/.classpath
android/res/layout/motor_detail_form.xml
android/res/layout/motor_list_child.xml
android/src/net/sf/openrocket/android/Application.java
android/src/net/sf/openrocket/android/MotorDatabaseAdapter.java [new file with mode: 0644]
android/src/net/sf/openrocket/android/db/ConversionUtils.java [new file with mode: 0644]
android/src/net/sf/openrocket/android/db/DbAdapter.java
android/src/net/sf/openrocket/android/db/MotorDao.java
android/src/net/sf/openrocket/android/motor/BurnPlotFragment.java
android/src/net/sf/openrocket/android/motor/ExtendedThrustCurveMotor.java [new file with mode: 0644]
android/src/net/sf/openrocket/android/motor/Motor.java [deleted file]
android/src/net/sf/openrocket/android/motor/MotorDetails.java
android/src/net/sf/openrocket/android/motor/MotorDetailsFragment.java
android/src/net/sf/openrocket/android/motor/MotorHierarchicalBrowser.java
android/src/net/sf/openrocket/android/thrustcurve/DownloadResponse.java
android/src/net/sf/openrocket/android/thrustcurve/DownloadResponseParser.java
android/src/net/sf/openrocket/android/thrustcurve/MotorBurnFile.java
android/src/net/sf/openrocket/android/thrustcurve/RSEBurnFile.java [deleted file]
android/src/net/sf/openrocket/android/thrustcurve/RaspBurnFile.java [deleted file]
android/src/net/sf/openrocket/android/thrustcurve/TCQueryActivity.java