Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6282] Android: Base64 encoding not working for blobs coming from the camera

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-11-23T09:53:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterPedro Enrique
AssigneeMarshall Culpepper
Created2011-11-22T15:27:47.000+0000
Updated2017-03-09T23:39:43.000+0000

Description

The Problem

The base64encoding does not work in blobs returned from the camera or photo gallery

The Code

var win = Ti.UI.createWindow();

win.open();

Titanium.Media.showCamera({

	success:function(event){
		var image = event.media;
		var width = event.width;
		var height = event.height;
		Ti.API.info(image);

		var encodedImage = Ti.Utils.base64encode(image);
		Ti.API.info('encodedImage = '+encodedImage);
	},
	cancel:function(){
	},
	error:function(error){
	},
	saveToPhotoGallery:true,
	allowEditing:true,
	mediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO]
});

To Reproduce

1. Run this code in app.js, preferably in a device. 2. Open DDMS 3. Look for the "encodedImage" log and copy the encoded image 4. Paste it in a [base64 decoder](http://www.opinionatedgeek.com/dotnet/tools/base64decode/) and see if it's valid

Comments

  1. Pedro Enrique 2011-11-23

    Trace log from the code above:
       11-23 08:41:05.489: ERROR/TiApplication(17052): (main) [230,230] APP PROXY: [Ti.App]
       11-23 08:41:05.598: DEBUG/KrollContext(17052): (kroll$1: app://app.js) [105,335] Running evaluated script: file:///android_asset/Resources/app.js
       11-23 08:41:05.676: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 4915 objects / 309496 bytes in 45ms
       11-23 08:41:05.762: DEBUG/CameraHal(1006): CameraSettings constructor
       11-23 08:41:05.762: DEBUG/CameraHal(1006): CameraHal constructor
       11-23 08:41:05.762: DEBUG/CameraHal(1006): Model ID: Droid
       11-23 08:41:05.762: DEBUG/CameraHal(1006): Software ID 2.2.2
       11-23 08:41:05.879: INFO/HPAndroidHAL(1006): Version 4719:5353.  SholesMR2_RC9  Build Time: 2010-06-14 15:15:45.
       11-23 08:41:05.981: DEBUG/CameraHal(1006): 20 default parameters
       11-23 08:41:05.998: DEBUG/CameraHal(1006): Immediate Zoom/1:0. Current zoom level/1:0
       11-23 08:41:05.998: DEBUG/CameraHal(1006): CameraHal constructor exited ok
       11-23 08:41:06.067: DEBUG/CameraHal(1006): stopPreview
       11-23 08:41:06.067: DEBUG/CameraHal(1006): CameraHal release
       11-23 08:41:06.067: INFO/HPAndroidHAL(1006): APILOG: ExitHPLibraries
       11-23 08:41:06.067: INFO/HPAndroidHAL(1006): APILOG: state machine shutting down...
       11-23 08:41:06.645: INFO/HPAndroidHAL(1006): APILOG: components shutting down...
       11-23 08:41:06.645: INFO/HPAndroidHAL(1006): APILOG: all components uninitialized.
       11-23 08:41:06.676: INFO/HPAndroidHAL(1006): APILOG: all components destroyed.
       11-23 08:41:06.676: INFO/HPAndroidHAL(1006): APILOG: library shutdown complete.
       11-23 08:41:06.676: DEBUG/CameraHal(1006): CameraHal destructor
       11-23 08:41:06.676: DEBUG/CameraHal(1006): CameraHal release
       11-23 08:41:06.676: DEBUG/CameraHal(1006): CameraSettings destructor
       11-23 08:41:06.926: INFO/TiRootActivity(17052): (main) [0,0] checkpoint, on root activity resume. context = org.appcelerator.titanium.TiContext@44867608
       11-23 08:41:06.950: INFO/ActivityManager(1085): Starting activity: Intent { act=android.media.action.IMAGE_CAPTURE cat=[android.intent.category.DEFAULT] cmp=com.google.android.camera/com.android.camera.Camera (has extras) }
       11-23 08:41:07.012: INFO/WindowManager(1085): Setting rotation to 1, animFlags=1
       11-23 08:41:07.020: INFO/ActivityManager(1085): Displayed activity com.com.com/.TestActivity: 2889 ms (total 2889 ms)
       11-23 08:41:07.028: INFO/ActivityManager(1085): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=2 layout=34 uiMode=17 seq=247}
       11-23 08:41:07.184: INFO/ActivityManager(1085): Start proc com.google.android.camera for activity com.google.android.camera/com.android.camera.Camera: pid=17084 uid=10019 gids={1006, 1015}
       11-23 08:41:07.192: WARN/InputManagerService(1085): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@449e8e48 (uid=10055 pid=17052)
       11-23 08:41:07.200: WARN/InputManagerService(1085): Client not active, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@449362e0
       11-23 08:41:07.606: DEBUG/dalvikvm(1085): GC_EXTERNAL_ALLOC freed 2435 objects / 114472 bytes in 190ms
       11-23 08:41:07.684: DEBUG/CameraHal(1006): CameraSettings constructor
       11-23 08:41:07.684: DEBUG/CameraHal(1006): CameraHal constructor
       11-23 08:41:07.684: DEBUG/CameraHal(1006): Model ID: Droid
       11-23 08:41:07.684: DEBUG/CameraHal(1006): Software ID 2.2.2
       11-23 08:41:07.692: INFO/HPAndroidHAL(1006): Version 4719:5353.  SholesMR2_RC9  Build Time: 2010-06-14 15:15:45.
       11-23 08:41:07.934: INFO/ActivityManager(1085): Start proc com.android.bluetooth for service com.android.bluetooth/.pbap.BluetoothPbapService: pid=17108 uid=10004 gids={3003, 3002, 3001, 1015}
       11-23 08:41:07.942: DEBUG/CameraHal(1006): 20 default parameters
       11-23 08:41:07.964: DEBUG/CameraHal(1006): Immediate Zoom/1:0. Current zoom level/1:0
       11-23 08:41:07.965: DEBUG/CameraHal(1006): CameraHal constructor exited ok
       11-23 08:41:07.997: DEBUG/Camera(17084): app passed NULL surface
       11-23 08:41:08.036: DEBUG/CameraHal(1006): Extract changes completed, 3 total changes
       11-23 08:41:08.036: VERBOSE/camera(17084): startPreview
       11-23 08:41:08.036: WARN/CameraHal(1006): No overlay set before start preview
       11-23 08:41:08.114: INFO/ActivityThread(17108): Publishing provider com.android.bluetooth.opp: com.android.bluetooth.opp.BluetoothOppProvider
       11-23 08:41:08.122: INFO/ActivityManager(1085): Displayed activity com.google.android.camera/com.android.camera.Camera: 951 ms (total 951 ms)
       11-23 08:41:08.215: WARN/IInputConnectionWrapper(25563): showStatusIcon on inactive InputConnection
       11-23 08:41:08.395: DEBUG/CameraHal(1006): deinitPvOverlay()
       11-23 08:41:08.395: DEBUG/CameraHal(1006): Trying to set overlay, but overlay is null!
       11-23 08:41:08.395: DEBUG/TIOverlay(1085): overlay_createOverlay:IN w=640 h=480 format=99
       11-23 08:41:08.395: INFO/Overlay(1085): v4l2_overlay_init:: w=480 h=854
       11-23 08:41:08.395: INFO/Overlay(1085): v4l2_overlay_init:: w=640 h=480
       11-23 08:41:08.395: INFO/Overlay(1085): v4l2_overlay_init:: w=640 h=480
       11-23 08:41:08.418: INFO/Overlay(1085): 8 buffers allocated 4 requested
       11-23 08:41:08.418: INFO/Overlay(1085): buffer cookie is 2
       11-23 08:41:08.418: INFO/TIOverlay(1085): Opened video1/fd=148/obj=00820d18/shm=147/size=4096
       11-23 08:41:08.418: DEBUG/TIOverlay(1085): overlay_createOverlay: OUT
       11-23 08:41:08.418: INFO/TIOverlay(1085): Position/X0/Y0/W0/H0
       11-23 08:41:08.418: INFO/TIOverlay(1085): Adjusted Position/X0/Y50/W480/H0
       11-23 08:41:08.418: INFO/TIOverlay(1085): Rotation/90
       11-23 08:41:08.418: INFO/Overlay(1085): v4l2_overlay_set_position:: w=480 h=854
       11-23 08:41:08.418: INFO/Overlay(1085): v4l2_overlay_set_position:: w=480 h=648
       11-23 08:41:08.418: INFO/Overlay(1085): dumping driver state:
       11-23 08:41:08.418: INFO/Overlay(1085): output pixfmt:
       11-23 08:41:08.418: INFO/Overlay(1085): w: 640
       11-23 08:41:08.418: INFO/Overlay(1085): h: 480
       11-23 08:41:08.418: INFO/Overlay(1085): color: 7
       11-23 08:41:08.418: INFO/Overlay(1085): YUYV
       11-23 08:41:08.418: INFO/Overlay(1085): v4l2_overlay window:
       11-23 08:41:08.418: INFO/Overlay(1085): window l: 0 
       11-23 08:41:08.418: INFO/Overlay(1085): window t: 50 
       11-23 08:41:08.418: INFO/Overlay(1085): window w: 480 
       11-23 08:41:08.418: INFO/Overlay(1085): window h: 648
       11-23 08:41:08.418: INFO/Overlay(1085): output crop:
       11-23 08:41:08.418: INFO/Overlay(1085): crop l: 0 
       11-23 08:41:08.418: INFO/Overlay(1085): crop t: 0 
       11-23 08:41:08.418: INFO/Overlay(1085): crop w: 640 
       11-23 08:41:08.418: INFO/Overlay(1085): crop h: 480
       11-23 08:41:08.418: INFO/TIOverlay(1085): Postponing Stream Enable/1/0
       11-23 08:41:08.418: INFO/Overlay(1006): query buffer, mem=1 type=2 index=0
       11-23 08:41:08.426: INFO/Overlay(1006): query buffer, mem=1 type=2 index=1
       11-23 08:41:08.426: INFO/Overlay(1006): query buffer, mem=1 type=2 index=2
       11-23 08:41:08.426: INFO/Overlay(1006): query buffer, mem=1 type=2 index=3
       11-23 08:41:08.426: INFO/Overlay(1006): query buffer, mem=1 type=2 index=4
       11-23 08:41:08.434: INFO/Overlay(1006): query buffer, mem=1 type=2 index=5
       11-23 08:41:08.434: INFO/Overlay(1006): query buffer, mem=1 type=2 index=6
       11-23 08:41:08.434: INFO/Overlay(1006): query buffer, mem=1 type=2 index=7
       11-23 08:41:08.434: DEBUG/CameraHal(1006): deinitPvOverlay()
       11-23 08:41:08.434: DEBUG/CameraHal(1006): initPvOverlay: size/640x480; format/3;
       11-23 08:41:08.434: DEBUG/CameraHal(1006): initPvOverlay: alloc 614656 bytes of memory
       11-23 08:41:08.434: INFO/Overlay(1006): query buffer, mem=1 type=2 index=0
       11-23 08:41:08.434: INFO/TIOverlay(1006): Buffer/0/addr=42741000/len=614400
       11-23 08:41:08.442: INFO/Overlay(1006): query buffer, mem=1 type=2 index=1
       11-23 08:41:08.442: INFO/TIOverlay(1006): Buffer/1/addr=427d7000/len=614400
       11-23 08:41:08.442: INFO/Overlay(1006): query buffer, mem=1 type=2 index=2
       11-23 08:41:08.442: INFO/TIOverlay(1006): Buffer/2/addr=4286d000/len=614400
       11-23 08:41:08.442: INFO/Overlay(1006): query buffer, mem=1 type=2 index=3
       11-23 08:41:08.442: INFO/TIOverlay(1006): Buffer/3/addr=42903000/len=614400
       11-23 08:41:08.442: INFO/Overlay(1006): query buffer, mem=1 type=2 index=4
       11-23 08:41:08.442: INFO/TIOverlay(1006): Buffer/4/addr=42999000/len=614400
       11-23 08:41:08.450: INFO/Overlay(1006): query buffer, mem=1 type=2 index=5
       11-23 08:41:08.450: INFO/TIOverlay(1006): Buffer/5/addr=42a2f000/len=614400
       11-23 08:41:08.450: INFO/Overlay(1006): query buffer, mem=1 type=2 index=6
       11-23 08:41:08.450: INFO/TIOverlay(1006): Buffer/6/addr=42ac5000/len=614400
       11-23 08:41:08.450: INFO/Overlay(1006): query buffer, mem=1 type=2 index=7
       11-23 08:41:08.450: INFO/TIOverlay(1006): Buffer/7/addr=42b5b000/len=614400
       11-23 08:41:08.492: INFO/TIOverlay(1006): Crop Win/X0/Y0/W640/H480
       11-23 08:41:08.492: DEBUG/CameraHal(1006): Enabling preview
       11-23 08:41:08.520: DEBUG/CameraHal(1006): Spawning preview thread
       11-23 08:41:08.543: INFO/TIOverlay(1085): Nothing to do!
       11-23 08:41:08.622: DEBUG/Sensors(1085): using sensors (name=sensors)
       11-23 08:41:08.793: DEBUG/dalvikvm(17084): GC_EXTERNAL_ALLOC freed 2457 objects / 158312 bytes in 42ms
       11-23 08:41:09.028: DEBUG/libEGL(17084): loaded /system/lib/egl/libGLES_android.so
       11-23 08:41:09.036: DEBUG/libEGL(17084): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
       11-23 08:41:09.051: DEBUG/CameraHal(1006): processZoom/1:0. stopped=1, mZoomMoving=0, mImmediateZoomMoving=0
       11-23 08:41:09.051: DEBUG/CameraHal(1006): Stored Zoom Data/0/1:0
       11-23 08:41:09.059: DEBUG/libEGL(17084): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
       11-23 08:41:09.106: DEBUG/libEGL(17084): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
       11-23 08:41:09.747: INFO/ActivityManager(1085): Process com.svox.pico (pid 16971) has died.
       11-23 08:41:09.864: VERBOSE/GLRootView(17084): onSurfaceChanged: 648x480, gl10: com.google.android.gles_jni.GLImpl@448604e8
       11-23 08:41:09.864: VERBOSE/GLRootView(17084): layout content pane 648x480
       11-23 08:41:10.028: INFO/ActivityManager(1085): Process com.android.vending (pid 16947) has died.
       11-23 08:41:10.293: INFO/ActivityManager(1085): Process com.google.android.apps.maps:FriendService (pid 16977) has died.
       11-23 08:41:10.793: DEBUG/dalvikvm(1085): GC_EXPLICIT freed 971 objects / 48008 bytes in 213ms
       11-23 08:41:10.887: WARN/TiVerify(17052): (Timer-0) [3960,3960] Verifying module licenses...
       11-23 08:41:12.442: INFO/TiVerify(17052): (Timer-0) [1561,5521] Succesfully verified module licenses
       11-23 08:41:13.969: VERBOSE/camera(17084): Start autofocus.
       11-23 08:41:14.114: VERBOSE/camera(17084): doSnap: mFocusState=1
       11-23 08:41:14.254: INFO/ActivityManager(1085): Process com.amazon.mp3 (pid 16886) has died.
       11-23 08:41:14.801: DEBUG/CameraHal(1006): Received 3As callback
       11-23 08:41:14.809: DEBUG/CameraHal(1006): 3A Status/3/64/243
       11-23 08:41:14.809: VERBOSE/camera(17084): mAutoFocusTime = 822ms
       11-23 08:41:14.833: DEBUG/CameraHal(1006): Extract changes completed, 2 total changes
       11-23 08:41:14.840: DEBUG/CameraHal(1006): stop preview thread
       11-23 08:41:14.856: DEBUG/CameraHal(1006): Capture size 2592x1936, res enum 2
       11-23 08:41:14.856: DEBUG/CameraHal(1006): Setting capture format 0 header 2
       11-23 08:41:14.856: DEBUG/CameraHal(1006): Thumbnail enabled
       11-23 08:41:14.856: DEBUG/CameraHal(1006): Initializing capture memory raw: 0x43383000 (10039296), jpg: 0x43d16000 (5019648), pv 0x43183000 (614656)
       11-23 08:41:15.075: INFO/ActivityManager(1085): Process com.google.android.googlequicksearchbox (pid 16983) has died.
       11-23 08:41:15.442: INFO/ActivityManager(1085): Process com.google.android.gm (pid 16997) has died.
       11-23 08:41:15.489: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 3528 objects / 232232 bytes in 213ms
       11-23 08:41:15.575: DEBUG/CameraHal(1006): Received shutter callback
       11-23 08:41:15.590: VERBOSE/camera(17084): mShutterLag = 785ms
       11-23 08:41:15.722: WARN/CameraHal(1006): Strobe status is non-zero: 16
       11-23 08:41:15.723: DEBUG/CameraHal(1006): Strobe power callback param1: 0
       11-23 08:41:15.723: DEBUG/CameraHal(1006): Actual strobe power applied: 0
       11-23 08:41:16.497: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 5223 objects / 541672 bytes in 292ms
       11-23 08:41:17.028: DEBUG/CameraHal(1006): Received postview 0x43183000 size 614400
       11-23 08:41:17.059: DEBUG/CameraHal(1006): Received raw yuv 0x43383000 size 10036224
       11-23 08:41:17.059: INFO/JPEG(1006): Enter COmxJpegEnc, pSrcData 0x43383000, srcWidth 2592, srcL2L 5184, srcHeight 1936, colorFormat 0, pJpegDest 0x43d16000, jpegDestSize 5019648, headerFormat 2, qualityLevel 90, bThumb 1, thumbWidth 320, thumbHeight 240, pApp1Hdr 0x43d16002, app1HdrSize 2838, pApp0Hdr 0x0, app0HdrSize 0
       11-23 08:41:17.059: DEBUG/TIOMX_CORE(1006): init count = 3
       11-23 08:41:17.059: DEBUG/TIOMX_CORE(1006): Found component OMX.TI.JPEG.Encoder with refCount 0
       11-23 08:41:17.129: DEBUG/dalvikvm(17084): GC_FOR_MALLOC freed 1526 objects / 104152 bytes in 94ms
       11-23 08:41:17.137: INFO/dalvikvm-heap(17084): Grow heap (frag case) to 3.361MB for 614416-byte allocation
       11-23 08:41:17.223: DEBUG/dalvikvm(17084): GC_FOR_MALLOC freed 110 objects / 6616 bytes in 81ms
       11-23 08:41:17.223: VERBOSE/camera(17084): mShutterToPostViewCallbackTime = 1630ms
       11-23 08:41:17.231: VERBOSE/camera(17084): mShutterToRawCallbackTime = 1635ms
       11-23 08:41:17.489: INFO/ActivityManager(1085): Process android.process.acore (pid 16329) has died.
       11-23 08:41:17.762: INFO/JPEG(1006): Rxd OMX_EventBufferFlag
       11-23 08:41:17.762: DEBUG/OMX_JPGENC(1006): JpegEncLCML_Callback():2994 in EMMCodecDspError EMMCodec Args -> 1, 500
       11-23 08:41:17.762: DEBUG/CameraHal(1006): Received jpg 0x43d16000 size 869764
       11-23 08:41:17.786: DEBUG/TIOMX_CORE(1006): Found matching pHandle(0x41300) at index 0 with refCount 1
       11-23 08:41:17.786: DEBUG/TIOMX_CORE(1006): deinit count = 2
       11-23 08:41:17.786: INFO/JPEG(1006): Exiting COmxJpegEnc jpeg size=762724
       11-23 08:41:17.903: DEBUG/dalvikvm(17084): GC_FOR_MALLOC freed 25 objects / 615568 bytes in 125ms
       11-23 08:41:17.903: INFO/dalvikvm-heap(17084): Grow heap (frag case) to 3.536MB for 869780-byte allocation
       11-23 08:41:18.028: DEBUG/dalvikvm(17084): GC_FOR_MALLOC freed 0 objects / 0 bytes in 115ms
       11-23 08:41:18.036: VERBOSE/camera(17084): mPictureDisplayedToJpegCallbackTime = 807ms
       11-23 08:41:18.043: VERBOSE/camera(17084): mJpegCallbackFinishTime = 12ms
       11-23 08:41:19.176: DEBUG/CameraHal(1006): stopPreview
       11-23 08:41:19.200: DEBUG/CameraHal(1006): stopPreview
       11-23 08:41:19.200: DEBUG/CameraHal(1006): CameraHal release
       11-23 08:41:19.200: DEBUG/CameraHal(1006): deinitPvOverlay()
       11-23 08:41:19.340: DEBUG/TIOverlay(1085): overlay_destroyOverlay:IN dev (0x1262a0) and overlay (0x820d18)
       11-23 08:41:19.340: INFO/TIOverlay(1085): Destroying overlay/fd=148/obj=00820d18
       11-23 08:41:19.340: DEBUG/TIOverlay(1085): overlay_destroyOverlay:OUT
       11-23 08:41:19.340: INFO/HPAndroidHAL(1006): APILOG: ExitHPLibraries
       11-23 08:41:19.340: INFO/HPAndroidHAL(1006): APILOG: state machine shutting down...
       11-23 08:41:19.348: INFO/HPAndroidHAL(1006): APILOG: components shutting down...
       11-23 08:41:19.348: INFO/HPAndroidHAL(1006): APILOG: all components uninitialized.
       11-23 08:41:19.395: INFO/HPAndroidHAL(1006): APILOG: all components destroyed.
       11-23 08:41:19.395: INFO/HPAndroidHAL(1006): APILOG: library shutdown complete.
       11-23 08:41:19.395: DEBUG/CameraHal(1006): CameraHal destructor
       11-23 08:41:19.395: DEBUG/CameraHal(1006): CameraHal release
       11-23 08:41:19.395: DEBUG/CameraHal(1006): CameraSettings destructor
       11-23 08:41:19.411: INFO/WindowManager(1085): Setting rotation to 0, animFlags=1
       11-23 08:41:19.442: INFO/ActivityManager(1085): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=1 layout=34 uiMode=17 seq=248}
       11-23 08:41:19.653: WARN/ActivityManager(1085): Activity pause timeout for HistoryRecord{449946c0 com.google.android.camera/com.android.camera.Camera}
       11-23 08:41:19.903: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 7171 objects / 498736 bytes in 62ms
       11-23 08:41:20.606: INFO/TiAPI(17052): (kroll$1: app://app.js) [8164,13685] [object TiBlob]
       11-23 08:41:20.622: WARN/TiBaseFile(17052): (kroll$1: app://app.js) [10,13695] Method is not supported org.appcelerator.titanium.io.TitaniumBlob : size
       11-23 08:41:20.622: INFO/TiRootActivity(17052): (main) [0,0] checkpoint, on root activity resume. context = org.appcelerator.titanium.TiContext@44867608
       11-23 08:41:20.684: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 6541 objects / 563200 bytes in 64ms
       11-23 08:41:20.747: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 27 objects / 15720 bytes in 44ms
       11-23 08:41:20.747: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 3.099MB for 63504-byte allocation
       11-23 08:41:20.793: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 1 objects / 30744 bytes in 43ms
       11-23 08:41:20.801: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 3.193MB for 129040-byte allocation
       11-23 08:41:20.856: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 162 objects / 70408 bytes in 52ms
       11-23 08:41:20.856: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 3.374MB for 260112-byte allocation
       11-23 08:41:20.918: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 572 objects / 46672 bytes in 57ms
       11-23 08:41:20.973: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 9 objects / 129592 bytes in 56ms
       11-23 08:41:20.981: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 3.704MB for 522256-byte allocation
       11-23 08:41:21.043: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 59ms
       11-23 08:41:21.098: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 144 objects / 266216 bytes in 54ms
       11-23 08:41:21.106: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 4.448MB for 1046544-byte allocation
       11-23 08:41:21.168: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 66ms
       11-23 08:41:21.215: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 10 objects / 523616 bytes in 44ms
       11-23 08:41:21.223: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 4.779MB for 869780-byte allocation
       11-23 08:41:21.223: DEBUG/MediaScannerService(5147): IMediaScannerService.scanFile: /sdcard/dcim/Camera/tia75491.jpg mimeType: null
       11-23 08:41:21.293: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 72ms
       11-23 08:41:21.356: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 5 objects / 1046664 bytes in 57ms
       11-23 08:41:21.356: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 4.887MB for 1159704-byte allocation
       11-23 08:41:21.434: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 74ms
       11-23 08:41:21.840: DEBUG/dalvikvm(1085): GC_EXPLICIT freed 2067 objects / 88584 bytes in 214ms
       11-23 08:41:21.887: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 21 objects / 870336 bytes in 215ms
       11-23 08:41:21.887: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 4.794MB for 773140-byte allocation
       11-23 08:41:21.958: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 68ms
       11-23 08:41:22.028: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 5 objects / 128 bytes in 53ms
       11-23 08:41:22.043: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 6.270MB for 1546264-byte allocation
       11-23 08:41:22.129: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 90ms
       11-23 08:41:22.231: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 85ms
       11-23 08:41:22.239: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 7.007MB for 773140-byte allocation
       11-23 08:41:22.348: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 104ms
       11-23 08:41:22.434: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 7 objects / 1546424 bytes in 62ms
       11-23 08:41:22.450: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 8.482MB for 3092512-byte allocation
       11-23 08:41:22.512: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 5 objects / 160 bytes in 62ms
       11-23 08:41:22.575: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 2 objects / 48 bytes in 55ms
       11-23 08:41:22.582: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 9.957MB for 1546264-byte allocation
       11-23 08:41:22.661: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 70ms
       11-23 08:41:22.723: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 75 objects / 4254712 bytes in 43ms
       11-23 08:41:22.731: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 8.115MB for 2319392-byte allocation
       11-23 08:41:22.801: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 3 objects / 128 bytes in 68ms
       11-23 08:41:22.872: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 8 objects / 2319704 bytes in 43ms
       11-23 08:41:22.879: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 9.220MB for 2319392-byte allocation
       11-23 08:41:22.942: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 66ms
       11-23 08:41:23.247: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 7 objects / 344 bytes in 48ms
       11-23 08:41:23.262: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 11.432MB for 2319392-byte allocation
       11-23 08:41:23.317: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 1 objects / 2319400 bytes in 57ms
       11-23 08:41:23.387: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 5 objects / 1159872 bytes in 64ms
       11-23 08:41:23.395: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 10.327MB for 2319464-byte allocation
       11-23 08:41:23.465: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 67ms
       11-23 08:41:23.512: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 3 objects / 584 bytes in 44ms
       11-23 08:41:23.520: INFO/dalvikvm-heap(17052): Grow heap (frag case) to 12.538MB for 2319464-byte allocation
       11-23 08:41:23.598: DEBUG/dalvikvm(17052): GC_FOR_MALLOC freed 0 objects / 0 bytes in 70ms
       11-23 08:41:23.637: INFO/TiAPI(17052): (kroll$1: app://app.js) [2698,2698] /9j/4UE7RXhpZgAASUkqAAgAAAALAA8BAgBAAAAAygEAABABAgBAAAAACgIAABIBAwABAAAABgAAABoBBQABAAAASgIAABsBBQABAAAAUgIAACgBAwABAAAAAgAAADEBAgBAAAAAWgIAADIBAgAUAAAAmgIAABMCAwABAAAAAQAAAGmH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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAABAAAAABAAAAKQAAAAEAAAAOAAAAAQAAAEFTQ0lJAAAAAAAyMDExOjExOjIzAAAEAAMBAwABAAAABgAAACgBAwABAAAAAgAAAAECBAABAAAADAsAAAICBAABAAAAJzYAAAAAAAD/2P/EAaIAAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKCxAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJ
       11-23 08:41:27.270: INFO/BtOppRfcommListener(17108): Accept thread started on channel 12
       11-23 08:41:35.364: WARN/TiAnalyticsSvc(17052): (Thread-13) [12042,14740] Analytics Service Started
       11-23 08:41:35.418: INFO/TiAnalyticsSvc(17052): (Thread-13) [58,14798] Sending 1 analytics events.
       11-23 08:41:37.176: VERBOSE/PicasaContentProvider(14494): querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_on_roaming=0, sync_photo_on_mobile=0, auto_upload_enabled=0, auto_upload_account_name=null}
       11-23 08:41:37.715: DEBUG/UploadsManager(14494): collect new photos: photoTracker:*******************,trackNew:external,132:internal,73
       11-23 08:41:38.083: DEBUG/dalvikvm(14494): GC_FOR_MALLOC freed 9820 objects / 552456 bytes in 239ms
       11-23 08:41:38.176: DEBUG/UploadsManager(14494): storage not available: internal
       11-23 08:41:38.184: DEBUG/UploadsManager(14494):    new media: null
       11-23 08:41:38.208: WARN/TiAnalyticsSvc(17052): (Thread-13) [2791,17589] Stopping Analytics Service
       
  2. Pedro Enrique 2011-11-23

    Marking as invalid. The log only shows the first section go the base 64 encoded image.
  3. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source