[TIMOB-550] Android: Basic Camera returns error 0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M04 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:31:37.000+0000 |
Updated | 2011-04-17T01:53:28.000+0000 |
Description
On devices at API level > 4 we need to explicitly add <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
(from [aca9ab6df3837d84d0c1b8db42da86cb727bb8a8]) [#550 status:resolved] Added WRITE_EXTERNAL_STORAGE permission to build. It's required for API Level > 4 http://github.com/appcelerator/titanium_mobile/commit/aca9ab6df3837d84d0c1b8db42da86cb727bb8a8"> http://github.com/appcelerator/titanium_mobile/commit/aca9ab6df3837...
This works in most cases unless the image is too large. Need a way to capture a smaller image.
More research. We need to optimize backgroundImage and other drawables to not require being loaded at all times. They also need to be scaled appropriately for painting.
This should have been marked fixed-in-qa to go along with the other background image issues.
Titanium SDK version: 1.5.0 (12/06/10 08:42 4d92d40) G1 (1.6) g2 (2.2)