Nsbasic appstudio11/14/2023 ![]() ![]() You can also display the JavaScript for any displayed form from the IDE (Figure 3).įigure 1. At app publication or runtime (Figure 2), whether for local development or server deployment, any Basic script is transcompiled to JavaScript. You can drag and drop your way to runnable mobile applications built from forms and controls (Figure 1), as well as write code either in NS Basic - essentially VBScript with a few extensions - or in JavaScript. The combination of ease of learning, ease of use, royalty-free distribution, and low prices helps AppStudio bring mobile Web and hybrid development to the masses, in the spirit of VB and the early Borland visual programming products. The AppStudio IDE was written in JavaScript, HTML5, and WebKit, and it runs on Windows and Mac OS X. The current version of NSB/AppStudio, 4.2.9, targets both mobile Web and mobile hybrid apps. Over the years, the company produced NS Basic versions for Palm, Symbian, and Windows desktops, then finally released NSB/AppStudio in 2010 for mobile Web development. In 1998, the company released a Windows CE version of NS Basic, which I reviewed for Windows Magazine. NS Basic, from the eponymous Canadian firm NS Basic Corporation, arrived in 1994 with a VB-like development environment for the Apple Newton. Yes, those novices had to write some code, but not much of it - and the code was in Basic, not the syntactically more difficult C language. Here is how it looks running on the homescreen.In its day, circa 1991, Microsoft Visual Basic (aka VB) disrupted Windows development by making it possible for novices to drag and drop their way to runnable Windows applications built from forms and controls (originally called gizmos). Here is how it looks on the homescreen.ĥ. Click on Add to add it to your Home Screen.Ĥ. Tap on the menu button to bring up your choices. On Android the procedure is even simpler.Ģ. It will even run if the device is offline. Notice the top Safari bar is not there? This app now looks and runs like a normal phone app. ![]() Choose "Add To Home Screen", then click on Add.Ħ. First, we'll tap on the box with an arrow icon at the bottom of the screen.ĥ. Let's turn it into a real app on the Home Screen. But this isn't a real app: it's just a web page that looks like one. You can tap on "Click Me!", and you'll see: a working app in AppStudio.Ĥ. Enter the link into Safari or use a QR Code scan utility to start app.ģ. You can set up a permanent account later, and click Deploy.Ģ. We'll do it for Android next.)Ĭhoose "I'd like to continue using the demo account for now". VoltServer is a test server we have set up for AppStudio users. From the Deploy picker, choose "Deploy to VoltServer". Now, run it again and click on "Click Me!"ġ. Add the following code into the function:Ĩ. Select that, and you will go into the Code Window:ħ. It will show a popup with with the events for buttons. We could even run this on a device, but let's do a bit more first.Ħ. It runs in your default browser: we recommend using Chrome or Safari, as these support the WebKit extensions which mobile devices use. Edit the Value of the button to say "Click Me!"ĥ. Select the button in the ToolBox and drag & drop it where you like.Ĥ. It's best to create your project in a new folder.ģ. ![]() Choose BASIC as your programming language, the default iPhone/Nexus size and use HelloWorld as your new File name. (not shown yet) Code Window: An editor for your program code.Ģ.Hints: Some tips on the current object.Status Bar: Messages from the IDE to you.Properties Grid: A list of the properties of the item selected in the Project Explorer.Use this to select objects and to bring up the Properties for them. ![]() Project Explorer: See the structure of your code.Design Screen: Here is where you layout the objects on the form.ToolBox: A list of controls you can put on a form.Editor Bar: Choose Design Screen or Code Window, also Find and go to a function.Tab Bar: Use this to switch between your open designs and code.The picker lets you choose where you want it run. When the user taps the button, the program responds with the message "Hello World!"ġ. The program to be developed will display a form with a button on it. You can view a similar video here: Description of the Program You should have AppStudio installed before beginning this tutorial. The purpose of this tutorial is to demonstrate how a simple program is created using AppStudio. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |