{ "id": "80105", "key": "TIMOB-5236", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "12077", "description": "", "name": "Sprint 2011-37", "archived": true, "released": true, "releaseDate": "2011-09-19" }, { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-17T07:56:44.000+0000", "created": "2011-09-08T15:59:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "test-1.7.3" ], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-06-19T12:46:13.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": "h4. Without Barcode \r\n\r\nSteps to reproduce without barcode\r\nStep 1: download and run the attached app\r\nStep 2: comment references to the barcode module from tiapp.xml and app.js\r\nStep 3: launch the app\r\nStep 3: see the app crash (The app has stopped unexpectedly)\r\nStep 4: if it does not crash: kill the app, launch the app\r\n\r\nIf you rename the \"Resources/android/images\" folder so that the density specific resources are not available you will no longer see this error.\r\n\r\nh4. With Barcode Module\r\nOn the HTC HERO200, 2.1-update1 it was only possible to reproduce this error when the barcode module was included in the project. \r\n\r\nIf you use the barcode module and have and image view that uses a density specific image, the image is not found when you click it and the barcode module is launched. This is random, it happens maybe 1 in 5x.\r\n\r\nThese are the steps to reproduce with the barcode module.\r\nStep 1: download and run the attached app\r\nStep 2: click the barcode button/image\r\nStep 3: see the app crash (The app has stopped unexpectedly)\r\nStep 4: if it does not crash: kill the app, launch the app, click the barcode button\r\n\r\nIf you rename the \"Resources/android/images\" folder so that the density specific resources are not available you will no longer see this error.\r\n\r\nRequirements to reproduce:\r\n1. density specific images (if you delete the \"Resources/android/images\" folder it will not crash)\r\n2. createImageView must be in a function\r\n3. createAppImageView must be called at least 2x (the second one does not need to be added to the window)\r\n\r\nh4. Examples\r\n{code:title=app.js}\r\nTitanium.Barcode = Ti.Barcode = require('ti.barcode');\r\nTi.Barcode.addEventListener('success', function(e) {\r\n\tTi.API.info('###### Success #####');\r\n});\r\nvar createAppImageView = function(image, top, left) {\r\n\tvar imageView = Ti.UI.createImageView({\r\n\t\timage : image,\r\n\t\ttop : top,\r\n\t\tleft : left,\r\n\t\theight : 'auto',\r\n\t\twidth : 'auto'\r\n\t});\r\n\treturn imageView;\r\n};\r\nvar homeWindow = Titanium.UI.createWindow({\r\n\tbackgroundColor : \"#fff\",\r\n\tcolor : \"black\"\r\n});\r\nhomeWindow.exitOnClose = true;\r\nt1 = 60;\r\nt2 = 175;\r\nt3 = 290;\r\nl1 = 25;\r\nl2 = 122;\r\nl3 = 220;\r\n\r\nvar QRcode = createAppImageView('/images/home_icons/icon_qr_scan.png', t3, l1);\r\n// var events = createAppImageView('/images/home_icons/icon_events.png', t3, l2);\r\nvar mymichaels = createAppImageView('/images/home_icons/icon_my_michaels.png', t3, l3);\r\n\r\nQRcode.addEventListener('click', function() {\r\n\tTi.Barcode.capture();\r\n});\r\n\r\nhomeWindow.add(QRcode);\r\nhomeWindow.open();\r\n\r\n{code}\r\nD/dalvikvm( 522): GC freed 720 objects / 32752 bytes in 111ms\r\nW/dalvikvm( 104): disableGcForExternalAlloc: true\r\nI/ActivityManager( 104): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.michaels.michaelsstores/.MichaelsActivity bnds=[163,238][237,317] }\r\nD/Sensors ( 104): open_akm, fd=195\r\nD/AK8973 ( 61): Compass Start\r\nI/TiRootActivity(22485): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\nD/dalvikvm(22485): GC freed 7092 objects / 495256 bytes in 126ms\r\nE/TiApplication(22485): (main) [247,247] APP PROXY: [Ti.App]\r\nD/KrollContext(22485): (kroll$2: app://app.js) [16,263] Running evaluated script: file:///android_asset/Resources/app.js\r\nD/TitaniumModule(22485): (kroll$2: app://app.js) [51,314] Attempting to include native module: ti.barcode\r\nD/TitaniumModule(22485): (kroll$2: app://app.js) [3,317] Succesfully loaded module: barcode/1.1\r\nI/TiRootActivity(22485): (main) [0,0] checkpoint, on root activity resume. context = org.appcelerator.titanium.TiContext@445ba588\r\nI/ActivityManager( 104): Displayed activity com.michaels.michaelsstores/.MichaelsActivity: 553 ms (total 553 ms)\r\nW/dalvikvm( 104): disableGcForExternalAlloc: false\r\nD/BarcodeModule(22485): (kroll$2: app://app.js) [1558,1558] start the capture\r\nW/dalvikvm( 104): disableGcForExternalAlloc: true\r\nI/ActivityManager( 104): Starting activity: Intent { act=com.google.zxing.client.android.SCAN cmp=com.michaels.michaelsstores/com.google.zxing.client.android.CaptureActivity }\r\nI/WindowManager( 104): Setting rotation to 1, animFlags=0\r\nI/ActivityManager( 104): Config changed: { scale=1.0 imsi=310/120 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}\r\nI/ActivityManager( 104): Launch activity, postpone broadcast intents\r\nW/ResourceType(22485): Failure getting entry for 0x7f02000b (t=1 e=11) in package 0: 0xffffffb5\r\nD/AndroidRuntime(22485): Shutting down VM\r\nW/dalvikvm(22485): threadid=3: thread exiting with uncaught exception (group=0x4001e390)\r\nE/TiUncaughtHandler(22485): (main) [669,2227] Sending event: exception on thread: main msg:android.content.res.Resources$NotFoundException: Resource ID #0x7f02000b; Titanium 1.7.1,2011/06/21 14:28,293a6d\r\nE/TiUncaughtHandler(22485): android.content.res.Resources$NotFoundException: Resource ID #0x7f02000b\r\nE/TiUncaughtHandler(22485): \tat android.content.res.Resources.getValue(Resources.java:891)\r\nE/TiUncaughtHandler(22485): \tat android.content.res.Resources.openRawResource(Resources.java:816)\r\nE/TiUncaughtHandler(22485): \tat android.content.res.Resources.openRawResource(Resources.java:798)\r\nE/TiUncaughtHandler(22485): \tat org.appcelerator.titanium.view.TiDrawableReference.getInputStream(TiDrawableReference.java:539)\r\nE/TiUncaughtHandler(22485): \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:370)\r\nE/TiUncaughtHandler(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView.setImage(TiUIImageView.java:589)\r\nE/TiUncaughtHandler(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView.access$400(TiUIImageView.java:52)\r\nE/TiUncaughtHandler(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView$1.sizeChanged(TiUIImageView.java:129)\r\nE/TiUncaughtHandler(22485): \tat ti.modules.titanium.ui.widget.TiImageView$NoLayoutImageView.onSizeChanged(TiImageView.java:97)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.setFrame(View.java:6897)\r\nE/TiUncaughtHandler(22485): \tat android.widget.ImageView.setFrame(ImageView.java:776)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6824)\r\nE/TiUncaughtHandler(22485): \tat ti.modules.titanium.ui.widget.TiImageView.onLayout(TiImageView.java:435)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:358)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:358)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:333)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)\r\nE/TiUncaughtHandler(22485): \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)\r\nE/TiUncaughtHandler(22485): \tat android.widget.LinearLayout.onLayout(LinearLayout.java:918)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:333)\r\nE/TiUncaughtHandler(22485): \tat android.view.View.layout(View.java:6830)\r\nE/TiUncaughtHandler(22485): \tat android.view.ViewRoot.performTraversals(ViewRoot.java:1000)\r\nE/TiUncaughtHandler(22485): \tat android.view.ViewRoot.handleMessage(ViewRoot.java:1639)\r\nE/TiUncaughtHandler(22485): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\nE/TiUncaughtHandler(22485): \tat android.os.Looper.loop(Looper.java:123)\r\nE/TiUncaughtHandler(22485): \tat android.app.ActivityThread.main(ActivityThread.java:4595)\r\nE/TiUncaughtHandler(22485): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\nE/TiUncaughtHandler(22485): \tat java.lang.reflect.Method.invoke(Method.java:521)\r\nE/TiUncaughtHandler(22485): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)\r\nE/TiUncaughtHandler(22485): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)\r\nE/TiUncaughtHandler(22485): \tat dalvik.system.NativeStart.main(Native Method)\r\nE/AndroidRuntime(22485): Uncaught handler: thread main exiting due to uncaught exception\r\nE/AndroidRuntime(22485): android.content.res.Resources$NotFoundException: Resource ID #0x7f02000b\r\nE/AndroidRuntime(22485): \tat android.content.res.Resources.getValue(Resources.java:891)\r\nE/AndroidRuntime(22485): \tat android.content.res.Resources.openRawResource(Resources.java:816)\r\nE/AndroidRuntime(22485): \tat android.content.res.Resources.openRawResource(Resources.java:798)\r\nE/AndroidRuntime(22485): \tat org.appcelerator.titanium.view.TiDrawableReference.getInputStream(TiDrawableReference.java:539)\r\nE/AndroidRuntime(22485): \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:370)\r\nE/AndroidRuntime(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView.setImage(TiUIImageView.java:589)\r\nE/AndroidRuntime(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView.access$400(TiUIImageView.java:52)\r\nE/AndroidRuntime(22485): \tat ti.modules.titanium.ui.widget.TiUIImageView$1.sizeChanged(TiUIImageView.java:129)\r\nE/AndroidRuntime(22485): \tat ti.modules.titanium.ui.widget.TiImageView$NoLayoutImageView.onSizeChanged(TiImageView.java:97)\r\nE/AndroidRuntime(22485): \tat android.view.View.setFrame(View.java:6897)\r\nE/AndroidRuntime(22485): \tat android.widget.ImageView.setFrame(ImageView.java:776)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6824)\r\nE/AndroidRuntime(22485): \tat ti.modules.titanium.ui.widget.TiImageView.onLayout(TiImageView.java:435)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:358)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:358)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:333)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)\r\nE/AndroidRuntime(22485): \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)\r\nE/AndroidRuntime(22485): \tat android.widget.LinearLayout.onLayout(LinearLayout.java:918)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat android.widget.FrameLayout.onLayout(FrameLayout.java:333)\r\nE/AndroidRuntime(22485): \tat android.view.View.layout(View.java:6830)\r\nE/AndroidRuntime(22485): \tat android.view.ViewRoot.performTraversals(ViewRoot.java:1000)\r\nE/AndroidRuntime(22485): \tat android.view.ViewRoot.handleMessage(ViewRoot.java:1639)\r\nE/AndroidRuntime(22485): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\nE/AndroidRuntime(22485): \tat android.os.Looper.loop(Looper.java:123)\r\nE/AndroidRuntime(22485): \tat android.app.ActivityThread.main(ActivityThread.java:4595)\r\nE/AndroidRuntime(22485): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\nE/AndroidRuntime(22485): \tat java.lang.reflect.Method.invoke(Method.java:521)\r\nE/AndroidRuntime(22485): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)\r\nE/AndroidRuntime(22485): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)\r\nE/AndroidRuntime(22485): \tat dalvik.system.NativeStart.main(Native Method)\r\nI/Process ( 104): Sending signal. PID: 22485 SIG: 3\r\nI/dalvikvm(22485): threadid=7: reacting to signal 3\r\nI/dalvikvm(22485): Wrote stack trace to '/data/anr/traces.txt'\r\nI/BatteryStatsImpl( 104): notePhoneSignalStrengthLocked: 4->3\r\nD/dalvikvm( 104): GC freed 8757 objects / 600008 bytes in 261ms\r\n{code}\r\n\r\n{code:title=R.java w/ barcode}\r\n/* AUTO-GENERATED FILE. DO NOT MODIFY.\r\n *\r\n * This class was automatically generated by the\r\n * aapt tool from the resource data it found. It\r\n * should not be modified by hand.\r\n */\r\n\r\npackage com.michaels.michaelsstores;\r\n\r\npublic final class R {\r\n public static final class attr {\r\n }\r\n public static final class color {\r\n public static final int contents_text=0x7f060000;\r\n public static final int encode_view=0x7f060001;\r\n public static final int help_button_view=0x7f060002;\r\n public static final int help_view=0x7f060003;\r\n public static final int possible_result_points=0x7f060004;\r\n public static final int result_image_border=0x7f060005;\r\n public static final int result_minor_text=0x7f060006;\r\n public static final int result_points=0x7f060007;\r\n public static final int result_text=0x7f060008;\r\n public static final int result_view=0x7f060009;\r\n public static final int sbc_header_text=0x7f06000a;\r\n public static final int sbc_header_view=0x7f06000b;\r\n public static final int sbc_layout_view=0x7f06000d;\r\n public static final int sbc_list_item=0x7f06000c;\r\n public static final int sbc_page_number_text=0x7f06000e;\r\n public static final int sbc_snippet_text=0x7f06000f;\r\n public static final int share_text=0x7f060010;\r\n public static final int share_view=0x7f060011;\r\n public static final int status_text=0x7f060013;\r\n public static final int status_view=0x7f060012;\r\n public static final int transparent=0x7f060014;\r\n public static final int viewfinder_frame=0x7f060015;\r\n public static final int viewfinder_laser=0x7f060016;\r\n public static final int viewfinder_mask=0x7f060017;\r\n }\r\n public static final class drawable {\r\n public static final int appicon=0x7f020000;\r\n public static final int appicon_e5fbaffc57=0x7f020001;\r\n public static final int background=0x7f020002;\r\n public static final int home_icons__57e1a7d905=0x7f020003;\r\n public static final int home_icons_icon_coupons_081f921e4b=0x7f020004;\r\n public static final int home_icons_icon_deals_3c8efd5311=0x7f020005;\r\n public static final int home_icons_icon_events_41bdbd9131=0x7f020006;\r\n public static final int home_icons_icon_lists_cf86c827c8=0x7f020007;\r\n public static final int home_icons_icon_my_michaels_34007f623a=0x7f020008;\r\n public static final int home_icons_icon_products_f4d11de1c3=0x7f020009;\r\n public static final int home_icons_icon_projects_3bfe34dcb0=0x7f02000a;\r\n public static final int home_icons_icon_qr_scan_3029f04cfd=0x7f02000b;\r\n public static final int home_icons_icon_stores_8e6232758c=0x7f02000c;\r\n public static final int home_icons_icons_background_4f85cf2e88=0x7f02000d;\r\n public static final int launcher_icon=0x7f02000e;\r\n public static final int share_via_barcode=0x7f02000f;\r\n public static final int shopper_icon=0x7f020010;\r\n }\r\n public static final class id {\r\n public static final int app_button=0x7f070029;\r\n /** Messages IDs \r\n */\r\n public static final int auto_focus=0x7f070000;\r\n public static final int back_button=0x7f070021;\r\n public static final int barcode_image_view=0x7f070011;\r\n public static final int bookmark_button=0x7f07002a;\r\n public static final int bookmark_title=0x7f07000c;\r\n public static final int bookmark_url=0x7f07000d;\r\n public static final int clipboard_button=0x7f07002c;\r\n public static final int contact_button=0x7f07002b;\r\n public static final int contents_text_view=0x7f07001a;\r\n public static final int decode=0x7f070001;\r\n public static final int decode_failed=0x7f070002;\r\n public static final int decode_succeeded=0x7f070003;\r\n public static final int done_button=0x7f070022;\r\n public static final int encode_failed=0x7f070004;\r\n public static final int encode_succeeded=0x7f070005;\r\n public static final int encode_view=0x7f07001e;\r\n public static final int format_text_view=0x7f070013;\r\n public static final int format_text_view_label=0x7f070012;\r\n public static final int help_contents=0x7f070020;\r\n public static final int image_view=0x7f07001f;\r\n public static final int launch_product_query=0x7f070006;\r\n public static final int meta_text_view=0x7f070019;\r\n public static final int meta_text_view_label=0x7f070018;\r\n public static final int networkStatus=0x7f070023;\r\n public static final int page_number_view=0x7f070027;\r\n public static final int preview_view=0x7f07000e;\r\n public static final int query_button=0x7f070025;\r\n public static final int query_text_view=0x7f070024;\r\n public static final int quit=0x7f070007;\r\n public static final int restart_preview=0x7f070008;\r\n public static final int result_button_view=0x7f07001b;\r\n public static final int result_list_view=0x7f070026;\r\n public static final int result_view=0x7f070010;\r\n public static final int return_scan_result=0x7f070009;\r\n public static final int search_book_contents_failed=0x7f07000a;\r\n public static final int search_book_contents_succeeded=0x7f07000b;\r\n public static final int shopper_button=0x7f07001c;\r\n public static final int snippet_view=0x7f070028;\r\n public static final int status_view=0x7f07001d;\r\n public static final int time_text_view=0x7f070017;\r\n public static final int time_text_view_label=0x7f070016;\r\n public static final int type_text_view=0x7f070015;\r\n public static final int type_text_view_label=0x7f070014;\r\n public static final int viewfinder_view=0x7f07000f;\r\n }\r\n public static final class layout {\r\n public static final int bookmark_picker_list_item=0x7f030000;\r\n public static final int capture=0x7f030001;\r\n public static final int encode=0x7f030002;\r\n public static final int help=0x7f030003;\r\n public static final int network=0x7f030004;\r\n public static final int search_book_contents=0x7f030005;\r\n public static final int search_book_contents_header=0x7f030006;\r\n public static final int search_book_contents_list_item=0x7f030007;\r\n public static final int share=0x7f030008;\r\n public static final int titanium_tabgroup=0x7f030009;\r\n }\r\n public static final class raw {\r\n public static final int beep=0x7f050000;\r\n }\r\n public static final class string {\r\n public static final int app_name=0x7f080000;\r\n public static final int app_picker_name=0x7f080001;\r\n public static final int bookmark_picker_name=0x7f080002;\r\n public static final int button_add_calendar=0x7f080003;\r\n public static final int button_add_contact=0x7f080004;\r\n public static final int button_back=0x7f080005;\r\n public static final int button_book_search=0x7f080006;\r\n public static final int button_cancel=0x7f080007;\r\n public static final int button_clipboard_empty=0x7f080008;\r\n public static final int button_custom_product_search=0x7f080009;\r\n public static final int button_dial=0x7f08000a;\r\n public static final int button_done=0x7f08000b;\r\n public static final int button_email=0x7f08000c;\r\n public static final int button_get_directions=0x7f08000d;\r\n public static final int button_google_shopper=0x7f08000e;\r\n public static final int button_mms=0x7f08000f;\r\n public static final int button_ok=0x7f080010;\r\n public static final int button_open_browser=0x7f080011;\r\n public static final int button_product_search=0x7f080012;\r\n public static final int button_read_book=0x7f080013;\r\n public static final int button_search_book_contents=0x7f080014;\r\n public static final int button_share_app=0x7f080015;\r\n public static final int button_share_bookmark=0x7f080016;\r\n public static final int button_share_by_email=0x7f080017;\r\n public static final int button_share_by_sms=0x7f080018;\r\n public static final int button_share_clipboard=0x7f080019;\r\n public static final int button_share_contact=0x7f08001a;\r\n public static final int button_show_map=0x7f08001b;\r\n public static final int button_sms=0x7f08001c;\r\n public static final int button_web_search=0x7f08001d;\r\n public static final int button_wifi=0x7f08001e;\r\n public static final int contents_contact=0x7f08001f;\r\n public static final int contents_email=0x7f080020;\r\n public static final int contents_location=0x7f080021;\r\n public static final int contents_phone=0x7f080022;\r\n public static final int contents_sms=0x7f080023;\r\n public static final int contents_text=0x7f080024;\r\n public static final int history_clear_text=0x7f080025;\r\n public static final int history_email_title=0x7f080026;\r\n public static final int history_send=0x7f080027;\r\n public static final int history_title=0x7f080028;\r\n public static final int menu_about=0x7f080029;\r\n public static final int menu_help=0x7f08002a;\r\n public static final int menu_history=0x7f08002b;\r\n public static final int menu_settings=0x7f08002c;\r\n public static final int menu_share=0x7f08002d;\r\n public static final int msg_about=0x7f08002e;\r\n public static final int msg_buggy=0x7f08002f;\r\n public static final int msg_bulk_mode_scanned=0x7f080030;\r\n public static final int msg_camera_framework_bug=0x7f080031;\r\n public static final int msg_default_contents=0x7f080032;\r\n public static final int msg_default_format=0x7f080033;\r\n public static final int msg_default_meta=0x7f080034;\r\n public static final int msg_default_mms_subject=0x7f080035;\r\n public static final int msg_default_status=0x7f080036;\r\n public static final int msg_default_time=0x7f080037;\r\n public static final int msg_default_type=0x7f080038;\r\n public static final int msg_encode_barcode_failed=0x7f080039;\r\n public static final int msg_encode_contents_failed=0x7f08003a;\r\n public static final int msg_google_shopper_missing=0x7f08003b;\r\n public static final int msg_install_google_shopper=0x7f08003c;\r\n public static final int msg_intent_failed=0x7f08003d;\r\n public static final int msg_loading_apps=0x7f08003e;\r\n public static final int msg_not_our_results=0x7f08003f;\r\n public static final int msg_sbc_book_not_searchable=0x7f080040;\r\n public static final int msg_sbc_failed=0x7f080041;\r\n public static final int msg_sbc_no_page_returned=0x7f080042;\r\n public static final int msg_sbc_page=0x7f080043;\r\n public static final int msg_sbc_searching_book=0x7f080044;\r\n public static final int msg_sbc_snippet_unavailable=0x7f080045;\r\n public static final int msg_sbc_unknown_page=0x7f080046;\r\n public static final int msg_share_explanation=0x7f080047;\r\n public static final int msg_share_subject_line=0x7f080048;\r\n public static final int msg_unmount_usb=0x7f080049;\r\n public static final int preferences_actions_title=0x7f08004a;\r\n public static final int preferences_bulk_mode_summary=0x7f08004b;\r\n public static final int preferences_bulk_mode_title=0x7f08004c;\r\n public static final int preferences_copy_to_clipboard_title=0x7f08004d;\r\n public static final int preferences_custom_product_search_summary=0x7f08004e;\r\n public static final int preferences_custom_product_search_title=0x7f08004f;\r\n public static final int preferences_decode_1D_title=0x7f080050;\r\n public static final int preferences_decode_Data_Matrix_title=0x7f080051;\r\n public static final int preferences_decode_QR_title=0x7f080052;\r\n public static final int preferences_front_light_summary=0x7f080053;\r\n public static final int preferences_front_light_title=0x7f080054;\r\n public static final int preferences_general_title=0x7f080055;\r\n public static final int preferences_name=0x7f080056;\r\n public static final int preferences_play_beep_title=0x7f080057;\r\n public static final int preferences_result_title=0x7f080058;\r\n public static final int preferences_scanning_title=0x7f080059;\r\n public static final int preferences_vibrate_title=0x7f08005a;\r\n public static final int result_address_book=0x7f08005b;\r\n public static final int result_calendar=0x7f08005c;\r\n public static final int result_email_address=0x7f08005d;\r\n public static final int result_geo=0x7f08005e;\r\n public static final int result_isbn=0x7f08005f;\r\n public static final int result_product=0x7f080060;\r\n public static final int result_sms=0x7f080061;\r\n public static final int result_tel=0x7f080062;\r\n public static final int result_text=0x7f080063;\r\n public static final int result_uri=0x7f080064;\r\n public static final int result_wifi=0x7f080065;\r\n public static final int sbc_name=0x7f080066;\r\n public static final int share_name=0x7f080067;\r\n public static final int title_about=0x7f080068;\r\n public static final int wa_name=0x7f080069;\r\n public static final int wifi_changing_network=0x7f08006a;\r\n public static final int wifi_connect_failed=0x7f080070;\r\n public static final int wifi_connected=0x7f08006b;\r\n public static final int wifi_creating_network=0x7f08006c;\r\n public static final int wifi_modifying_network=0x7f08006d;\r\n public static final int wifi_ssid_label=0x7f080071;\r\n public static final int wifi_ssid_missing=0x7f08006e;\r\n public static final int wifi_type_incorrect=0x7f08006f;\r\n public static final int wifi_type_label=0x7f080072;\r\n public static final int zxing_url=0x7f080073;\r\n }\r\n public static final class style {\r\n public static final int Theme_Titanium=0x7f090000;\r\n }\r\n public static final class xml {\r\n public static final int preferences=0x7f040000;\r\n }\r\n public static final class styleable {\r\n /** Attributes that can be used with a ViewfinderView.\r\n */\r\n public static final int[] ViewfinderView = {\r\n \r\n };\r\n };\r\n}\r\n{code}\r\n\r\n{code:title=R.java w/o barcode}\r\n/* AUTO-GENERATED FILE. DO NOT MODIFY.\r\n *\r\n * This class was automatically generated by the\r\n * aapt tool from the resource data it found. It\r\n * should not be modified by hand.\r\n */\r\n\r\npackage com.michaels.michaelsstores;\r\n\r\npublic final class R {\r\n public static final class attr {\r\n }\r\n public static final class drawable {\r\n public static final int appicon=0x7f020000;\r\n public static final int appicon_e5fbaffc57=0x7f020001;\r\n public static final int background=0x7f020002;\r\n public static final int home_icons__57e1a7d905=0x7f020003;\r\n public static final int home_icons_icon_coupons_081f921e4b=0x7f020004;\r\n public static final int home_icons_icon_deals_3c8efd5311=0x7f020005;\r\n public static final int home_icons_icon_events_41bdbd9131=0x7f020006;\r\n public static final int home_icons_icon_lists_cf86c827c8=0x7f020007;\r\n public static final int home_icons_icon_my_michaels_34007f623a=0x7f020008;\r\n public static final int home_icons_icon_products_f4d11de1c3=0x7f020009;\r\n public static final int home_icons_icon_projects_3bfe34dcb0=0x7f02000a;\r\n public static final int home_icons_icon_qr_scan_3029f04cfd=0x7f02000b;\r\n public static final int home_icons_icon_stores_8e6232758c=0x7f02000c;\r\n public static final int home_icons_icons_background_4f85cf2e88=0x7f02000d;\r\n }\r\n public static final class layout {\r\n public static final int titanium_tabgroup=0x7f030000;\r\n }\r\n public static final class style {\r\n public static final int Theme_Titanium=0x7f040000;\r\n }\r\n}\r\n{code}", "attachment": [ { "id": "22869", "filename": "Archive 3 (1).zip", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T15:59:25.000+0000", "size": 3329962, "mimeType": "application/zip" }, { "id": "22918", "filename": "timob5236.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-13T08:24:24.000+0000", "size": 7129429, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Resource not found exception with density specific images", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.1, 1.7.2\r\nHTC HERO200, 2.1-update1\r\n(can repro crash only with barcode module)\r\n\r\nTiSDK 1.7.1\r\nAndroid Incredible, 2.2\r\n(can repro crash with or without barcode module)\r\n", "comment": { "comments": [ { "id": "165469", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "@Marshall I could only get it to fail on device -- Android Incredible, Android 2.2. Works fine on emulator.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-09-09T06:09:45.000+0000", "updated": "2011-09-09T06:09:45.000+0000" }, { "id": "165482", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Marshall I was only able to repro this on the HTC HERO200. It works fine on the emulator.", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-09T08:22:06.000+0000", "updated": "2011-09-09T08:22:06.000+0000" }, { "id": "165493", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed crashing with 1.8.0.v20110908112549\r\nlogcat: http://www.pastie.org/private/e0nysmmlq2ejvbxcfd1vg", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-09T09:14:17.000+0000", "updated": "2011-09-09T09:14:17.000+0000" }, { "id": "165702", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I'm pretty sure this is just happening because you're tilting the phone a bit, enough for Android to start looking to load the resource file (for the image) that is relevant for landscape mode. And there isn't one, therefore the error. If I create res-long-land-mdpi, res-long-land-hdpi, res-notlong-land-mdpi and res-notlong-land-hdpi folders and dump images in there, the exception doesn't ever occur.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-12T14:31:08.000+0000", "updated": "2011-09-12T14:31:08.000+0000" }, { "id": "165791", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Simpler test project (no modules)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-13T08:24:24.000+0000", "updated": "2011-09-13T08:24:24.000+0000" }, { "id": "165792", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "We've improved the situation so that at least you get a hint in an error message in logcat. (In the branch for the pull request.)\r\n\r\nTo reproduce error (and see the new message in logcat):\r\n\r\n1) Download timob5236.zip attached here and unzip it.\r\n\r\n2) Run the project on an Android physical device (because tilting is important.)\r\n\r\n3) Start the app with the phone in portrait mode. When it's done loading, rotate the phone to landscape.\r\n\r\n4) If it doesn't crash at that point, go to Settings - Applications on the phone and force stop the application. Then start it again in portrait and move it to landscape. It could be you need to do this a few times to get the crash.\r\n\r\n5) When the crash finally happens, view logcat. You should see (above the stack trace) a message such as the following:\r\n\r\n{code}\r\nE/TiDrawableReference(17592): (main) [0,2535] Drawable resource could not be opened. Are you sure you have the resource for the current device configuration (e.g., orientation, screen size, etc.)?\r\n{code}\r\n\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-13T08:29:26.000+0000", "updated": "2011-09-13T08:29:26.000+0000" }, { "id": "165798", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/463", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-13T09:03:54.000+0000", "updated": "2011-09-13T09:03:54.000+0000" }, { "id": "166561", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110921124951 on\nHero 2.1 \nGSlate 3.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-21T14:34:37.000+0000", "updated": "2011-09-21T14:34:37.000+0000" }, { "id": "167233", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reopening for 1.7.X merge", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-28T13:24:54.000+0000", "updated": "2011-09-28T13:24:54.000+0000" }, { "id": "167247", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Merged to 1_7_3 branch.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-28T13:47:19.000+0000", "updated": "2011-09-28T13:47:19.000+0000" }, { "id": "167523", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.3.v20110928185013 on GSlate 3.1\n\nE/TiDrawableReference( 8236): (main) [3,24] Drawable resource could not be opened. Are you sure you have the resource for the current device configuration (orientation, screen size, etc.)?\nD/AndroidRuntime( 8236): Shutting down VM\nW/dalvikvm( 8236): threadid=1: thread exiting with uncaught exception (group=0x401f6760)\n\nCompiling in emulator I get this running:\nD/TiFastDev( 291): (Thread-11) [302,357016] checking for message? true\nD/TiFastDev( 291): (Thread-11) [302,357318] checking for message? true\nD/TiFastDev( 291): (Thread-11) [302,357620] checking for message? true\nD/TiFastDev( 291): (Thread-11) [301,357921] checking for message? true", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-30T16:44:59.000+0000", "updated": "2011-09-30T16:44:59.000+0000" }, { "id": "167531", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "The FastDev messages are not relevant -- they always scroll by the screen. Set the android debug property to {{false}} in the tiapp.xml to avoid them. Then it will be easier to pinpoint any problems you have building and releasing to the emulator, since you won't have all those messages to sort through.\r\n\r\nI just tested on Emulator, no problem. It could be you need to do `adb kill-server` and `adb start-server`. You can check to see if the emulator is ready by doing `adb devices` and see if it's available.\r\n\r\nI tested on G-Slate with Android 3.1. No problems there either. Remember, the test app is testing going from portrait to landscape. Did you start the app with the G-Slate in portrait mode? (It's in landscape by default.)\r\n\r\nIt's my opinion that no changes are required.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-30T18:39:12.000+0000", "updated": "2011-09-30T18:39:12.000+0000" }, { "id": "167539", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "E/TiDrawableReference(10073): (main) [0,10367] Drawable resource could not be opened. Are you sure you have the resource for the current device configuration (orientation, screen size, etc.)?\r\n\r\ngslate (3.1) 1.7.3 20110928185013", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-01T09:25:55.000+0000", "updated": "2011-10-01T09:25:55.000+0000" }, { "id": "167540", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "been confirmed in 1.8.0 and 1.7.3, closing", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-01T09:26:10.000+0000", "updated": "2011-10-01T09:26:10.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }