I'm glad to be able to (finally) announce that the new Android App is finally ready for public beta. We're calling it v3.1.1. The source code is all in github (for the brave), and there is an APK that can be side-loaded on Android devices, via this link: http://www.openvehicles.com/downloads/OVMS.3.1.1.beta.apk Functionality wise, it is pretty much on a par with the iOS App. All the core functions are there and, most importantly, the virtual car layer is complete and up-to-date. We've got HOMELINK support (yay!) as well as all the new function and parameter settings. It does have the artwork for the Volts and Amperas, but no Twizy yet (sorry, that slipped through the cracks, but we'll get it in the next build). The App should support any 2.3+ Android phone, and should scale its displays to pretty much any resolution out there. Tablet support is implemented by making them look like big phones. There are a few things still incomplete (as previously pointed out at the start of this project): No social group support on the map No cellular usage Some recent artwork missing (this is easy, and will come in the next beta release) These will come, but weren't considered essential for this first release. The most important is to get the Android App up to the same level of functionality as the iOS App, so that they can both be brought forward. I think if you want to install this, you first need to uninstall the Play store version. You will probably have to re-setup your vehicle as well. If you have problems with the beta, you can always uninstall it, and roll-back to the Play store version. Please send feedback back to this list. Regards, Mark.
Excellent work Mark! Working fine here on a Nexus 4. Regards, Michael Stegen Op 21-1-2013 14:57, Mark Webb-Johnson schreef:
I'm glad to be able to (finally) announce that the new Android App is finally ready for public beta. We're calling it v3.1.1.
The source code is all in github (for the brave), and there is an APK that can be side-loaded on Android devices, via this link:
http://www.openvehicles.com/downloads/OVMS.3.1.1.beta.apk
Functionality wise, it is pretty much on a par with the iOS App. All the core functions are there and, most importantly, the virtual car layer is complete and up-to-date. We've got HOMELINK support (yay!) as well as all the new function and parameter settings. It does have the artwork for the Volts and Amperas, but no Twizy yet (sorry, that slipped through the cracks, but we'll get it in the next build). The App should support any 2.3+ Android phone, and should scale its displays to pretty much any resolution out there. Tablet support is implemented by making them look like big phones.
There are a few things still incomplete (as previously pointed out at the start of this project):
* No social group support on the map * No cellular usage * Some recent artwork missing (this is easy, and will come in the next beta release)
These will come, but weren't considered essential for this first release. The most important is to get the Android App up to the same level of functionality as the iOS App, so that they can both be brought forward.
I think if you want to install this, you first need to uninstall the Play store version. You will probably have to re-setup your vehicle as well. If you have problems with the beta, you can always uninstall it, and roll-back to the Play store version.
Please send feedback back to this list.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Stegen Electronics Kwartslaan 95 3162 RD Rhoon The Netherlands Tel: +31 10-5016960 www.stegen.com
Mark, a short report for my HTC Desire HD / Android 2.3.5: - works without any crash up to now - "Estimated range" label is "Ideal range" - constantly shows "parking", although the Twizy does not feed the parking timer - Push notifications will at first not show up in the messages tab when they arrive while the tab is displayed - Screen rotation does not work yet
...as well as all the new function and parameter settings. I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
Regards, Michael -- Michael Balzer * Paradestr. 8 * D-42107 Wuppertal Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
- constantly shows "parking", although the Twizy does not feed the parking timer
I just tested on my Roadster, with both Android and iOS Apps, and this seems to work as it should (for me). The logic in the Apps is that the car is parked if "!carstarted and parktime>0". Carstarted is: unsigned char car_doors1 [bit 7] A bit used to signal whether the car is turned on or off. Set to 1 if the car ignition switch is ON, otherwise 0. There is a little bit of code in the vehicle_voltampera to handle the parking timer. As we don't know the 'car on' signal for the Volt/Ampera, yet, we just use the gear selector PARK. else if ((CANctrl & 0x07) == 5) // Acceptance Filter 5 (RXF5) = CAN ID 135 { if (can_databuffer[0] == 0) { // Car is in PARK car_doors1 |= 0x40; // NOT PARK car_doors1 &= ~0x80; // CAR OFF if (car_parktime == 0) { car_parktime = car_time-1; // Record it as 1 second ago, so non zero report net_req_notification(NET_NOTIFY_ENV); } } else { // Car is not in PARK car_doors1 &= ~0x40; // PARK car_doors1 |= 0x80; // CAR ON if (car_parktime != 0) { car_parktime = 0; // No longer parking net_req_notification(NET_NOTIFY_ENV); } } Also, initialise car_time to zero, and increment it in the vehicle ticker1().
...as well as all the new function and parameter settings. I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
The icon is not ideal at the moment. Go to settings, then the little pencil icon to go to the car settings, then press the icon that looks like a joystick in the top right. That is the control menu. From there, we have Features and Parameters. Regards, Mark. On 24 Jan, 2013, at 10:29 PM, Michael Balzer wrote:
Mark,
a short report for my HTC Desire HD / Android 2.3.5:
Mark, my parktime is always 0, as I currently have no parking detection, but the App shows it as parking. It shows "just now" most of the time (also right now), but I also saw some "x minutes" displays there. doors1 bit7 is set correctly by the Twizy. I found the joystick now, that could have passed as a "hidden" feature ;-) The USSD code entry only allows digits, at least "*" and "#" also need to be allowed. Regards, Michael Am 29.01.2013 02:37, schrieb Mark Webb-Johnson:
- constantly shows "parking", although the Twizy does not feed the parking timer
I just tested on my Roadster, with both Android and iOS Apps, and this seems to work as it should (for me).
The logic in the Apps is that the car is parked if "!carstarted and parktime>0".
Carstarted is:
*
unsigned char car_doors1 [bit 7]
A bit used to signal whether the car is turned on or off. Set to 1 if the car ignition switch is ON, otherwise 0.
There is a little bit of code in the vehicle_voltampera to handle the parking timer. As we don't know the 'car on' signal for the Volt/Ampera, yet, we just use the gear selector PARK.
else if ((CANctrl & 0x07) == 5) // Acceptance Filter 5 (RXF5) = CAN ID 135 { if (can_databuffer[0] == 0) { // Car is in PARK car_doors1 |= 0x40; // NOT PARK car_doors1 &= ~0x80; // CAR OFF if (car_parktime == 0) { car_parktime = car_time-1; // Record it as 1 second ago, so non zero report net_req_notification(NET_NOTIFY_ENV); } } else { // Car is not in PARK car_doors1 &= ~0x40; // PARK car_doors1 |= 0x80; // CAR ON if (car_parktime != 0) { car_parktime = 0; // No longer parking net_req_notification(NET_NOTIFY_ENV); } }
Also, initialise car_time to zero, and increment it in the vehicle ticker1().
...as well as all the new function and parameter settings. I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
The icon is not ideal at the moment. Go to settings, then the little pencil icon to go to the car settings, then press the icon that looks like a joystick in the top right. That is the control menu. From there, we have Features and Parameters.
Regards, Mark.
On 24 Jan, 2013, at 10:29 PM, Michael Balzer wrote:
Mark,
a short report for my HTC Desire HD / Android 2.3.5:
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Paradestr. 8 * D-42107 Wuppertal Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
Michael,
my parktime is always 0, as I currently have no parking detection, but the App shows it as parking. It shows "just now" most of the time (also right now), but I also saw some "x minutes" displays there. doors1 bit7 is set correctly by the Twizy.
I think the best way is for you to add support for car_doors1 [bit 7] and [bit 6] (the 'car on' and 'park' bits). Because your firmware is always saying 'car off' (car_doors1 [bit 7] unset), the apps will think it is parked. And, as the parking timer is not coded, the apps will also think 'parked just now'. The Apps don't use parktime to determine whether the car is parked or not, they use car_doors1 [bit 7] (whether the car is ON of OFF).
The USSD code entry only allows digits, at least "*" and "#" also need to be allowed.
OK. Regards, Mark. On 30 Jan, 2013, at 12:10 AM, Michael Balzer wrote:
Mark,
my parktime is always 0, as I currently have no parking detection, but the App shows it as parking. It shows "just now" most of the time (also right now), but I also saw some "x minutes" displays there. doors1 bit7 is set correctly by the Twizy.
I found the joystick now, that could have passed as a "hidden" feature ;-) The USSD code entry only allows digits, at least "*" and "#" also need to be allowed.
Regards, Michael
Am 29.01.2013 02:37, schrieb Mark Webb-Johnson:
- constantly shows "parking", although the Twizy does not feed the parking timer
I just tested on my Roadster, with both Android and iOS Apps, and this seems to work as it should (for me).
The logic in the Apps is that the car is parked if "!carstarted and parktime>0".
Carstarted is: unsigned char car_doors1 [bit 7]
A bit used to signal whether the car is turned on or off. Set to 1 if the car ignition switch is ON, otherwise 0.
There is a little bit of code in the vehicle_voltampera to handle the parking timer. As we don't know the 'car on' signal for the Volt/Ampera, yet, we just use the gear selector PARK.
else if ((CANctrl & 0x07) == 5) // Acceptance Filter 5 (RXF5) = CAN ID 135 { if (can_databuffer[0] == 0) { // Car is in PARK car_doors1 |= 0x40; // NOT PARK car_doors1 &= ~0x80; // CAR OFF if (car_parktime == 0) { car_parktime = car_time-1; // Record it as 1 second ago, so non zero report net_req_notification(NET_NOTIFY_ENV); } } else { // Car is not in PARK car_doors1 &= ~0x40; // PARK car_doors1 |= 0x80; // CAR ON if (car_parktime != 0) { car_parktime = 0; // No longer parking net_req_notification(NET_NOTIFY_ENV); } }
Also, initialise car_time to zero, and increment it in the vehicle ticker1().
...as well as all the new function and parameter settings. I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
The icon is not ideal at the moment. Go to settings, then the little pencil icon to go to the car settings, then press the icon that looks like a joystick in the top right. That is the control menu. From there, we have Features and Parameters.
Regards, Mark.
On 24 Jan, 2013, at 10:29 PM, Michael Balzer wrote:
Mark,
a short report for my HTC Desire HD / Android 2.3.5:
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Paradestr. 8 * D-42107 Wuppertal Fon 0202 / 272 2201 * Handy 0176 / 206 989 26 <dexter.vcf>_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Mark, I do already support doors1 bit 7. Not bit 6 as it is labeled "hand brake applied", and not the parking time as I thought that needs to be a time value, not a simple second count. I'll try to add support for these. So the App logic is only using the state of bit7 and the "parking" info itself is correct then -- I just wasn't used to it, as the old App never displayed it. Strange remains it showed a parking time a few times, but it hasn't done so in a while and I can't remember any special condition that might have caused this. Regards, Michael Am 30.01.2013 01:29, schrieb Mark Webb-Johnson:
Michael,
my parktime is always 0, as I currently have no parking detection, but the App shows it as parking. It shows "just now" most of the time (also right now), but I also saw some "x minutes" displays there. doors1 bit7 is set correctly by the Twizy.
I think the best way is for you to add support for car_doors1 [bit 7] and [bit 6] (the 'car on' and 'park' bits).
Because your firmware is always saying 'car off' (car_doors1 [bit 7] unset), the apps will think it is parked. And, as the parking timer is not coded, the apps will also think 'parked just now'.
The Apps don't use parktime to determine whether the car is parked or not, they use car_doors1 [bit 7] (whether the car is ON of OFF).
The USSD code entry only allows digits, at least "*" and "#" also need to be allowed.
OK.
Regards, Mark.
On 30 Jan, 2013, at 12:10 AM, Michael Balzer wrote:
Mark,
my parktime is always 0, as I currently have no parking detection, but the App shows it as parking. It shows "just now" most of the time (also right now), but I also saw some "x minutes" displays there. doors1 bit7 is set correctly by the Twizy.
I found the joystick now, that could have passed as a "hidden" feature ;-) The USSD code entry only allows digits, at least "*" and "#" also need to be allowed.
Regards, Michael
Am 29.01.2013 02:37, schrieb Mark Webb-Johnson:
- constantly shows "parking", although the Twizy does not feed the parking timer
I just tested on my Roadster, with both Android and iOS Apps, and this seems to work as it should (for me).
The logic in the Apps is that the car is parked if "!carstarted and parktime>0".
Carstarted is:
*
unsigned char car_doors1 [bit 7]
A bit used to signal whether the car is turned on or off. Set to 1 if the car ignition switch is ON, otherwise 0.
There is a little bit of code in the vehicle_voltampera to handle the parking timer. As we don't know the 'car on' signal for the Volt/Ampera, yet, we just use the gear selector PARK.
else if ((CANctrl & 0x07) == 5) // Acceptance Filter 5 (RXF5) = CAN ID 135 { if (can_databuffer[0] == 0) { // Car is in PARK car_doors1 |= 0x40; // NOT PARK car_doors1 &= ~0x80; // CAR OFF if (car_parktime == 0) { car_parktime = car_time-1; // Record it as 1 second ago, so non zero report net_req_notification(NET_NOTIFY_ENV); } } else { // Car is not in PARK car_doors1 &= ~0x40; // PARK car_doors1 |= 0x80; // CAR ON if (car_parktime != 0) { car_parktime = 0; // No longer parking net_req_notification(NET_NOTIFY_ENV); } }
Also, initialise car_time to zero, and increment it in the vehicle ticker1().
...as well as all the new function and parameter settings. I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?
The icon is not ideal at the moment. Go to settings, then the little pencil icon to go to the car settings, then press the icon that looks like a joystick in the top right. That is the control menu. From there, we have Features and Parameters.
Regards, Mark.
On 24 Jan, 2013, at 10:29 PM, Michael Balzer wrote:
Mark,
a short report for my HTC Desire HD / Android 2.3.5:
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Paradestr. 8 * D-42107 Wuppertal Fon 0202 / 272 2201 * Handy 0176 / 206 989 26 <dexter.vcf>_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Paradestr. 8 * D-42107 Wuppertal Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
Beta #2 of the new OVMS Android App is now available. You can side-load the APK directly onto your Android device at: http://www.openvehicles.com/downloads/OVMS.3.1.1.beta2.apk Note that you will have to permit installation of Apps from unknown sources (not the Play store) in Settings, to be able to side-load this. Change log for this version (since beta #1) includes: Fix for estimated range label Enable twizy graphics Fix labels on vehicle info screen Fixes for imperial units Once we have completed the beta phase of testing, we will release this to the Android Play store. Some notes, based on feedback: Rotation: This version is fixed portrait-only (by design). I realise that this is not optimal for tablets, but our focus has been getting the UI to work on phones of all resolutions. Range: The reported problem of "Ideal Range" being shown twice is fixed. OVMS Quick View Widget: This Android-only feature of the old app has been dropped (for the moment). The implementation required the App to stay open and to maintain server connections, which is not ideal. We may revisit this later (it is certainly a neat feature), but our emphasis at the moment is getting to feature comparability with the iPhone App. [P.S. If anyone wants to add it back - go for it - just not high up on our list at the moment] Vehicle Info: Some obvious spelling mistakes have been fixed. Twizy Parking: I think this will be fixed by a change to the vehicle firmware for Twizy. Working with Michael B on this. Push Notifications: There appear to be some issues with showing these while the notification tab is open, and sometimes we are getting duplicates. We are still looking into this. Parking Timer: The display for this could still be improved. App Size: The reason is the graphics. We're working on a better way of doing this, but at 12MB it is workable. Regards, Mark. Begin forwarded message:
From: Mark Webb-Johnson <mark@webb-johnson.net> Subject: Android App Date: 21 January, 2013 9:57:34 PM HKT To: OVMS Developers <OvmsDev@lists.teslaclub.hk>
I'm glad to be able to (finally) announce that the new Android App is finally ready for public beta. We're calling it v3.1.1.
The source code is all in github (for the brave), and there is an APK that can be side-loaded on Android devices, via this link:
http://www.openvehicles.com/downloads/OVMS.3.1.1.beta.apk
Functionality wise, it is pretty much on a par with the iOS App. All the core functions are there and, most importantly, the virtual car layer is complete and up-to-date. We've got HOMELINK support (yay!) as well as all the new function and parameter settings. It does have the artwork for the Volts and Amperas, but no Twizy yet (sorry, that slipped through the cracks, but we'll get it in the next build). The App should support any 2.3+ Android phone, and should scale its displays to pretty much any resolution out there. Tablet support is implemented by making them look like big phones.
There are a few things still incomplete (as previously pointed out at the start of this project):
No social group support on the map No cellular usage Some recent artwork missing (this is easy, and will come in the next beta release)
These will come, but weren't considered essential for this first release. The most important is to get the Android App up to the same level of functionality as the iOS App, so that they can both be brought forward.
I think if you want to install this, you first need to uninstall the Play store version. You will probably have to re-setup your vehicle as well. If you have problems with the beta, you can always uninstall it, and roll-back to the Play store version.
Please send feedback back to this list.
Regards, Mark.
participants (3)
-
Mark Webb-Johnson -
Michael Balzer -
Michael Stegen