2015년 1월 4일 일요일

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

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.



How to create a pdf file



Is it possible to create without an Internet connection?



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.


댓글 없음:

댓글 쓰기