For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 11 replies, 4 voices, and was last updated 13 years, 5 months ago by
support-octavio.
-
AuthorPosts
-
OrdensmannMemberI have a pdf-file that I want to be included and available in the app without having to go online.
How do I save it?Thnx!
February 18, 2013 at 4:18 pm #335575
support-octavioMemberYou can add your .pdf file as an Additional Project File:

Then use a relative URL to open it. Your pdf will be copied to <app>_www dir when you generate files.
Hope this helps. Let me know if you need a sample design.
February 18, 2013 at 4:48 pm #335577
anserMembera sample would be great thanx octavio
February 19, 2013 at 8:27 am #335604
anserMemberPlease can anyone show a sample of how this can be done?
February 19, 2013 at 1:16 pm #335621
support-octavioMemberHi anser,
Hope this sample will be helpful for you.
Attachments:
You must be logged in to view attached files.February 19, 2013 at 1:31 pm #335622
anserMemberthnx octavio it’s works fine, seems to me a tried this but it did not worked, but as soon as i read your sample ..oh well THANK YOU!
March 17, 2013 at 9:47 pm #336726
superclayMemberThe PDFtest is working OK for the test center. But After I built to an Android App. It didn’t work. How can I make it work for an Android App? Thanks!
Clayton
March 19, 2013 at 7:03 pm #336806
support-octavioMemberCan you share details about your mobione version and android device? Also, what is the problem that you get? Just the .pdf doesn’t show up? the app crashes, others?
March 19, 2013 at 9:09 pm #336808
superclayMemberI’m working fine with the PDFtest on test center. I can see the PDF file no problem. But after I build to an Android app and installed on my mobile phone and 7″ Pad. It showed nothing after I pushed the open PDF button(it worked fine on test center). Thanks!
March 20, 2013 at 9:56 am #336826
support-octavioMemberHi Clayton,
My first thought is that you didn’t include the .pdf file in your native app when you built it. See next image and try to build your app again verifying that the .pdf is selected in Files & Data Tab. If problem continues please update to latest mobione version and try another build. Let me know how it goes for you.
Attachments:
You must be logged in to view attached files.March 21, 2013 at 8:32 pm #336893
superclayMemberI will attach three files for more information about what I had done.
1. I already attached the pdf file.
See attachment pdf-mobi-2.jpg
2. use onClick to open my pdf file
See attachment pdf-log-2.jpg
3. build my app
See attachment build-pdf-mobi-2.jpgPlease help. Thanks!
Attachments:
You must be logged in to view attached files.March 22, 2013 at 11:47 am #336917
support-octavioMemberHi Clayton,
I don’t see the problem, it seems that you are doing it right. Have you tried with other pdf file? Can you share a sample project to help us replicate the problem? Also please include information of mobione version that you are using and the devices details that you already have tested (model and OS). Send the sample project to support at genuitec dot com, use title mobione data from superclay
-
AuthorPosts
