12 Sep 2012 2:38 AM #1
Unanswered: How to decode base64 encoded string as file and store locally using sencha touch2
I am getting base64 encoded string response of pdf(tif) file form server. I want to decode it and save as a (pdf)file in sd card (locally). After saving the file i want to open this file in child browser. I am not getting how to decode and save response as pdf file. Please help me on this issue.
is it possible to convert base64 encoded string to a pdf file in sencha touch 2?
16 Sep 2012 3:58 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
If this is just a web app you won't be able to store locally on the phone. You can save the base64 string in localstorageMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
16 Sep 2012 6:55 PM #3
thank you . for quick reply.
its ipad application so i written ios plugin and i done it.