michaeltroger / greenpass-android

Green Pass PDF Wallet Android App
https://play.google.com/store/apps/details?id=com.michaeltroger.gruenerpass
GNU General Public License v3.0
76 stars 3 forks source link

current Uri #67

Closed Ayman-SHaaban-ELsayed closed 2 years ago

Ayman-SHaaban-ELsayed commented 2 years ago

Where can I find the current Uri in case that there is many pdf files opened and I change between them?

michaeltroger commented 2 years ago

Hi. With Uri you mean the full path where the file is stored? The app imports the PDF if you open it, so it stores a copy of your document. The app doesn't remember the original file path. You can see the original filename (unless you renamed) on top of the document though. The file is securely stored within the private space of the app. Other apps have no access

Ayman-SHaaban-ELsayed commented 2 years ago

Hi thanks for your response, i mean where i can find the current path of the current opened file in the saved file in the private space of the app?

On Tue, 29 Mar 2022, 9:40 am Michael Troger, @.***> wrote:

Hi. With Uri you mean the full path where the file is stored? The app imports the PDF if you open it, so it stores a copy of your document. The app doesn't remember the original file location. You can see the original filename (unless you renamed) on top of the document though. The file is securely stored within the private space of the app. Other apps have no access

— Reply to this email directly, view it on GitHub https://github.com/michaeltroger/greenpass-android/issues/67#issuecomment-1081533917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI3GKESAGF3YTTBT772V7NLVCKXWPANCNFSM5R4HV2NA . You are receiving this because you authored the thread.Message ID: @.***>

michaeltroger commented 2 years ago

There is no way to see the file path in the UI. It is not displayed anywhere.

With a debug build you could find the file name in the database with the database inspector of Android Studio

Ayman-SHaaban-ELsayed commented 2 years ago

All what I need is to add print button,what is your recommendation steps about this, I am not professional in kotlin.

michaeltroger commented 2 years ago

Closed because question is answered and for print there is https://github.com/michaeltroger/greenpass-android/issues/65