Open Devcom439 opened 8 months ago
This is a PyDroid3 limitation. Perhaps there's a setting in PyDroid3 that enables you to get to the actual filesystem. PyDroid3 is not running Python at the system level. It's running as an application. I'm unsure if/how it enables access to the Android filesystem. You may want to try some of the os.path calls to see what it shows when you list directories.
You may want to try some of the os.path calls to see what it shows when you list directories.
This is actually a great idea! I didn't think about using os. I'm checking this out.
You may want to try some of the os.path calls to see what it shows when you list directories.
This is actually a great idea! I didn't think about using os. I'm checking this out.
I'm having a lot of trouble trying to use os or even subprocess to open the file explorer from android. It's so frustrating to find absolutely no answers online or with ChatGPT. Am I the only one with this issue or am i stupid?
This is a PyDroid3 limitation. Perhaps there's a setting in PyDroid3 that enables you to get to the actual filesystem. PyDroid3 is not running Python at the system level. It's running as an application. I'm unsure if/how it enables access to the Android filesystem. You may want to try some of the os.path calls to see what it shows when you list directories.
Thanks for your support, but i don't think it is worth it. That is because you can't, for example, get url's in the youtube app and because there is way too much work for just opening the file explorer. The only advantage for having such version on your phone is that if your family/friends/etc. have their pc with them they could just send you the link and you could download it on your phone. But that is also almost unneeded since there are sites for that.
UGH... how frustrating. We've got some exciting stuff on the way!!
UGH... how frustrating. We've got some exciting stuff on the way!!
I'm sorry for giving up early. I've just spent way too long on a rather 'simple' project and I've really had enough of the endless debugging and problems. That's why I threw the towel and closed this issue/question. With this insight though I'm reopening this subject to further try and get this to work.
Type of Issue (Enhancement, Error, Bug, Question)
Question
Operating System
Windows 11 Making for Android
PySimpleGUI Port (tkinter, Qt, Wx, Web)
Tkinter
Versions
Version information can be obtained by calling
sg.main_get_debug_data()
Or you can print each version shown in ()Python version (
sg.sys.version
)3.11.6
PySimpleGUI Version (
sg.__version__
)4.60.5
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)8.6.12
Your Experience In Months or Years (optional)
Years Python programming experience Almost 1 year
Years Programming experience overall Almost 1 year
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine) no
Anything else you think would be helpful? No
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
I tried just copying the code from my IDE on windows (Pycharm) to my IDE on Android (Pydroid3) and executing the code, and the window showed and worked. When I tried to browse for the file location using 'sg.FolderBrowse', it showed me a menu with the path to the .py file that is running, but not just a file browser where i can click around and find the folder. Is there a way to get the system file browser to open instead of the PySimpleGUI one?
Screenshot, Sketch, or Drawing
Watcha Makin?
I'm making a Youtube video downloader with additional GUI. It supports whole Youtube playlists and the option to just download the audio.