For Launcher I needed a selection mode, so that files and folders could be accessed which are not coupled to a button in the Launcher.
For that purpose I made a set of functions by which files and folders can be accessed fast and then run or viewed.
The following screenshot is from a test-program. The text shows clearly that you can find your way down and up in the tree.
To make its usage more flexible, the number of buttons can be changed rather easy, which is shown in the test-program "Find test.sb".
In the test-program only the "Quit"-button is active so that you can step through several configurations.
You can also use it with a single list, e.g. if a file should be selected in a folder without the need to change the folder.
The following screenshots show application on simulated iPhone-size. It also shows that size can be adapted to your wishes.
An update of Launcher, with this facility integrated, is coming soon.
The test-program, inclusive the Find-functions, is attached as zip-file.
Find, functions to find and select files or folders
- GeorgeMcGinn
- Posts: 435
- Joined: Sat Sep 10, 2016 6:37 am
- My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10 - Location: Venice, FL
- Flag:
- Contact:
Re: Find, functions to find and select files or folders
This sounds great.
So will I be able to load images into the Smart Basic App?
I can move data and code by COPY/PASTE, but I am having issues in copying the other files I need, like logos, backgrounds, etc.
George.
So will I be able to load images into the Smart Basic App?
I can move data and code by COPY/PASTE, but I am having issues in copying the other files I need, like logos, backgrounds, etc.
George.
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Find, functions to find and select files or folders
From your question it appears that you do not have experience on programming in SB. It is best to first become familiar with the opportunities offered by SB.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Find, functions to find and select files or folders
You can learn a lot by downloading code from the Forum and examining it. There are also some excellent code samples in the Examples folder.
You said that you now have the Dropbox feature working. That is the best way to bring media files into your smart Basic programs.
You said that you now have the Dropbox feature working. That is the best way to bring media files into your smart Basic programs.
The only thing that gets me down is gravity...