facebook

Back button while viewing PDF

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

    Ideaweb
    Member

    Hi Support!

    Im currently making a book app.

    Ive created a push button which opens the 100 page book through the on click go to URL action.This works like a charm.

    When done reading, there is no way to close the PDF book again. I attempted to open the PDF book with the popup action, but that was not possible.

    I obviously need to give the users the possibility to go back to the App homescreen, after reading/viewing the book.

    How can i achieve this ?

    Thank you in advance, Jacob

    #328427 Reply

    Ideaweb
    Member

    Hi Support!

    Im currently making a book app.

    Ive created a push button which opens the 100 page book through the on click go to URL action.This works like a charm.

    When done reading, there is no way to close the PDF book again. I attempted to open the PDF book with the popup action, but that was not possible.

    I obviously need to give the users the possibility to go back to the App homescreen, after reading/viewing the book.

    How can i achieve this ?

    (sorry for doubble post, i guess this is the correct section)

    Thank you in advance, Jacob

    #328479 Reply

    Hi Ideaweb,

    Are your target platform iOS, android or both?

    >When done reading, there is no way to close the PDF book again. I attempted to open the PDF book with the popup action, but that was not possible.
    I suspect that you’re using relative URLs. Am I right?

    #328563 Reply

    Ideaweb
    Member

    Hello Octavio!

    Thank you for helping.

    My target platform is IOS.

    I have a customer, who needs his PDF book viewable trough an IOS App.

    I have made a push button, with a “LINK TO URL” and then just dumped the pdf file directly in the root of the .mobi file. The book opens perfect and everything, but i have two problems.

    1. I cant go back to the app, after opening the PDF.
    2. I cant scale inside of the PDFdocument, which is highly needed.

    I have tried to come around this, in different ways, but havent really found the correct solution. Hope you have it!

    Another part is:

    Im also implementing a mp4 movie clip. Again i turned to GO TO URL action, with the raw file dumped in the .mobi root. This works like a charm, only with one slight problem.

    1. The entire app should be locked as portrait, but when viewing a video, it should be able to view as landscape, since almost everybody prefers the widescreen.

    Octavio, Thank you in advance.

    Mobione product is absolutely awesome ;=)

    Kindly Regards, Ideaweb

    #328619 Reply

    Hi Ideaweb,

    -which mobile device did you use?
    -what mobione version are you using?
    -you’re building a native iOS app, right?

    I’ve commented your request about the video with the dev team and they are evaluating the options.

    #328670 Reply

    Ideaweb
    Member

    Bad Request

    Your browser sent a request that this server could not understand.
    Apache/2.2.0 (Fedora) Server at http://www.genuitec.com Port 80
    ______________________________________________________

    I get this message when posting all the time 🙁

    #328671 Reply

    Ideaweb
    Member

    Hello Octavio! Thanks for supporting..
    Mobione Studio 2.0.3 installed, Your version of MobiOne is up to date.

    I have been testing the App on two IOS devices.
    Iphone 4S with IOS 5.0
    Iphone 4 with IOS 5.1

    Yes i am building Native IOS App.

    #328789 Reply

    Ideaweb
    Member

    Bumping!

    Really need help on this one!

    #328866 Reply

    Hi Ideaweb,

    We’ve done a few tests and get this to work fine. Please try the next:

    Set in a button the GOTO URL : http://samplepdf.com/sample.pdf
    Set OPEN URL IN : Popup Window (native only)

    Zoom should work fine and you will see a “Done” button. After pressing you’ll get back to your app.

    #328892 Reply

    Ideaweb
    Member

    Hello Octavio.

    I just tried your solution and i works. Its very nice with back button and zoom functionality, exactly what im looking for.

    But but but. The pdf im showing in the app, is a 100 page premium book. This book should not be hosted on webserver, but be placed inside the native app itself.

    When i put in “xxx.pdf” on the GO TO URL, and then place the xxx.pdf in www root folder, the popup windows says “Failed”

    My customers should be able to view the entire .pdf without internet. (As long as the got the app while they had internet).

    Code from .js: {‘action0’:function() { phoneui.showURL(‘http://www.ideaweb.dk/fabfive.pdf&#8217;, ‘_child’); <– This works
    Code from .js: {‘action0’:function() { phoneui.showURL(‘fabfive.pdf’, ‘_child’); <– This does not.. Give push message “The URL can’t be shown”

    Also, i have a selectmenulist, spinner style. This i will use for chapters, so when on change function, a new pdf should open with popup window.

    I have the values set as the pdf file name, and javascript code: location.href = $(‘select[name=”selectListMenu1″] :selected’). val()

    By the way, any news on the Locked portrait app, with landscape available wile viewing video.. ?

    Thank you in advance Ocvavio, your help is crucial!

    #328916 Reply

    @Ideaweb,

    Unfortunately we find out that this is a bug. The dev team is aware about it and are working to fix it. About your video request, also, the dev team is investigating about it.

    #328952 Reply

    Ideaweb
    Member

    Im glad to her that it is a bug.. Then i know its going to be fixed soon, if Mobione support Dev team does their superb job as usual!

    Regarding the Portrait app, with Landscape video viewing and your launch of the 2.1 withVideo/audio focus, i think its an highly needed feature.

    I will be looking forward to getting the updates or bugfixes

    #329105 Reply

    Ideaweb
    Member

    Just bumping, and two fast questions.

    Will the support for local files in popup window be fixed in 2.1 ?

    Will Landscape video viewing be support inside portrait app in 2.1 ?

    Thank you in advance, Ideaweb

    #329168 Reply

    Hi Ideaweb,

    Presently the app orientation is locked at the app level, there is not screen specific orientation support. We have opened an enhancement to investigate this at a later time.

    We have the enhancement for relative URLs in our queue but it has not been scheduled yet. I added your input to the feature so that it gets more interest when prioritized.

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Back button while viewing PDF

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