2017년 1월 6일 금요일

Re: Display a portion of a PDF as one screen


I am trying to convert our Emergency and Safety Procedures flip chart into an app that can be placed on our internal devices.

Current fix has the app pulling a PDF viewer, but the app does not recognize the file path. I have successfully opened the PDF viewer with one of my buttons.
The PDF viewer locates the files, the files are stored on the local SD Card.

Am I just missing what the file location is?

--

Am I just missing what the file location is?
probably es

How to view a pdf document

-- 
file://storage/extSdCard/download/FIRE_EVACUATION.pdf

That is what I have typed in. Below is what part of the code looks like. The top one properly calls the PDF viewer, the bottom throws an error saying, "This file could not be accessed. Check the location or the network and try again."

 Capture3.PNG



-- 
Potential fix:

file://mnt/storage/extSdCard/download/(file name).pdf

Will be testing with under score and without under score to see if this resolves the issue.

-- 
This has fixed the issue with the app. The app pulls the file regardless of underscore or no underscore.

For future issues that are similar to this recommend having file path as: file://mnt/storage/(file location on device)/(file name)(file extension)Thank you for all of your assistance.

-- 

댓글 없음:

댓글 쓰기