Openrocket Android motor issue

Discussion in 'Rocketry Electronics and Software' started by mntanabob, Jul 23, 2017.

Help Support The Rocketry Forum by donating:

  1. Jul 23, 2017 #1

    mntanabob

    mntanabob

    mntanabob

    New Member

    Joined:
    Jan 16, 2017
    Messages:
    1
    Likes Received:
    0
    Is there a fix for the motor error you get when trying to download motors from Thrustcurve in the Android version?

    Line 2: root element does not match. Expecting www.thrustcurve.org/2008....got www.thrustcurve.org2015....
     
  2. Jul 26, 2017 #2

    AdAstraPerAspera

    AdAstraPerAspera

    AdAstraPerAspera

    Forum Supporter TRF Supporter

    Joined:
    Mar 15, 2016
    Messages:
    449
    Likes Received:
    16
    Wow...I didn't realize there was an Android version till I read this. Thanks!
     
  3. Jul 26, 2017 #3

    Cabernut

    Cabernut

    Cabernut

    Well-Known Member

    Joined:
    Oct 15, 2015
    Messages:
    1,381
    Likes Received:
    0
    Android ver 13.11 is kind of broken though. Can't run sims because you can't download motors because of the issue mentioned above. I don't know of any workarounds at the moment. I also don't know of any developer working on the Android version currently. They're all focused on the desktop version, debugging and testing for the upcoming release. The Android code hasn't been changed in 4 years.

    I personally might be able to help fix the Android version soon as I'm a low-level OR contributor and am familiar with Android development. Looks like it could be an easy fix, perhaps just change "2008" to "2015" in the code somewhere.
     
  4. Jul 26, 2017 #4

    AdAstraPerAspera

    AdAstraPerAspera

    AdAstraPerAspera

    Forum Supporter TRF Supporter

    Joined:
    Mar 15, 2016
    Messages:
    449
    Likes Received:
    16
    Yeah, I couldn't even get it to install...
     
  5. Jul 27, 2017 #5

    Cabernut

    Cabernut

    Cabernut

    Well-Known Member

    Joined:
    Oct 15, 2015
    Messages:
    1,381
    Likes Received:
    0
    Make sure you've allowed installing from unknown sources. Check in the security settings. Then download the .apk file, tap it in a file browser to start install. Once installed, its ok to disable installing from unknown sources if you like.
     
  6. Jul 27, 2017 #6

    AdAstraPerAspera

    AdAstraPerAspera

    AdAstraPerAspera

    Forum Supporter TRF Supporter

    Joined:
    Mar 15, 2016
    Messages:
    449
    Likes Received:
    16
    Yeah, I tried that and it just got stuck... a couple times.

    Tried again today and it worked the second time. Don't know what was different.
     
  7. Apr 6, 2018 #7

    eclindholm

    eclindholm

    eclindholm

    Member

    Joined:
    Jun 2, 2009
    Messages:
    8
    Likes Received:
    0
    Is there any fix for this yet?

     
  8. Apr 6, 2018 #8

    timbucktoo

    timbucktoo

    timbucktoo

    Well-Known Member Staff Member Global Mod

    Joined:
    Jun 13, 2014
    Messages:
    5,768
    Likes Received:
    472
    Gender:
    Male
    Location:
    Cocoa Beach
    Have you emailed John Coker? He’s pretty responsive & you can reach him through ThrustCurve website or his personal website.
     
  9. Apr 6, 2018 #9

    eclindholm

    eclindholm

    eclindholm

    Member

    Joined:
    Jun 2, 2009
    Messages:
    8
    Likes Received:
    0
    I would expect the issue would be Openrockets as we are reading their web data. idealy, it should be in a .cfg file so it can be modified in the future.
     
  10. Sep 7, 2019 #10

    Kyle Adler

    Kyle Adler

    Kyle Adler

    New Member

    Joined:
    Sep 7, 2019
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Hey guys, I've found a way to solve the issue. Though I have very little android development experience, the error seemed like all you had to do was replace any thrustcurve2008 query with a thrustcurve2015 one. So that's what I did, and it fixed it. There are still some other issues with mass components and fin fillets, but with this fix it allows you to run sims.

    Instructions:
    1) Download oponrocket apk from site
    2) Decompile with a tool like APK Easy Tool
    3) Search file for "openrocket" to find the folder of queries
    4) Open all with something like Notepad++
    5) Find and replace all "2008" with "2015"
    6) Recompile and put onto phone

    Let me know if you have any questions.
     
  11. Sep 11, 2019 at 8:23 PM #11

    Zeke Johnson

    Zeke Johnson

    Zeke Johnson

    New Member

    Joined:
    Sep 4, 2019
    Messages:
    4
    Likes Received:
    2
    Never mind. I have been working on Thrust Curve problems...
     
  12. Sep 11, 2019 at 8:25 PM #12

    Zeke Johnson

    Zeke Johnson

    Zeke Johnson

    New Member

    Joined:
    Sep 4, 2019
    Messages:
    4
    Likes Received:
    2
    Brain fart. I have been trying to get the Thrust Curve app to work.

    Disregard my last post.
     

Share This Page