<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Mark,<br>
<br>
it will run in the emulator until I try to open the vehicle tab (tab
2). According to the log, it tries to allocate some huge amount of
memory:<br>
<br>
12-11 19:39:17.044: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed 918K,
53% free 2995K/6343K, external 2284K/2709K, paused 39ms<br>
12-11 19:39:17.194: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed 9K, 53%
free 2987K/6343K, external 3723K/3751K, paused 32ms<br>
12-11 19:39:17.294: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2989K/6343K, external 5162K/5548K, paused 32ms<br>
12-11 19:39:17.374: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2991K/6343K, external 7321K/7345K, paused 33ms<br>
12-11 19:39:17.444: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2993K/6343K, external 8794K/10041K, paused 34ms<br>
12-11 19:39:17.464: E/dalvikvm-heap(401): 1302960-byte external
allocation too large for this process.<br>
12-11 19:39:17.494: E/GraphicsJNI(401): VM won't let us allocate
1302960 bytes<br>
12-11 19:39:17.494: D/dalvikvm(401): GC_FOR_MALLOC freed <1K, 53%
free 2993K/6343K, external 8794K/10041K, paused 19ms<br>
12-11 19:39:17.504: D/skia(401): --- decoder->decode returned
false<br>
12-11 19:39:17.504: D/AndroidRuntime(401): Shutting down VM<br>
12-11 19:39:17.504: W/dalvikvm(401): threadid=1: thread exiting with
uncaught exception (group=0x40015560)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): FATAL EXCEPTION: main<br>
12-11 19:39:17.524: E/AndroidRuntime(401):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.openvehicles.OVMS/com.openvehicles.OVMS.ui.TabCar}:
android.view.InflateException: Binary XML file line #55: Error
inflating class <unknown><br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.ActivityThread.startActivityNow(ActivityThread.java:1487)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:654)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost.setCurrentTab(TabHost.java:326)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132)<br>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456)<br>
...<br>
<br>
I thought that could be due to the VM. But if I try to install the
self-signed .apk on my phone, the installation simply aborts with
"application not installed" after accepting the rights, no further
error message displayed. I've got an HTC DHD running the latest
(HTC!) Android version 2.3.5 API level 10. Emulator is configured
for API level 10 (2.3.3) as well.<br>
<br>
That's my first ADK contact, so maybe I'm missing something.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 11.12.2012 03:56, schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote
cite="mid:0ED93EC4-820E-4462-B72D-DC550561C9E8@webb-johnson.net"
type="cite">
<div><br>
</div>
It should build, but is not yet feature complete.
<div><br>
</div>
<div>What is the error you are getting?</div>
<div><br>
</div>
<div>
<div>
<div>On 11 Dec, 2012, at 3:01 AM, Michael Balzer wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> Mark, Eugene(?),<br>
<br>
<div class="moz-cite-prefix">Am 22.10.2012 02:47, schrieb
Mark Webb-Johnson:<br>
</div>
<blockquote
cite="mid:44974E80-1991-4828-B450-00843321B31E@webb-johnson.net"
type="cite">The OVMS Android project on github is here:
<div><br>
</div>
<blockquote class="webkit-indent-blockquote"
style="margin: 0 0 0 40px; border: none; padding:
0px;">
<div><a moz-do-not-send="true"
href="https://github.com/markwj/Open-Vehicle-Android">https://github.com/markwj/Open-Vehicle-Android</a></div>
</blockquote>
<div><br>
</div>
</blockquote>
<br>
I've got some problems getting the current version from
the repo to work. Should that be usable or is it unstable?<br>
<br>
Thanks,<br>
Michael<br>
<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 moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
<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>
</body>
</html>