User Tools

Site Tools


getting_started:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
getting_started:start [2018/12/30 01:57]
114.125.57.28 [Note for contributors]
getting_started:start [2021/05/11 13:20]
al4he6 New page Android IDE How to
Line 11: Line 11:
  
 **[[getting_started:wifi_ide|Wifi IDE]]** **[[getting_started:wifi_ide|Wifi IDE]]**
 +
 +**[[getting_started:Android_ide_how_to|(Android) IDE - How To]]**
 +
 +**[[getting_started:wifi_ide_hot_to|Wifi IDE - How To]]**
  
 **[[getting_started:faq|Frequently Asked Questions]]** **[[getting_started:faq|Frequently Asked Questions]]**
 +
 +**[[getting_started:tut1|Tutorial on Layout]]**
  
  
Line 18: Line 24:
 ---- ----
  
-// Load the MicroBit plugin. +====Note for contributors==== 
-app.LoadPlugin( "MicroBit" ); +If you wish to create a new page in the **Getting Started** namespace, please create a link to the new page above, save this page and click on the link you just created.
-  +
-// Called when application is started. +
-function OnStart() +
-+
-  // Lock screen orientation to Portrait. +
-  app.SetOrientation( "Portrait" ); +
-  +
-  // Create our main layout. +
-  lay app.CreateLayout( "Linear", "VCenter,FillXY" ); +
-  lay.SetBackColor( "#222222" ); +
-  +
-  // Create the Microbit plugin. +
-  microbit app.CreateMicroBit(); +
-  +
-  // Creates micro:bit board image with 90% of layout width +
-  img app.CreateImage( microbit.GetImage(), 0.9, -1 ); +
-  lay.AddChild( img );   +
-  +
-  //Add main layout to the app. +
-  app.AddLayout( lay ); +
-}+
getting_started/start.txt · Last modified: 2021/09/27 13:03 by al4he6