Jimex / DictTango-Android

9 stars 1 forks source link

App crashing and trajectory #18

Closed Nosaqnx closed 1 week ago

Nosaqnx commented 2 weeks ago

Thanks for your hard work.

I'm having some trouble using the app.

I can't add a dictionary. To my limited knowledge is that you should download the dictionary and move to the folder of the app but I couldn't do it because I couldn't find the folder

Is the folder in data? You can access data only using a computer or some file manager apps

I don't own a laptop/pc so that's a problem

Why your app doesn't have a folder outside "data"?

I found an option for adding from sd card so I continued with this option then I entered the dictionary from the phone storage then the app started crashing.

I apologize if my complaints are sily but I'm not that well with tech.

Jimex commented 2 weeks ago

First, thank you for installing the app and providing feedback. I assume you have some tech background since you're aware that files are stored in the "data" folder.

My app doesn't have a folder outside "data" due to Google's policy change in Android 11. Apps published on Google Play can't access SD card files directly; they must be stored within internal folders.

For more details, you can refer to this URL: Android 11 Storage Privacy Policy.

Here are some ways to resolve this issue:

1) Request Google to grant the "MANAGE_EXTERNAL_STORAGE" permission for the app, allowing access to SD card files. Despite numerous attempts, Google has rejected this request.

2) Utilize the Storage Access Framework (SAF) to access SD card files directly. This is the only method for the app to function on Android 11 and above. However, SAF often results in significantly slower performance compared to traditional file access.

3) Use SAF to copy files from the SD card to the "data" folder, then access them from the app by using the traditional file access method. This is the method you mentioned, which reportedly led to crashing.

Regarding the crash you encountered while using the SD card copy feature and considering you don't have access to a PC for further investigation, could you please provide more details?

1) At which step does the crash occur? Before or after selecting files? 2) Can you provide the steps to reproduce this crash? 3) Are you able to upload screenshots or screen recordings to assist with troubleshooting?

Nosaqnx commented 2 weeks ago

Screenshot_20240429_181054_DictTango

I read the manual in the app and I was able to move dictionaries to the app folder.

Everything is going normal till that.

I pressed on "dictionary list", the list was empty then the app crashed and closed by itself.

I reopened it and It showed the picture above.

Jimex commented 2 weeks ago

The manual is not updated and doesn't mention how to copy files from the sd card, may I know your steps to move the dictionaries?

Nosaqnx commented 2 weeks ago

I found the steps from the manual

App file explorer -> copy from sd card (upper right corner) -> I chose the dictionaries files them I moved them into Dictionaries folder in app directory

Jimex commented 2 weeks ago

Can you try the following steps?

Dictionary List -> Copy from sd card (upper right corner) -> Select the dictionaries files -> Select Dictionaries folder in app directory

Nosaqnx commented 2 weeks ago

Screenshot_20240430_085729_One UI Home

I opened Dictionary List and that's what appears on my screen. The screen is blank. And it's crashing after a few seconds of opening the "Dictionary List"

Jimex commented 2 weeks ago

Did you download and install the app from the Google Play Store initially?

If you downloaded the app from FreeMdict, please avoid upgrading it from the Google Play Store to prevent unexpected issues.

Nosaqnx commented 2 weeks ago

I downloaded it from the Google Play Store.

My version is 2.2.5.6

Jimex commented 2 weeks ago

You can try uninstalling the app (without keeping app data) and then reinstalling it. Next, navigate to Dictionary List and select Copy from SD card (located in the upper right corner). Choose the desired dictionary files and then select the Dictionaries folder in the app directory.

Ensure that if you need to create a folder, its name must not end with a space.

If the issue persists, it's possible that the app is not compatible with your phone's operating system.