Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14344] BlackBerry: Add blob support back to native image view

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-06-25T16:02:48.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 13, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneeRussell McMahon
Created2013-06-21T22:16:20.000+0000
Updated2014-06-19T12:42:44.000+0000

Description

The blob array is in the image view to support the camera to test run the camera test. var win = Ti.UI.createWindow({layout: 'vertical'}); var button = Ti.UI.createButton({title: 'take picture'}); button.addEventListener('click', function() { Ti.Media.showCamera({ 'cancel': function() { Ti.API.info('cancel'); }, 'error': function() { Ti.API.info('error'); }, 'success': function(e) { Ti.API.info('success: size=' + e.media.length); imageView.image = e.media; } }); }); win.add(button); var imageView = Ti.UI.createImageView(); win.add(imageView); setTimeout(function() { Ti.Media.hideCamera(); }, 3000); win.open();

Comments

  1. Priya Agarwal 2013-07-19

    Could not test the issue. Testing environment: Studio: 3.1.2.201307171817 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261) Xcode: 4.5.1 blackberry SDK: 10.1.0.1020 Getting Studio console error as: TypeError: Object [object Object] has no method 'showCamera'
  2. Lokesh Choudhary 2013-08-09

    Verified the fix using the camera code mentioned in the description. We are able to take a pic & save it in pictures. Thus closing. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130808180613 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88

JSON Source