Forum Post: RE: View PDF on an Android mobile app. Any ideas?

  • Thread starter Thread starter dhubbuck
  • Start date Start date
Status
Not open for further replies.
D

dhubbuck

Guest
Some information that may help anyone else who needs to save a base64 encoded pdf locally. I've found out that the phonegap filewriter api needs to be at version 2.9 to write binary files. It expects an arrayBuffer to be passed into the write method. I've used the following functions to convert the base64 string into the arrayBuffer. developer.mozilla.org/.../Base64_encoding_and_decoding Within MAB Ichnaged the libraries version to1.2 to pick up a later PhoneGap API. Hope this helps someone in the future

Continue reading...
 
Status
Not open for further replies.
Back
Top