Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13060

Android: ImageView: Sometimes images can not show because getInputStream() fails

    Details

      Description

      var listView = Ti.UI.createListView();
       
      for (i=0; i<10; i++) {
      	var section = Ti.UI.createListSection({ headerTitle: 'Section '+i });
      	section.setItems([
      		{ properties: { title: 'Title '+i }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT},
      		{ properties: { title: 'Title '+(i+1), image: 'KS_nav_views.png' }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT },
      		{ properties: { title: 'Title '+(i+2), image: 'KS_nav_ui.png' }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT},
      		{ properties: { title: 'Title '+(i+3), image: 'http://www.catravelservices.com/management/hotels/pictures/Mawamba_lodge_nature.jpg'}, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT }
      	]);
      	listView.appendSection(section);
      }
       
      var win = Ti.UI.createWindow({
      	backgroundColor: 'white'
      });
      win.add(listView);
      win.open();
      

      Steps to reproduce:
      1. Run the above code on Galaxy Nexux 4.0.4
      2. When the window opens, the image "KS_nav_ui.png" in the Row 2 is missing sometimes.

        Attachments

          Activity

            People

            • Assignee:
              pwang Ping Wang
              Reporter:
              pwang Ping Wang
              Reviewer:
              Allen Yeung
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15891
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration