1

I am using the ChildBrowser component in WP7/Cordova 2.2 application where I need to display the Base64 PDF content in the browser.

Following error Invalid URI: The Uri string is too long. is thrown while opening the child browser with base64 data url.

I am not quite good with .NET so any help would be appreciated.

dhaval
  • 7,611
  • 3
  • 29
  • 38
  • Can you show an example that reproduces this? If you're including a Base64encoded PDF document as part of the query string then you'll need to find a different approach as that only supports working with a length of a couple of thousand characters. – Matt Lacey Mar 21 '13 at 12:23
  • It is not part of the query string, i am creating a `data:application/pdf;base64,....` string and then opens the childbrowser with it. This works in `iOS`. – dhaval Mar 21 '13 at 12:39
  • @MattLacey also the PDF size is little over 100kb – dhaval Mar 21 '13 at 12:49
  • Base64Encoding typically increases size by about 130%. In that it's reporting that size is an issue have you tried with a smaller file? or a different file type (like a small image)? – Matt Lacey Mar 21 '13 at 16:31

0 Answers0