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
getting_started:start [2018/12/30 01:57]
114.125.57.28 [Note for contributors]
getting_started:start [2021/09/27 13:03] (current)
al4he6
Line 5: Line 5:
  
 **[[install|Install]]** **[[install|Install]]**
 +
 +**[[Backup Your Work|Backup Your Work]]**
  
 **[[docs|Documentation]]** **[[docs|Documentation]]**
Line 11: Line 13:
  
 **[[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]]**
 +
 +**[[getting_started:tut2|Tutorial on RapidDroidSript (a Layout tool)]]**
  
  
Line 18: Line 28:
 ---- ----
  
-// 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.1546135039.txt.gz · Last modified: 2018/12/30 09:57 (external edit)