facebook

Including a pdf file without using URL: CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #335489 Reply

    Ordensmann
    Member

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

    #335575

    @Ordensmann,

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

    #335577

    anser
    Member

    a sample would be great thanx octavio

    #335604

    anser
    Member

    Please can anyone show a sample of how this can be done?

    #335621

    Hi anser,

    Hope this sample will be helpful for you.

    Attachments:
    You must be logged in to view attached files.
    #335622

    anser
    Member

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

    #336726

    superclay
    Member

    The 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

    #336806

    @Clayton,

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

    #336808

    superclay
    Member

    I’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!

    #336826

    Hi 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.
    #336893

    superclay
    Member

    I 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.jpg

    Please help. Thanks!

    Attachments:
    You must be logged in to view attached files.
    #336917

    Hi 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

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Including a pdf file without using URL: CLOSED

You must be logged in to post in the forum log in