[AC-304] unable to pick music from library and convert this in base64 in titanium android.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2015-11-11T05:35:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | andoid, base64encode, library, music, picker, song, titanium,, upload |
Reporter | zee |
Assignee | Shak Hossain |
Created | 2015-08-17T12:35:17.000+0000 |
Updated | 2015-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.
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.