If the "new FileOutputStream(filepath)" statement fails (throws an
exception) you might not have write access to the path
"/sdcard/test.pdf".


On Wed, Jun 6, 2012 at 12:35 PM, RAJESH RAJARAM
<[email protected]> wrote:
> Convert the byte array data to the PDF Format. I'm getting the error in the
> line of
>
> "FileOutputStream pdffos = new FileOutputStream(filepath);"
>
> My code is like this
>
> bytes = Base64.decode(temp.toString(),Base64.DEFAULT);
> String filepath = "/sdcard/test.pdf";
> FileOutputStream pdffos = new FileOutputStream(filepath);
> pdffos.write(bytes);
>
> Give me some Idea to get the PDF File formate from the byte array.
> Note: I got the byte array from binary format.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Michael Banzon
http://michaelbanzon.com/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to