1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    28
    Vote Rating
    0
    Amarjeetbiet is on a distinguished road

      0  

    Default Unanswered: How to decode base64 encoded string as file and store locally using sencha touch2

    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?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,217
    Answers
    3518
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 localstorage
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    28
    Vote Rating
    0
    Amarjeetbiet is on a distinguished road

      0  

    Default @ mitchellsimoens

    @ mitchellsimoens


    thank you . for quick reply.

    its ipad application so i written ios plugin and i done it.

Thread Participants: 1

Tags for this Thread