SirGeraint Posted November 20, 2015 Share Posted November 20, 2015 So a while back I downloaded @esaj's source code for his Wheelemetrics (Android) app and made sure I could get it to compile. But I didn't have much need for it since it wasn't compatible with my EU. But that changed. So I started modifying it. I am not an Android programmer. I never really learned Java. In my past I programmed in C, Assembler and Basic. So most of my changes to @esaj's app are minor. Here's a list of changes. - U.S. (a.k.a. Imperial) units of measure. mph, miles, Fahrenheit - Rearranged the readouts on the screen (I had reasons) - Added Time on the screen - Added Battery % on the screen (I know, I still need to average it so it isn't bouncing all over the place and I might need to 'calibrate' it) - Changed default log extension to .csv so it's ready to open in Spreadsheet programs - Changed default location of log file (because on my phone it put them in /storage/emulated/0/storage/emulated/0/documents - Added Date & Time to the CSV log (so there's a human readable time) - Made the Record button change to Red when recording - Changed the layout of the text on the buttons - Changed it so the buttons don't move when the Graph is turned off (at least for my phones) - Made the smaller text readouts get larger with the Graph is turned off (to make it easier for my old eyes to see, but I haven't tested in running yet) - The Speed Alarm spinners automatically worked in MPH but I capped the top alarm at 28MPH. I think that's about it. I still have some other changes in mind. Don't worry, the Red, White & Blue goes away when you connect. (Later I am going to install a Bike computer on my EU and then I will make sure that the App speed is accurate.) Also, I've only tried this on one EU but I don't think I broke anything that would prevent it from connecting to the same EU's as the original. I want to thank @esaj for doing all the hard work on this App. Wheelemetrics-US.apk Link to comment Share on other sites More sharing options...
Sponge Posted November 20, 2015 Share Posted November 20, 2015 Thank you Here are some Screenshots Link to comment Share on other sites More sharing options...
SlowMo Posted November 21, 2015 Share Posted November 21, 2015 This version replaces @esaj's original app. Maybe you can make this app separate and not as an upgrade to his work. Link to comment Share on other sites More sharing options...
SirGeraint Posted November 22, 2015 Author Share Posted November 22, 2015 5 hours ago, SlowMo said: This version replaces @esaj's original app. Maybe you can make this app separate and not as an upgrade to his work. So, yeah, this was basically a version of EsaJ's app with U.S. units of measure. I'm not sure I understand what you mean. So... Why? Why make a separate app? I asked his permission before posting it. Link to comment Share on other sites More sharing options...
Villac Posted November 22, 2015 Share Posted November 22, 2015 I've tried this app. It connects to my Gotway, it gives readings. Thanks! Link to comment Share on other sites More sharing options...
SlowMo Posted November 22, 2015 Share Posted November 22, 2015 3 hours ago, SirGeraint said: So, yeah, this was basically a version of EsaJ's app with U.S. units of measure. I'm not sure I understand what you mean. So... Why? Why make a separate app? I asked his permission before posting it. Some people would like to have both apps in place. It will not happen since your app will overwrite @esaj's work. Link to comment Share on other sites More sharing options...
SirGeraint Posted November 22, 2015 Author Share Posted November 22, 2015 12 minutes ago, SlowMo said: Some people would like to have both apps in place. It will not happen since your app will overwrite @esaj's work. Ok, gotcha. You want me to rename it. Ok, I'll do that. I left it the same so it didn't look like I was trying to rip-off EsaJ's app as if it was my own. How about "US-Wheelemetrics"? Since on my phone it gets truncated to "Wheelemetr...". Link to comment Share on other sites More sharing options...
SlowMo Posted November 22, 2015 Share Posted November 22, 2015 No problem as long as we can retain both yours and @esaj's app in our androids. Link to comment Share on other sites More sharing options...
SirGeraint Posted November 22, 2015 Author Share Posted November 22, 2015 On 11/21/2015, 10:04:39, SlowMo said: No problem as long as we can retain both yours and @esaj's app in our androids. OK. Here's the renamed App (now "US-Wheelemetrics"). US-Wheelemetrics.apk Link to comment Share on other sites More sharing options...
SlowMo Posted November 22, 2015 Share Posted November 22, 2015 Thanks! This should fine now. I can't complete the download but I will keep on trying. Link to comment Share on other sites More sharing options...
h00ktern Posted November 25, 2015 Share Posted November 25, 2015 Would add, but I get the following - Link to comment Share on other sites More sharing options...
edwin_rm Posted November 26, 2015 Share Posted November 26, 2015 Which EUC work with this app? Link to comment Share on other sites More sharing options...
SirGeraint Posted November 26, 2015 Author Share Posted November 26, 2015 It's supposed to work with GotWay's and King Song's. I only have a MSuper2 to test it with. Link to comment Share on other sites More sharing options...
esaj Posted November 26, 2015 Share Posted November 26, 2015 It should work with all Gotways (except maybe MCM4?) and older King Songs (I think they changed the BT-chip around late August or September maybe?). The newer ones might not work, depends if they changed the communication to work over Bluetooth LE or not. If the old Gotway-app worked with your wheel, this should also. 10 hours ago, h00ktern said: Would add, but I get the following - If you have my original version installed, this one will overwrite it (it's probably under same package name). Link to comment Share on other sites More sharing options...
SlowMo Posted November 26, 2015 Share Posted November 26, 2015 On 11/22/2015, 9:39:38, SirGeraint said: OK. Here's the renamed App (now "US-Wheelemetrics"). US-Wheelemetrics.apk I can now confirm to have both the Original and the US Version of Wheelmetrics on my android phone. Thank you for the efforts! Link to comment Share on other sites More sharing options...
edwin_rm Posted November 26, 2015 Share Posted November 26, 2015 9 hours ago, esaj said: It should work with all Gotways (except maybe MCM4?) and older King Songs (I think they changed the BT-chip around late August or September maybe?). The newer ones might not work, depends if they changed the communication to work over Bluetooth LE or not. If the old Gotway-app worked with your wheel, this should also. If you have my original version installed, this one will overwrite it (it's probably under same package name). I just tried with MCM4. It is not compatible with it. Link to comment Share on other sites More sharing options...
sbouju Posted November 26, 2015 Share Posted November 26, 2015 Hi, Just tested Wheelmetrics this afternoon (a previous version)... Are all the minus signs normal? Link to comment Share on other sites More sharing options...
esaj Posted November 26, 2015 Share Posted November 26, 2015 1 minute ago, sbouju said: Hi, Just tested Wheelmetrics this afternoon (a previous version)... Are all the minus signs normal? The mainboard thinks you're riding in "reverse" here. If you run the motor in the other direction, you will see positive numbers (the original Gotway-app just throws away the negative signs) Link to comment Share on other sites More sharing options...
SlowMo Posted November 26, 2015 Share Posted November 26, 2015 8 minutes ago, esaj said: The mainboard thinks you're riding in "reverse" here. If you run the motor in the other direction, you will see positive numbers (the original Gotway-app just throws away the negative signs) My older Gotway app also shows the reverse sign. Link to comment Share on other sites More sharing options...
sbouju Posted December 9, 2015 Share Posted December 9, 2015 Well, no more "problem" of surprising minus signs now (a new version that I installed...?), but now, my units are miles, miles/h, °F, etc... Is there a way to set those units differently? Link to comment Share on other sites More sharing options...
h00ktern Posted December 9, 2015 Share Posted December 9, 2015 That was the point of this version ("...-US) If you want metric, install the original (Wheelmetrics, without the "-US") Link to comment Share on other sites More sharing options...
sbouju Posted December 9, 2015 Share Posted December 9, 2015 Ah, OK, there is two flavours of the same app... Thank you! Link to comment Share on other sites More sharing options...
Iero83 Posted December 10, 2015 Share Posted December 10, 2015 You will find the original version of wheelemetrics here: http://forum.electricunicycle.org/topic/1198-custom-gotwayking-song-app/ Link to comment Share on other sites More sharing options...
sbouju Posted December 10, 2015 Share Posted December 10, 2015 Yes thank you, even if I had already founded it by myself and re-installed it in place of WM-US In fact, I had not realized there was two versions, and I "failed" directly on the topic WM-US when I was looking for an eventual new version through a "find" on "wheelemetrics" in the whole forum... May be a change in the name of the original version topic (with "wheelemetrics" in its name) would be fine? Link to comment Share on other sites More sharing options...
esaj Posted December 10, 2015 Share Posted December 10, 2015 1 hour ago, sbouju said: Yes thank you, even if I had already founded it by myself and re-installed it in place of WM-US In fact, I had not realized there was two versions, and I "failed" directly on the topic WM-US when I was looking for an eventual new version through a "find" on "wheelemetrics" in the whole forum... May be a change in the name of the original version topic (with "wheelemetrics" in its name) would be fine? Good point if people actually use that name to look for it... it was a "project name" I came up just quickly earlier, when we were discussing building a logging app for hobby16's telemetry-hardware. Don't know what happened to that, hobby16 went underground soon after and I haven't heard from him since So I ended up reverse-engineering the Gotway / older King Song -protocol and building an app on top of that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.