how to make an application save the data as a pdf file in app inventor 2

2,450 views
Skip to first unread message

Dj Moody

unread,
Nov 1, 2014, 5:31:14 AM11/1/14
to mitappinv...@googlegroups.com
Hey all 

am working on a project which is take voltage / current readings from an electrical circuit and saving them to generate a report

i used an app as an oscilloscope but i need to know how to save screen shots OR show that app in my app.

i also need to know after finishing the report, how can i save it to the device as a PDF file.

Thanks in advance!

Taifun

unread,
Nov 1, 2014, 9:53:18 AM11/1/14
to mitappinv...@googlegroups.com

Marek Mitonski

unread,
Dec 16, 2014, 4:19:33 PM12/16/14
to mitappinv...@googlegroups.com
Wtam 

Czy można stworzyć bez połączenia z internetem?

SteveJG

unread,
Dec 16, 2014, 7:02:49 PM12/16/14
to mitappinv...@googlegroups.com
It is not possible to create a pdf file using the method described by Taifun in the post above with App Inventor without a connection to the Internet .
The 'solution' presented uses AI2 to communicate wiith a web page called www.convertapi   using the App Inventor Web component.

I am not aware of any way to create a pdf file within an Android device using App Inventor.   Here is a link describing how to create pdf's using a Java Android compiler:  http://stackoverflow.com/questions/2499960/how-to-create-pdfs-in-an-android-app  .   How one might do this on AI2 is not known.


Here is the Android documentation for one of the possibilities:  http://developer.android.com/reference/android/print/pdf/PrintedPdfDocument.html     Can it be used with AI2's ActivityStarter?  Probably not but you could try.


Regards,
Steve
Reply all
Reply to author
Forward
0 new messages