android - AppGyver: PDF behind navigation bar -


I am trying to see a PDF in my AppGyver app, but there are some problems with it. First, some notes :

  • PDF can be accessed through a URL to a php page which will generate the requested PDF file.
  • Post data should be sent when
  • PDF file is on external web server.
  • The user should be able to return to the final view.

    I have read about using steroids.views.PreviewFileView to view PDF files. Unfortunately it seems that this class is only supported on iOS and I would like to support Android too. PDF can be used by clicking on a certain button.

    I have created this solution, which creates a form via javascript and submits instantly when clicking on button. Therefore, I can request a file while submitting post data and displaying it in the app. But when the PDF loads, the top portion is displayed behind the navigation bar while pinching the screen, the pdf file will be completely on the screen.

    If I should use the steroids.views.PreviewFileView , then how can I send mail data to the URL trying to use the file? Or should you continue the way I have solved it? Therefore, I would like to take a little bit of help with the solution when I first load the pdf's first page on display.

    steroids.views.PreviewFileView AppGyver Legacy is not supported in the Android scanner, And given that the runtime is no longer in active development, it will not be in the future.

    Normally viewing PDF in Android WebView is not clear, but as mentioned, a normal operation seems to route it to Google Docs. You should be able to adapt your usage case as well (use it as a location attribute for a new webvib)

    If you open pdf in a new webview, the user should be able to navigate back using the physical back button, so that you can hide the navigation bar, if he Concerned you about the current solution.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -