Locus Map - forum

Support => Troubles & Questions => Topic started by: tannenzäpfle on July 28, 2023, 08:39:04

Title: Waypoint and pdf file
Post by: tannenzäpfle on July 28, 2023, 08:39:04
Problem:
I assign a file to a waypoint. (I have tried it on different folders with different Android versions <11).
If it is a .jpg file or a .txt file I have no problems, but as soon as I assign a pdf file it is saved in the waypoint, but when I call it up for display the message "File not found" appears. I have tried different PDF readers for the display.
If I open the same file from the file explorer, there is no problem.
Any ideas?
Thank you
Hartmut
Loucs 4.17.2
Title: Re: Waypoint and pdf file
Post by: Graf Geo on July 28, 2023, 09:47:04
I can confirm the problem. Attached PDF files cannot be opened (system error).
Title: Re: Waypoint and pdf file
Post by: balloni55 on July 28, 2023, 10:02:16
for me with AFA-version it work

in which folder are your .jpg stored?
have you tried to use the .pdf from identical folder as .jpg is saved?
Title: Re: Waypoint and pdf file
Post by: Graf Geo on July 28, 2023, 10:31:26
I think it's an access problem.

I tried with 4 different attachments: pdf, jpg, txt and docx.

If files come from different folders, I can open only jpg.

If files are in the same folder, I can open jpg, txt and pdf. But not the docx.

Internal or external storage makes no difference.

Permissions for all files is granted (Verwaltung aller Dateien zugelassen).

LM 4.17.2.4 AFA beta


Title: Re: Waypoint and pdf file
Post by: balloni55 on July 28, 2023, 11:31:52
Quote from: Graf Geo on July 28, 2023, 10:31:26I think it's an access problem.

I tried with 4 different attachments: pdf, jpg, txt and docx.

If files come from different folders, I can open only jpg.

If files are in the same folder, I can open jpg, txt and pdf. But not the docx.


LM 4.17.2.4 AFA beta



for me the files can be stored in different folders
and also docx is displayed.
Have you installed a docx viewer on your device? like "Google Docs"
Title: Re: Waypoint and pdf file
Post by: Graf Geo on July 28, 2023, 11:54:54
I have different apps that can open and edit docx files. Problem only occurs when a docx file is saved as an attachment to an point/waypoint in Locus.
Title: Re: Waypoint and pdf file
Post by: balloni55 on July 28, 2023, 12:51:22
I am offered two identical icons of the docx viewer, but only one of them displays the file, see screencast

https://www.dropbox.com/scl/fi/f4j25ura532iputmq1z13/jpg-pdf-docx.mp4?rlkey=tl43rp8kjuhbs2r88btiqchtd&dl=0
Title: Re: Waypoint and pdf file
Post by: Menion on July 28, 2023, 13:37:36
Hi guys,
interesting. I have a guy on help desk with same issue (PDF file) and I'm still unable to solve it.

@Graf Geo
What PDF reader are you using? Is there problem with all of them? I need to simulate the issue on own device, it is the key to solve it...

@balloni55
eh, two identical icons, weird. I see a single  ???
Title: Re: Waypoint and pdf file
Post by: Graf Geo on July 28, 2023, 13:52:06
@Menion: I have different apps to open / read PDF files, none of them can open PDF files as attachment to points from different folders:

Adobe Acrobat
Office document viewer
Office Suite pro
Xodo
One read
Google Drive PDF Viewer

I repeat, if PDF file is located in the same folder like an attached image files (JPG etc.) PDF can be shown.
Title: Re: Waypoint and pdf file
Post by: balloni55 on July 28, 2023, 14:38:17
Quote from: Menion on July 28, 2023, 13:37:36@balloni55
eh, two identical icons, weird. I see a single  ???
most of the provided icons are twicedoppelt.png
Title: Re: Waypoint and pdf file
Post by: tannenzäpfle on July 28, 2023, 15:22:44
I tried following folders:

on Android devices with SD Card
SDcard/Android/date/menion.android.locus/files/date/import
SDcard/Android/date/menion.android.locus/files/date/export
SDcard/Download
.jpg in this folders worked.docs , .txt and i have not yet tested.

Under MEMU
storage/emulated/0/Locus/export
storage/emulated/0/Locus/data/import
storage/emulated/0/Locus/Test

As I did not update Android on my main device there is still running Android 10, on the tablet it is android 6 and MEMU shows 7.1.

I installed the actual AFA with MEMU, but it is not working.
Any pdf Reader shows only "file not found". PDF Viewer lite creates a log file which is enclosed.

Hartmut