Waypoint and pdf file

Started by tannenzäpfle, July 28, 2023, 08:39:04

0 Members and 1 Guest are viewing this topic.

tannenzäpfle

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
  •  

Graf Geo

I can confirm the problem. Attached PDF files cannot be opened (system error).
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

balloni55

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?
Locus Map 4.26.1 Gold AFA

LM4 User ID e06d572d4
  •  

Graf Geo

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


SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

balloni55

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"
Locus Map 4.26.1 Gold AFA

LM4 User ID e06d572d4
  •  

Graf Geo

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.
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

balloni55

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
Locus Map 4.26.1 Gold AFA

LM4 User ID e06d572d4
  •  

Menion

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  ???
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Graf Geo

@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.
SG S10, Android 12, LM 4 Gold (last Release version or Beta)
  •  

balloni55

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 twiceYou cannot view this attachment.
Locus Map 4.26.1 Gold AFA

LM4 User ID e06d572d4
  •  

tannenzäpfle

#10
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
  •