[Ovmsdev] USSD Codes
Michael Balzer
dexter at expeedo.de
Thu Jan 15 07:38:27 HKT 2015
Mark,
I managed to import the App code into Android Studio and build the App,
currently running successfully on Android 5.0.2 on my tablet -- not yet
tested on my 2.3 phone.
I have fixed the OCM integration and the USSD code entry, also added a
homelink reset menu option and extended the "D" message parsing to
include 12V reference and charging info, which is then displayed on the
car info sheet.
I'll fix the OCM range switch tomorrow (if I find the time).
I'd like to push my changes back into github, but it seems the change to
Android Studio / Gradle modified a lot of files, even directory layout.
It seems I'll have to create a new repository, breaking the version
history. I'll see if I can do something about that and work in my own
github account first.
Regards,
Michael
Am 13.01.2015 um 07:03 schrieb Mark Webb-Johnson:
> This seems to be a one-liner in res/layout/dlg_pin.xml:
>
> <EditText android:id="@+id/etxt_input_value"
> android:layout_width="match_parent"
> android:layout_height="wrap_content"
> android:digits="0123456789"
> android:password="true"
> android:inputType="numberSigned" />
>
>
> It seems that the re-use of the showPinDialog in so many places in the
> Android code is a bit restrictive.
>
> We could try changing this to andoid:inputType textPassword.
>
> Regards, Mark.
>
> On 12 Jan, 2015, at 1:57 am, Michael Balzer <dexter at expeedo.de
> <mailto:dexter at expeedo.de>> wrote:
>
>> Hi Pierre,
>>
>> that's a known bug of the App. You currently need to use the perl
>> client to send USSD codes.
>>
>> Command code for this is 41, so for your USSD code it's...
>>
>> ./cmd.pl 41 "*131#"
>>
>> Regards,
>> Michael
>>
>>
>> Am 11.01.2015 um 17:33 schrieb Pierre Uhl:
>>> Hi everybody,
>>> I am trying to use USSD Codes. But the App (Android 3.2.2) does not
>>> accept * and # but only numbers. How can I input *131# to recharge
>>> the Prepaid SIM-Card?
>>> Pierre Uhl
>>>
>>
>> --
>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>> <dexter.vcf>_______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20150115/0a2f84ce/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dexter.vcf
Type: text/x-vcard
Size: 206 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20150115/0a2f84ce/attachment-0002.vcf>
More information about the OvmsDev
mailing list