Results 1 to 3 of 3

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

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    28
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    28
    Vote Rating
    0
      0  

    Default @ mitchellsimoens

    thank you . for quick reply.

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •