On Fri, Feb 17, 2012 at 12:33 PM, John Goche <[email protected]> wrote:
> I wonder if anyone knows what the differences are between the old
> version and the new version.

That would be a fine question for some iText-specific list or group.

> Also, where do I save the PDF?

On internal storage or external storage.

> I would like to fire a browser intent which
> attaches the generated PDF file as an attachment.

Browsers don't have attachments. Email messages might have attachments.

> Where on the file system can I save the generated PDF

On internal storage or external storage.

> and can
> I specify the PDF as an intent bundle extra?

You can specify the path to a PDF as an extra, or as the Uri
associated with the Intent. You need to follow the rules for whatever
it is that you are trying to do (e.g., ACTION_SEND would use
EXTRA_STREAM).

Note that paths to files on internal storage are frequently useless,
as other apps cannot access those files by default. You would either
need to use MODE_WORLD_READABLE (ick) or create a small
ContentProvider for serving that file and making it available to other
apps via a content:// Uri.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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