public class

Android

extends Object
java.lang.Object
   ↳ net.pierrox.lightning_launcher.script.api.Android

This class is deprecated.
use the android.widget.Toast class instead

Class Overview

The Android object gives access to some platform services.

Summary

Public Methods
Toast makeNewToast(String text, boolean isShort)
Create a toast (but does not display it).
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Toast makeNewToast (String text, boolean isShort)

Create a toast (but does not display it). Typical use is:

 Android.makeNewToast("hello", true).show();
 

Parameters
text message to display
isShort whether this message is displayed during a short or long duration
Returns
  • a new toast