Page 1 of 1

No import feature?

Posted: Wed Oct 25, 2017 3:19 am
by Goob
Greetings! I have recently bought smart BASIC and I'm very impressed. It has lots of capabilities and features. With the BASIC SDK for Xcode you can even put your applications on the app store! I have been looking for this kind of thing for quite a while and I love the app!

However, I'm confused as to how to import assets. I know the app has included sprite and music assets, but how can I import my own? I seems like there would be an "import" button, and the app claims to have Dropbox compatibility, but I cannot find such things. Right now I'm using the "album import" feature within a program to import pics, and I found a way to download assets from a URL from a program, which is how I get music into my programs. I guess I am just confused why an "import" button isn't being displayed. I noticed that in the skins folder there are files for an "import" button, so maybe it's not being displayed correctly on my device, which is an iPhone 7. So if anyone could shed some light on this topic that would be very helpful.

Re: No import feature?

Posted: Wed Oct 25, 2017 3:59 am
by rbytes
Greetings, fellow Canuck. There is a short answer and a long answer to your question.

Short answer: look in the built-in manual included in the program. Press the ? Button at the screen upper right. Look under Settings. You will find these commands listed alphabetically.

OPTION DROPBOX OFF
OPTION DROPBOX ON
disables/enables Dropbox integration. When enabled, extra button is present in files toolbar to switch between smart BASIC (local) and Dropbox (remote) file systems. Dropbox storage is used for backup and to copy files between your computer and smart BASIC. You cannot run programs from remote file system directly. You need active Dropbox account (www.dropbox.com) to use Dropbox integration. Default is disabled.
Note: you cannot copy program files *.TXT from Dropbox to the device.

Long answer: Apple is demanding that the developer immediately remove Dropbox access. He will not be allowed to post any sB updates until he complies. We as fans of Smart Basic have tried to protest, but Apple does not provide any communication channels for us to do so. Most other programming languages are allowed to use Dropbox or iTunes to transfer assets, so it is completely alien to the Apple philosophy to impose this measure. If you have any ideas on what can be done, we would love to hear them. First, read this thread to see the history of the edict. viewtopic.php?f=26&t=1882

Re: No import feature?

Posted: Wed Oct 25, 2017 6:54 am
by Mr. Kibernetik
As rbytes already mentioned, you need to use OPTION DROPBOX ON command to enable Dropbox in smart BASIC.