Android
no.ntnu.item.arctis.library.android

Import Library via SVN
Drop this link into the Arctis View

Contained Building Blocks
ALC

Listens to the lifecycle of an Android Activity.

ALC 2

Listens to the lifecycle of an Android Activity.

ALC 4

Listens to the lifecycle of an Android Activity.

Activity

Listens to the lifecycle of an Android Activity.

Alarm Clock

Issues an event at the given time.

Broadcast Receiver

Provides a general broadcast receiver that notifies once when the selected broadcasts are issued.

Broadcast Receiver 2

Provides a general broadcast receiver that listens for intents with the actions specified in the String array, and notifies whenever a matching intent is received

Check Connection

Checks if an internet connection is currently available.

Console UI

Dialog Button

Light Sensor

Listen

Prompts Android's speech recognition dialog and returns the recognized words.

Login UI

Displays an activity with a login screen to enter username and password.

MinuteTicker

Uses Android's internal clock to provide a periodic timer that issues an event every minute.

Notification

Shows a notification.

Notification 2

OneButtonDialog

Opens a dialog with the text given by the parameter.

OneButtonDialog 2

OneButtonDialog 3

Opens a dialog with the text given by the parameter. Displays in the context given by AndroidBlock.getCurrentActivityContext() if set.

Phone Calls

Listens to the state of the phone and detects incoming calls (ringing) and accepted calls.

Preferences

Provides resources and access to preferences.

Progress Dialog 1

Receive SMS

Receives incoming SMS.

SMS Send

Sends an SMS.

Scan Barcode

Uses the camera to scan a barcode.

Send Email

Sends an email using one of the user accounts. The user will preview the email before sending.

Speech

Speaks the string given at run-time.

Speech 1

Speaks a given text. Most general block for speech.

Speech 2

Speaks the text provided by the starting pin.

Speech 3

Speaks the text provided as instance parameter.

Start Intent for Result

Starts the provided intent and listens for a result.

StartActivity

String Input Dialog

Promts the user to input a string.

ThreeButtonDialog

Opens a dialog with three buttons.

Time Input Dialog

Opens a dialog to input time in hours and minutes.

Toast

Shows a toast dialog with the message provided by the start parameter.

Toast 2

Shows a toast dialog with the message provided by the instance parameter.

TwoButtonDialog

Opens a dialog with two buttons. Text is given by the parameter at run-time.

TwoButtonDialog 2

Opens a dialog with two buttons. Text is given by an instance parameter.