0

I have a button on an android app I'm working that is in the same activity as a listview that I would like to export to pdf and email if I can learn one I can probably figure the other one out. Does anyone know how I should go about doing this or a tutorial that I can look at the learn it?

I google'd how to but couldn't find anything on it.

My IDE is android studio.

Syed Osama Maruf
  • 1,895
  • 2
  • 20
  • 37
bp01442
  • 69
  • 9
  • What do you want to export as pdf/email? – Psypher Apr 06 '15 at 17:22
  • The goal will be to have a sort of guest list that the user can click one button and add people to the listview. Then click another button that says export that will let the user export the text of the list to pdf or email. – bp01442 Apr 06 '15 at 17:26
  • 1
    You can take a look at this link : http://stackoverflow.com/questions/5726411/is-it-possible-to-convert-text-into-pdf-in-android – Syed Osama Maruf Apr 06 '15 at 18:10

1 Answers1

0

You can create an ACTION_SEND intent to share whatever data you choose. You can tie it to a ShareActionProvider if you want a share button to appear.

Marc
  • 106
  • 1
  • 4