<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Michael,<div><br></div><div>I've added you to the maintainers list for the Android repository.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 17 Jan, 2015, at 10:38 pm, Michael Balzer <<a href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi again,<br>
    <br>
    the directory structure changes are not that complex, it's just
    another root directory and the sources subdirectory is named "java"
    instead of "src".<br>
    <br>
    So here are my changes so far:<br>
<a class="moz-txt-link-freetext" href="https://github.com/dexterbg/Open-Vehicle-Android/commit/56445e31a3de48dfde97956ce70b1153f6729922">https://github.com/dexterbg/Open-Vehicle-Android/commit/56445e31a3de48dfde97956ce70b1153f6729922</a><br>
    <br>
     Version 3.2.3:<br>
    - OCM API update: fixes missing stations, missing detail data<br>
      and station address encoding issues<br>
    - USSD code dialog is now text field allowing "*" and "#",<br>
      default "*100#" (account balance query in most networks)<br>
    - 12V battery state display (car info)<br>
    - Renault Twizy: "Homelink" gets "Profile" and extended by "Default"<br>
    <br>
    Mark, you need to pull this or add me, I cannot push into the
    project repository.<br>
    <br>
    Haven't begun on the range switch, I'm stuck building for my Android
    2.3.5 phone -- everything works except the OCM markers, and the log
    contains lots of resolver errors (see below). Tried different build
    settings and also replacing the google-play-services.jar, but
    nothing helps so far.<br>
    <br>
    It must be some build config, as it runs perfectly on my 5.0.2
    tablet. If anyone's got an idea on this, let me know.<br>
    <br>
    Regards,<br>
    Michael<br>
    <br>
    Resolver errors on Android 2.3.5:<br>
    <br>
    01-17 13:31:56.788    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to find class referenced in signature
    (Landroid/app/Fragment;)<br>
    01-17 13:31:56.788    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 90:
    Landroid/app/Activity;.getFragmentManager
    ()Landroid/app/FragmentManager;<br>
    01-17 13:31:56.948    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 6780:
    Lcom/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout;.onHoverEvent
    (Landroid/view/MotionEvent;)Z<br>
    01-17 13:31:56.958    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5406:
    Landroid/widget/FrameLayout;.getAlpha ()F<br>
    01-17 13:31:56.958    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5408:
    Landroid/widget/FrameLayout;.getTranslationY ()F<br>
    01-17 13:31:56.958    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5412:
    Landroid/widget/FrameLayout;.setAlpha (F)V<br>
    01-17 13:31:56.958    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5420:
    Landroid/widget/FrameLayout;.setTranslationY (F)V<br>
    01-17 13:31:56.968    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5100:
    Landroid/view/ViewGroup;.getAlpha ()F<br>
    01-17 13:31:56.968    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5111:
    Landroid/view/ViewGroup;.getTranslationX ()F<br>
    01-17 13:31:56.978    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5112:
    Landroid/view/ViewGroup;.getTranslationY ()F<br>
    01-17 13:31:56.978    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5134:
    Landroid/view/ViewGroup;.setAlpha (F)V<br>
    01-17 13:31:56.978    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5139:
    Landroid/view/ViewGroup;.setTranslationX (F)V<br>
    01-17 13:31:56.978    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5140:
    Landroid/view/ViewGroup;.setTranslationY (F)V<br>
    01-17 13:31:57.008    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 7644:
    Lcom/actionbarsherlock/internal/widget/ActionBarView$HomeView;.onHoverEvent
    (Landroid/view/MotionEvent;)Z<br>
    01-17 13:31:57.008    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5410:
    Landroid/widget/FrameLayout;.onPopulateAccessibilityEvent
    (Landroid/view/accessibility/AccessibilityEvent;)V<br>
    01-17 13:31:57.049    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 4995:
    Landroid/view/View;.jumpDrawablesToCurrentState ()V<br>
    01-17 13:31:57.049    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5003:
    Landroid/view/View;.onInitializeAccessibilityEvent
    (Landroid/view/accessibility/AccessibilityEvent;)V<br>
    01-17 13:31:57.049    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve static method 5027:
    Landroid/view/View;.resolveSizeAndState (III)I<br>
    01-17 13:31:57.079    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve static method 7853:
    Lcom/actionbarsherlock/internal/widget/IcsAbsSpinner;.resolveSizeAndState
    (III)I<br>
    01-17 13:31:57.089    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5117:
    Landroid/view/ViewGroup;.onInitializeAccessibilityEvent
    (Landroid/view/accessibility/AccessibilityEvent;)V<br>
    01-17 13:31:57.089    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to find class referenced in signature
    (Landroid/view/accessibility/AccessibilityNodeInfo;)<br>
    01-17 13:31:57.089    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5118:
    Landroid/view/ViewGroup;.onInitializeAccessibilityNodeInfo
    (Landroid/view/accessibility/AccessibilityNodeInfo;)V<br>
    01-17 13:31:57.089    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5122:
    Landroid/view/ViewGroup;.onRequestSendAccessibilityEvent
    (Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z<br>
    01-17 13:31:57.099    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve direct method 5551:
    Landroid/widget/PopupWindow;.<init>
    (Landroid/content/Context;Landroid/util/AttributeSet;II)V<br>
    01-17 13:31:57.109    7099-7099/com.openvehicles.OVMS
    E/ResourceType﹕ Style contains key with bad entry: 0x01000000<br>
    01-17 13:31:57.109    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5473:
    Landroid/widget/LinearLayout;.getAlpha ()F<br>
    01-17 13:31:57.109    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5476:
    Landroid/widget/LinearLayout;.getTranslationX ()F<br>
    01-17 13:31:57.109    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5488:
    Landroid/widget/LinearLayout;.setAlpha (F)V<br>
    01-17 13:31:57.109    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 5498:
    Landroid/widget/LinearLayout;.setTranslationX (F)V<br>
    01-17 13:31:57.249    7099-7100/com.openvehicles.OVMS E/Database﹕
    close() was never explicitly called on database
    '/data/data/com.openvehicles.OVMS/databases/sampledatabase'<br>
        android.database.sqlite.DatabaseObjectNotClosedException:
    Application did not close the cursor or database object that was
    opened here<br>
                at
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1960)<br>
                at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:906)<br>
                at
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:940)<br>
                at
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:933)<br>
                at
    android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:614)<br>
                at
android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)<br>
                at
android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)<br>
                at
com.openvehicles.OVMS.ui.utils.Database.get_ConnectionTypes_Main(Database.java:222)<br>
                at
com.openvehicles.OVMS.utils.ConnectionList.<init>(ConnectionList.java:46)<br>
                at
    com.openvehicles.OVMS.ui.MainActivity.onCreate(MainActivity.java:59)<br>
                at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)<br>
                at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1836)<br>
                at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1893)<br>
                at
    android.app.ActivityThread.access$1500(ActivityThread.java:135)<br>
                at
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1054)<br>
                at android.os.Handler.dispatchMessage(Handler.java:99)<br>
                at android.os.Looper.loop(Looper.java:150)<br>
                at
    android.app.ActivityThread.main(ActivityThread.java:4385)<br>
                at java.lang.reflect.Method.invokeNative(Native Method)<br>
                at java.lang.reflect.Method.invoke(Method.java:507)<br>
                at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)<br>
                at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)<br>
                at dalvik.system.NativeStart.main(Native Method)<br>
    01-17 13:31:57.879    7099-7099/com.openvehicles.OVMS W/dalvikvm﹕
    VFY: unable to resolve virtual method 4995:
    Landroid/view/View;.jumpDrawablesToCurrentState ()V<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 15.01.2015 um 00:38 schrieb Michael
      Balzer:<br>
    </div>
    <blockquote cite="mid:54B6FDF3.2010109@expeedo.de" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Mark,<br>
      <br>
      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.<br>
      <br>
      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.<br>
      <br>
      I'll fix the OCM range switch tomorrow (if I find the time).<br>
      <br>
      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.<br>
      <br>
      Regards,<br>
      Michael<br>
      <br>
      <br>
      <div class="moz-cite-prefix">Am 13.01.2015 um 07:03 schrieb Mark
        Webb-Johnson:<br>
      </div>
      <blockquote cite="mid:C2117A1A-D63E-4AC2-93B3-3F7523F378C7@webb-johnson.net" type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        This seems to be a one-liner in res/layout/dlg_pin.xml:
        <div><br>
        </div>
        <div>
          <blockquote style="margin: 0 0 0 40px; border: none; padding:
            0px;">
            <div>
              <div>        <EditText
                android:id="@+id/etxt_input_value"</div>
              <div>                android:layout_width="match_parent"</div>
              <div>                android:layout_height="wrap_content"</div>
              <div>                android:digits="0123456789"</div>
              <div>                android:password="true"</div>
              <div>                android:inputType="numberSigned"
                /></div>
            </div>
          </blockquote>
        </div>
        <div><br>
        </div>
        <div>It seems that the re-use of the showPinDialog in so many
          places in the Android code is a bit restrictive.</div>
        <div><br>
        </div>
        <div>We could try changing this to andoid:inputType
          textPassword.</div>
        <div><br>
        </div>
        <div>Regards, Mark.</div>
        <div><br>
          <div>
            <div>On 12 Jan, 2015, at 1:57 am, Michael Balzer <<a moz-do-not-send="true" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>

              wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <div text="#000000" bgcolor="#FFFFFF" style="font-family:
                Helvetica; font-size: 24px; font-style: normal;
                font-variant: normal; font-weight: normal;
                letter-spacing: normal; line-height: normal; orphans:
                auto; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: auto;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;">Hi
                Pierre,<br>
                <br>
                that's a known bug of the App. You currently need to use
                the perl client to send USSD codes.<br>
                <br>
                Command code for this is 41, so for your USSD code
                it's...<br>
                <br>
                ./cmd.pl 41 "*131#"<br>
                <br>
                Regards,<br>
                Michael<br>
                <br>
                <br>
                <div class="moz-cite-prefix">Am 11.01.2015 um 17:33
                  schrieb Pierre Uhl:<br>
                </div>
                <blockquote cite="mid:001501d02dbc$4abc2450$e0346cf0$@bluewin.ch" type="cite">
                  <div class="WordSection1" style="page: WordSection1;">
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div>
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Hi everybody,<o:p></o:p></span></div>
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div>
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">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?<o:p></o:p></span></div>
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div>
                    <div style="margin: 0cm 0cm 0.0001pt; font-size:
                      11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Pierre Uhl<o:p></o:p></span></div>
                  </div>
                  <br>
                </blockquote>
                <br>
                <pre class="moz-signature" cols="72">-- 
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
                <span><dexter.vcf></span>_______________________________________________<br>
                OvmsDev mailing list<br>
                <a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk" style="color:
                  purple; text-decoration: underline;">OvmsDev@lists.teslaclub.hk</a><br>
                <a moz-do-not-send="true" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" style="color: purple; text-decoration: underline;">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
OvmsDev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
  </div>

<span><dexter.vcf></span>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>