Titanium JIRA Archive
Appcelerator Community (AC)

[AC-304] unable to pick music from library and convert this in base64 in titanium android.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-11-11T05:35:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsandoid, base64encode, library, music, picker, song, titanium,, upload
Reporterzee
AssigneeShak Hossain
Created2015-08-17T12:35:17.000+0000
Updated2015-11-11T05:35:44.000+0000

Description

hi frns i want to pick a music file from android music library in titanium and convert this music file in base64 encoded string to upload it on the server.can any one guide me how i would achieve it.

Comments

  1. Amimul Hossain 2015-09-12

    Hello, You can take a look around this post on [Appcelerator titanium base64 encode blob objects](http://stackoverflow.com/questions/6493055/appcelerator-titanium-base64-encode-blob-objects). First returns the selected image as a blob object and then convert it to a string representation. Hope this helps. Thanks.

JSON Source