{ "id": "111183", "key": "TIMOB-13065", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-28T18:38:06.000+0000", "created": "2013-03-14T00:07:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "jellybean", "module_android", "qe-testadded", "triage", "webView" ], "versions": [], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-28T14:06:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem description\r\n\r\nStarting in API level 16 (Jellybean and above), Android is by default more restrictive in the web settings. See this link:\r\n\r\n [http://developer.android.com/reference/android/webkit/WebSettings.html#setAllowUniversalAccessFromFileURLs(boolean)]\r\n\r\nIt prevents XHR requests from being made from local files. Titanium must allow setting this flag in Web View settings, or lots of WebView functionality will be wiped out.\r\n\r\nPlease enable setting this flag for Android web views ASAP, thanks. Obviously, this is an issue only when setting targetSdkVersion=\"16\" or higher.\r\n\r\nh2. Additional information\r\nhttp://stackoverflow.com/questions/11318703/access-control-allow-origin-error-at-android-4-1\r\n", "attachment": [], "flagged": false, "summary": "Android: API 16 breaks remote web services from local files", "creator": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Titanium Mobile API Level 16 (Jellybean), all Titanium versions", "comment": { "comments": [ { "id": "242190", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Edited original - I previously referenced the wrong Android flag. The link above is now correct, the flag is setAllowUniversalAccessFromFileURLs. Thanks", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-14T08:13:31.000+0000", "updated": "2013-03-14T08:13:31.000+0000" }, { "id": "242253", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "This seems to be a problem only on device; Emulator looks to work even if 4.1.x", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-14T16:22:58.000+0000", "updated": "2013-03-14T16:22:58.000+0000" }, { "id": "242273", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "@Davide - I did not try on emulator, but I did spend a few hours debugging why all of a sudden I'm getting null origin errors from my AJAX calls.... For now, my workaround is to set targetSdkVersion=\"14\", but clearly this flag must be a new option in WebView configuration.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-14T17:38:57.000+0000", "updated": "2013-03-14T17:38:57.000+0000" }, { "id": "260946", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "submitted PR: https://github.com/appcelerator/titanium_mobile/pull/4438", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-07-08T11:36:40.000+0000", "updated": "2013-07-08T11:36:40.000+0000" }, { "id": "271891", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "The pull request (just 3 lines of code!) has been working for me in production for quite some time now, battle tested on Android versions from 10 through 18, please commit it to enable web APIs from local webview files on Jellybean.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-19T06:30:30.000+0000", "updated": "2013-09-19T06:30:30.000+0000" }, { "id": "276626", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mokesmokes], I left some comments on your PR in github. Can you update your PR and provide a test case? Thanks.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T17:37:47.000+0000", "updated": "2013-10-24T17:37:47.000+0000" }, { "id": "276634", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "OK, I'll do it over the weekend.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-24T18:02:12.000+0000", "updated": "2013-10-24T18:02:12.000+0000" }, { "id": "276773", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Here is a test case that demonstrates the problem and fix. Note I tested this on 3.1.x, not 3.2.0 since I couldn't get the 3.2.0 CLI to work, and I can't mess too much with my production environment - so please check. Without the fix, this test case will work on iOS and Android devices < API 16, and will fail API >= 16. With the fix it works on all. I will submit a new PR for 3.2.0.\r\n\r\n1. Make sure to build for Jelly Bean, e.g. in tiapp.xml:\r\n{code}\r\n \r\n 18\r\n \r\n \r\n \r\n \r\n{code}\r\n2. Here is an example in Alloy:\r\nindex.xml:\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\nindex.js:\r\n{code}\r\n$.index.open();\r\n{code}\r\napp/lib/test.html:\r\n{code}\r\n\r\n\r\n\r\n\t\r\n\r\n\r\n\r\n\t

You should see a webpage after clicking

\r\n\t\r\n\t
\r\n\r\n\r\n\r\n{code}\r\n\r\n", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-25T12:06:07.000+0000", "updated": "2013-10-25T12:06:07.000+0000" }, { "id": "276778", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "New PR: https://github.com/appcelerator/titanium_mobile/pull/4850", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-25T13:27:18.000+0000", "updated": "2013-10-25T13:27:18.000+0000" }, { "id": "313604", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This needs to be reopened.\r\n\r\nOn SDK 3.2.3 this problem is causing apps to crash running on Android 2.3.3 (API Level 10) when setAllowUniversalAccessFromFileURLs is invoked by webView\r\nApps run fine on 3.2.0 and 3.2.2. Workaround is to build with 3.2.2.\r\n\r\n[INFO] : dalvikvm: Could not find method android.webkit.WebSettings.setAllowUniversalAccessFromFileURLs, referenced from method ti.modules.titanium.ui.widget.webview.TiUIWebView.\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 6190: Landroid/webkit/WebSettings;.setAllowUniversalAccessFromFileURLs (Z)V\r\n[WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4001d5a0)\r\n[WARN] : W/System.err: java.lang.NullPointerException\r\n[WARN] : W/System.err: at android.webkit.WebView$QuickSelect.resumeSelection(WebView.java:14232)\r\n[WARN] : W/System.err: at android.webkit.WebView$QuickSelect$EventHub.handleMessage(WebView.java:14690)\r\n[WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99)\r\n[WARN] : W/System.err: at android.os.Looper.loop(Looper.java:150)\r\n[WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:4385)\r\n[WARN] : W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)\r\n[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:507)\r\n[WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)\r\n[WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)\r\n[WARN] : W/System.err: at dalvik.system.NativeStart.main(Native Method)\r\n[ERROR] : TiApplication: (main) [703,36735] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.2.3,2014/04/22 10:17,b958a70\r\n[ERROR] : TiApplication: java.lang.NullPointerException\r\n[ERROR] : TiApplication: at android.webkit.WebView$QuickSelect.resumeSelection(WebView.java:14232)\r\n[ERROR] : TiApplication: at android.webkit.WebView$QuickSelect$EventHub.handleMessage(WebView.java:14690)\r\n[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:150)\r\n[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:4385)\r\n[ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:507)\r\n[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)\r\n[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)\r\n[ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method)\r\n[INFO] : KENLOG: updateAmountOfAddrAndPhone: 2", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-12T01:04:37.000+0000", "updated": "2014-07-12T01:04:37.000+0000" }, { "id": "313710", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Can you please post an example app? This code in the SDK has not changed since 3.2.0", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-07-12T20:30:42.000+0000", "updated": "2014-07-12T20:30:42.000+0000" }, { "id": "313726", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just ran the latest Kitchen Sink downloaded from the Dashboard and it crashes with the following stack trace using an Android 2.3.3 emulator (Google API Level 10) and SDK 3.2.3 when you go into Base UI => Views => Web Views => Local URL.\r\n\r\nThen I tried it using SDK 3.2.2 and it still crashed with the same stack trace.\r\n\r\nThen I changed Target SDK to 16 with SDK 3.2.2 and it still crashed with the same stack trace.\r\n\r\nThen I changed to SDK 3.2.0 and it still crashed...\r\n\r\nUsing Ti Studio build: 3.3.0.201407100905, Android SDK Tools 22.6.3, SDK Platform-tools 19.02, and SDK Build-tools 17 to 19.1.\r\n\r\nOur previous tests were done with an HTC Desire running Android 2.3.5 on a different Mac development system.\r\n\r\nYes, we've also noted that the code hasn't changed although this testing indicates that the fix doesn't work for any of the 3.2.x SDKs on API Level 10. \r\nPlease note that Google Maps are also currently broken on API Level 10 platforms.\r\nSo given that 15-25% of users are still on API Level 10 platforms, this is bad news for our customers and our reputation as quality app developers...\r\n\r\n[INFO] : dalvikvm: Could not find method android.webkit.WebSettings.setAllowUniversalAccessFromFileURLs, referenced from method ti.modules.titanium.ui.widget.webview.TiUIWebView.\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 5853: Landroid/webkit/WebSettings;.setAllowUniversalAccessFromFileURLs (Z)V\r\n[WARN] : dalvikvm: JNI WARNING: jarray 0x4089a7c8 points to non-array object (Ljava/lang/String;)\r\n[INFO] : dalvikvm: \"WebViewCoreThread\" prio=5 tid=12 NATIVE\r\n[INFO] : dalvikvm: | group=\"main\" sCount=0 dsCount=0 obj=0x40802d70 self=0x392850\r\n[INFO] : dalvikvm: | sysTid=663 nice=0 sched=0/0 cgrp=default handle=3744360\r\n[INFO] : dalvikvm: | schedstat=( 946960104 1847170173 144 )\r\n[INFO] : dalvikvm: at android.webkit.LoadListener.nativeFinished(Native Method)\r\n[INFO] : dalvikvm: at android.webkit.LoadListener.nativeFinished(Native Method)\r\n[INFO] : dalvikvm: at android.webkit.LoadListener.tearDown(LoadListener.java:1200)\r\n[INFO] : dalvikvm: at android.webkit.LoadListener.handleEndData(LoadListener.java:721)\r\n[INFO] : dalvikvm: at android.webkit.LoadListener.handleMessage(LoadListener.java:219)\r\n[INFO] : dalvikvm: at android.os.Handler.dispatchMessage(Handler.java:99)\r\n[INFO] : dalvikvm: at android.os.Looper.loop(Looper.java:130)\r\n[INFO] : dalvikvm: at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)\r\n[INFO] : dalvikvm: at java.lang.Thread.run(Thread.java:1019)\r\n[INFO] : dalvikvm:\r\n[ERROR] : dalvikvm: VM aborting", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-13T00:07:27.000+0000", "updated": "2014-07-13T00:07:27.000+0000" }, { "id": "313729", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OK, the app.js for the simplest test case is the following. This crashes on the Google API Level 10 emulator.\r\n\r\nwin = Ti.UI.createWindow();\r\nweb = Ti.UI.createWebView({\r\n\turl: 'local_webview.html'\r\n});\r\nwin.add(web);\r\nwin.open();\r\n\r\nlocal_webview.html is the same used in Kitchen Sink.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-13T04:18:21.000+0000", "updated": "2014-07-13T04:18:21.000+0000" }, { "id": "313732", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Are you using an unmodified version of the SDK? Here is the only call to that method in the codebase (TiUIWebView.java), and it's been this way since 3.2.0:\r\n{code}\r\nif (Build.VERSION.SDK_INT >= TiC.API_LEVEL_JELLY_BEAN) {\r\n settings.setAllowUniversalAccessFromFileURLs(true); // default is \"false\" for JellyBean, TIMOB-13065\r\n}\r\n{code}", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-07-13T05:45:42.000+0000", "updated": "2014-07-13T05:45:42.000+0000" }, { "id": "313817", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, we are running stock 3.2.xGA versions of the SDKs.\r\n\r\nTry running Kitchen Sink with the Google Android API Level 10 emulator or a real 2.3.3+ phone. \r\nI am told that Genymotion cuts corners and doesn't provide an accurate API Level 10 emulator.\r\n\r\nWe also looked at the SDK source code and we agree that it looks impossible, but we have published apps in the Android Play Store that are crashing because of the call to setAllowUniversalAccessFromFilesURLs when a webView is opened built with 3.2.3GA on an Android 2.3.5 phone.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-14T10:18:29.000+0000", "updated": "2014-07-14T10:18:29.000+0000" }, { "id": "313853", "author": { "name": "weevil", "key": "weevil", "displayName": "Kon Lovett", "active": true, "timeZone": "America/Los_Angeles" }, "body": "htc Desire HD, Android 2.3.5\r\n\r\nKitchenSink 3.3.0 built w/ Ti SDK 3.2.3.GA on MacOS 10.9.4, Android build-tools 20, Platform-tools 20\r\n\r\nBase UI => Views => Web Views => Local URL\r\n...\r\n[INFO] : dalvikvm: Could not find method android.webkit.WebSettings.setAllowUniversalAccessFromFileURLs, referenced from method ti.modules.titanium.ui.widget.webview.TiUIWebView.\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 5853: Landroid/webkit/WebSettings;.setAllowUniversalAccessFromFileURLs (Z)V\r\n[DEBUG] : dalvikvm: VFY: replacing opcode 0x6e at 0x0079\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/webview.db, flag = 6, cannot stat file, errno: 2,message: No such file or directory\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/webview.db, mode: delete, disk free size: 139 M, handle: 0x463fc8\r\n[DEBUG] : dalvikvm: GC_CONCURRENT freed 435K, 34% free 7756K/11591K, external 108K/620K, paused 3ms+4ms\r\n[TRACE] : webviewdatabase: TCP pre connection: creating table in database\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/webviewCache.db, flag = 6, cannot stat file, errno: 2,message: No such file or directory\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/webviewCache.db, mode: delete, disk free size: 139 M, handle: 0x451358\r\n[DEBUG] : skia: htcFlashPlugin::htcFlashPlugin\r\n[DEBUG] : qct: [WebView.WebView] >> Enable Shutdown = true\r\n[DEBUG] : qct: [RequestQueue.ActivePool.ActivePool] >> Enable Shutdown = true\r\n[DEBUG] : qct: [IdleCache.IdleCache] >> IDLE_CACHE_MAX = 40\r\n[DEBUG] : Window: Checkpoint: postWindowCreated()\r\n[DEBUG] : ATRecorder: com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@407b5268\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, flag = 6, file size = 8192\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, mode: wal, disk free size: 139 M, handle: 0x4a9d28\r\n[DEBUG] : Database: dbclose(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, handle = 0x4a9d28\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, flag = 6, file size = 8192\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, mode: wal, disk free size: 139 M, handle: 0x4b1ac0\r\n[DEBUG] : Database: dbclose(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, handle = 0x4b1ac0\r\n[DEBUG] : WindowManagerImpl: addView, new view, mViews[4]: com.android.internal.policy.impl.PhoneWindow$DecorView@406dba30\r\n[DEBUG] : D/webkit-timers: [JWebCoreJavaBridge::resume] >> do resume\r\n[INFO] : before image\r\n[INFO] : JSON injection: [\"foo\",\"bar\"]\r\n[INFO] : image [object HTMLImageElement]\r\n[DEBUG] : log statement here\r\n[DEBUG] : AndroidRuntime: Shutting down VM\r\n[WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4001d5a0)\r\n[ERROR] : TiApplication: (main) [16398,31239] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.2.3,2014/04/22 10:17,b958a70\r\n[ERROR] : TiApplication: java.lang.NullPointerException\r\n[ERROR] : TiApplication: \tat android.webkit.WebView$QuickSelect.resumeSelection(WebView.java:14232)\r\n[ERROR] : TiApplication: \tat android.webkit.WebView$QuickSelect$EventHub.handleMessage(WebView.java:14690)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:150)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:4385)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:507)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)\r\n[ERROR] : TiApplication: \tat dalvik.system.NativeStart.main(Native Method)\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, flag = 6, file size = 6144\r\n[DEBUG] : Database: dbopen(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, mode: wal, disk free size: 139 M, handle: 0x53acb0\r\n[DEBUG] : Database: dbclose(): path = /data/data/com.appcelerator.kitchensink/databases/tianalytics.db, handle = 0x53acb0\r\n[INFO] : KENLOG: updateAmountOfAddrAndPhone: 1\r\n\r\n", "updateAuthor": { "name": "weevil", "key": "weevil", "displayName": "Kon Lovett", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-14T15:59:45.000+0000", "updated": "2014-07-14T15:59:45.000+0000" }, { "id": "325263", "author": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same here on all emulators < api level 16, on sdk 3.2.3 and 3.3.0. Even when explicitly build for api level 10. \r\n\r\nCan this issue be reopened?\r\n ", "updateAuthor": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-23T21:11:34.000+0000", "updated": "2014-09-23T21:11:34.000+0000" }, { "id": "325267", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Does the issue occur on devices for you?", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-09-23T21:28:35.000+0000", "updated": "2014-09-23T21:28:35.000+0000" }, { "id": "325391", "author": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "body": "I did not find this issue on my test devices but these were all Android 4+. I wanted to test on a 2.3 tablet but forgot to borrow it from my daughter :-). I'll look around for one.\r\n\r\nI can confirm this issue disappears when using sdk 3.2.2.", "updateAuthor": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-24T08:32:19.000+0000", "updated": "2014-09-24T08:32:19.000+0000" }, { "id": "325397", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We can confirm that this problem goes away on 3.40RC2.\r\nWe re-tested today with 3.2.3 on an HTC Inspire/Desire running 2.3.5 and it does fail when accessing locally stored HTML files.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T09:04:34.000+0000", "updated": "2014-09-24T09:04:34.000+0000" }, { "id": "325400", "author": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "body": "Great! Is there an ETA for 3.40?", "updateAuthor": { "name": "jelmerjellema", "key": "jelmerjellema", "displayName": "Jelmer Jellema", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-24T09:08:11.000+0000", "updated": "2014-09-24T09:08:11.000+0000" }, { "id": "358437", "author": { "name": "djamelzahal", "key": "djamelzahal", "displayName": "DJAMEL ZAHAL", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please could you tell me in which version of titanium sdk this update is available ? thanks", "updateAuthor": { "name": "djamelzahal", "key": "djamelzahal", "displayName": "DJAMEL ZAHAL", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-28T14:05:44.000+0000", "updated": "2015-07-28T14:05:44.000+0000" }, { "id": "358438", "author": { "name": "djamelzahal", "key": "djamelzahal", "displayName": "DJAMEL ZAHAL", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Im using 3.5.1.GA and the problem seems to be not resolved. thanks", "updateAuthor": { "name": "djamelzahal", "key": "djamelzahal", "displayName": "DJAMEL ZAHAL", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-28T14:06:34.000+0000", "updated": "2015-07-28T14:06:34.000+0000" } ], "maxResults": 23, "total": 23, "startAt": 0 } } }