Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3888] Android, 2.3: errors when taking images

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-15T12:24:35.000+0000
Affected Version/sRelease 1.7.0, Sprint 2011-18
Fix Version/sRelease 1.7.0, Sprint 2011-18
ComponentsAndroid
Labelsandroid, camera, regression
ReporterThomas Huelbert
AssigneeMarshall Culpepper
Created2011-05-03T15:23:38.000+0000
Updated2011-05-15T12:24:35.000+0000

Description

1.Phone > camera > camera basic with adb on 2.take an image and check out put results: (image loads and looks as expected) E/ ( 7572): can't open '/android_asset/Resources/sdcard/dcim/Camera/tia-1548357546.jpg' E/MediaScannerService( 7572): Exception in handleMessage E/MediaScannerService( 7572): java.lang.IllegalStateException: Unable to create new file: /android_asset/Resources/sdcard/dcim/Camera/tia-1548357546.jpg E/MediaScannerService( 7572): at com.android.providers.media.MediaProvider.ensureFile(MediaProvider.java:1693) E/MediaScannerService( 7572): at com.android.providers.media.MediaProvider.insertInternal(MediaProvider.java:1803) E/MediaScannerService( 7572): at com.android.providers.media.MediaProvider.insert(MediaProvider.java:1734) E/MediaScannerService( 7572): at android.content.ContentProvider$Transport.insert(ContentProvider.java:198) E/MediaScannerService( 7572): at android.media.MediaScanner$MyMediaScannerClient.endFile(MediaScanner.java:774) E/MediaScannerService( 7572): at android.media.MediaScanner$MyMediaScannerClient.doScanFile(MediaScanner.java:522) E/MediaScannerService( 7572): at android.media.MediaScanner.scanSingleFile(MediaScanner.java:1219) E/MediaScannerService( 7572): at com.android.providers.media.MediaScannerService.scanFile(MediaScannerService.java:200) E/MediaScannerService( 7572): at com.android.providers.media.MediaScannerService.access$100(MediaScannerService.java:48) E/MediaScannerService( 7572): at com.android.providers.media.MediaScannerService$ServiceHandler.handleMessage(MediaScannerService.java:244) E/MediaScannerService( 7572): at android.os.Handler.dispatchMessage(Handler.java:99) E/MediaScannerService( 7572): at android.os.Looper.loop(Looper.java:123) E/MediaScannerService( 7572): at com.android.providers.media.MediaScannerService.run(MediaScannerService.java:188) E/MediaScannerService( 7572): at java.lang.Thread.run(Thread.java:1019) D/AudioHardware( 75): AudioHardware pcm playback is going to standby.

Comments

  1. Don Thorp 2011-05-14

    Passing on Nexus One 2.3.4. Test calls out Nexus S.
  2. Don Thorp 2011-05-14

    Please confirm on the Nexus S.
  3. Eric Merriman 2011-05-15

    Verified fixed with Nexus S 2.3.4 and SDK rb8672b44.

JSON Source