Access of files and folders in Smart Basic

Post Reply
vincesb
Posts: 7
Joined: Tue Mar 05, 2024 9:05 pm
My devices: IPad, Windows 10/11, Android
Location: Suffolk, UK
Flag: Great Britain

Access of files and folders in Smart Basic

Post by vincesb »

Hello all

I am not a user of Apple devices in general and have already found an issue that is stopping me from even getting into SB properly. I am finding it hard to deal with access to the file system not just using Smart Basic, but in general.

If I want to use files, whether that be Sprites or just a configuration file for my program, I am finding it very difficult to be able to transfer these files to the iPad, where SB can access them. When I look at the files and folders in SB, I see the program files I've created within the program and folders that I've created (again with SB). I don't see any of these folders and files within the Files App on the iPad, so how can I create a sprite file for instance and save it to the iPad for use in my programs, when Files App doesn't show the folders. I have tried to find the Browse option in Files App, as suggested by messages on the web, but that seems to be missing in the Files App. With Windows you have File manager and you can see all your folders and save your files to a relevant a specific folder. You can't seem to do that with iPad, which I'm struggling to get my head around.

Any advice, apart from learn how to use the iPad, would be greatly appreciated.
Vince :D

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Access of files and folders in Smart Basic

Post by Dutchman »

To explain the procedure, I'll describe how to get a sprite from my iMac to a folder in SmartBasic.
• I send the sprite 'Smurf.png' via mail from my iMac to my mail account on the iPad
• On my iPad, I open mail and select the message containing the sprite.
• I place my finger on the file and then a selection window opens.
• In that window, I choose 'share'
• A new window will open with various icons at the top of apps such as 'Airdrop' and 'Email'. In that list you will also find the SB icon 'basic'. You may have to scroll the icons to see it.
• If you press the SB icon, SmartBasic will open and you will see the sprite, 'Smurf.png' in my case, in the root folder.
• Select the file and move it to the desired folder by pressing the 'X->' symbol at the bottom of the screen.

vincesb
Posts: 7
Joined: Tue Mar 05, 2024 9:05 pm
My devices: IPad, Windows 10/11, Android
Location: Suffolk, UK
Flag: Great Britain

Re: Access of files and folders in Smart Basic

Post by vincesb »

Dutchman wrote:
Tue Mar 19, 2024 9:43 am
To explain the procedure, I'll describe how to get a sprite from my iMac to a folder in SmartBasic.
• I send the sprite 'Smurf.png' via mail from my iMac to my mail account on the iPad
• On my iPad, I open mail and select the message containing the sprite.
• I place my finger on the file and then a selection window opens.
• In that window, I choose 'share'....................
Hi Dutchman

Thanks for your quick response.

I had a go at what you said, but instead of mail I had my Google Drive setup. I pressed and held on a file, pressed share and then pressed the Basic entry. It opened Smart Basic into the Files and Folders screen, but the file I selected didn't appear in the directory or any other directory.

Don't think I did anything wrong, but thanks for the suggestion.

Update: I have tried it again with varying success, again using Google Drive as the transfer mechanism.
Vince :D

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Access of files and folders in Smart Basic

Post by Mr. Kibernetik »

If you already have your file on your iPad, then use iOS "sharing" to copy your file to Basic app.

If your file resides on another device, there are multiple ways to transfer it to iPad. Please Google it, and you will find the best way for you. There are too many ways you can act to list them here. As for me, I use Files app to transfer files from Windows PC directly to Basic app without copying files to Files app. In Files app I set up a server link to go directly to my another PC and "share" any file from there right to Basic app.

Basic app has no direct access to its documents in Files app (as many other apps have) because programming apps are restricted to use iTunes File Sharing feature.

vincesb
Posts: 7
Joined: Tue Mar 05, 2024 9:05 pm
My devices: IPad, Windows 10/11, Android
Location: Suffolk, UK
Flag: Great Britain

Re: Access of files and folders in Smart Basic

Post by vincesb »

The direct route from the ipad to windows would be good, but ill leave that for another day.

I have found using something like Google Drive in Files app on the iPad to transfer file to be quite hit and miss. Sometimes the file will transfer and others not. I have a USB dongle for the iPad and tried that and that seems to be the most reliable way so far. So at the moment I will stick to that, but will certainly look into the way you said Mr K, about using a server setup and transfer the files direct from Windows.

Thanks Dutchman and Mr K for your help, that has at least got me on the road.
Vince :D

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Access of files and folders in Smart Basic

Post by Dutchman »

Mr. Kibernetik wrote:
Wed Mar 20, 2024 7:09 am

In Files app I set up a server link to go directly to my another PC and "share" any file from there right to Basic app.
Thanks for the tip. I didn't know about this possibility. ;)

Post Reply