Documentation
  • Introduction
  • Components
    • User Interface
      • Button
      • Checkbox
      • Date Picker
      • Floating Button
      • Image
      • Label
      • List Picker
      • List View
      • List View Image and Text
      • Notifier
      • Radio Button
      • Rating Bar
      • Slider
      • Surface View
      • Spinner
      • Switch
      • TextBox
      • Time Picker
      • Web Viewer
    • Layout
      • Horizontal Arrangement
      • Horizontal Scroll Arrangement
      • Space
      • Table Arrangement
      • Vertical Arrangement
      • Vertical Scroll Arrangement
    • Media
      • Audio Picker
      • Camcorder
      • Camera
      • Image Picker
      • Metadata
      • OCR
      • Player
      • QR Code
      • Sound
      • Sound Recorder
      • Speech Recognizer
      • Text To Speech
      • Video Player
      • Yandex Translate
    • Drawing and Animation
      • Ball
      • Canvas
      • Image Editor
      • Image Sprite
    • Sensors
      • Accelerometer
      • Barcode Scanner
      • Clock
      • Finger Print
      • Gravity Sensor
      • Gyroscope Sensor
      • Light Sensor
      • Location Sensor
      • Magnetic Field Sensor
      • NearField
      • Orientation Sensor
      • Pedometer
      • Pressure Sensor
      • Proximity Sensor
      • Sound Sensor
      • Temperature Sensor
    • Social
      • Contact Picker
      • Email Picker
      • Google Account Picker
      • Phone Call
      • Phone Number Picker
      • Sharing
      • Texting
      • Twitter
    • Storage
      • File
      • Firebase DB
      • Fusiontables Control
      • SQLite
      • Tiny DB
      • Tiny Web DB
    • Connectivity
      • Activity Starter
      • Bluetooth Admin
      • Bluetooth Client
      • Bluetooth Server
      • Download
      • Network
      • Web
      • WiFi
    • Google
      • Google Account Picker
      • Google Maps
      • Google Shortlink
    • LEGO Mindstorms
      • NXT Drive
      • NXT Color Sensor
      • NXT Light Sensor
      • NXT Sound Sensor
      • NXT Touch Sensor
      • NXT Ultrasonic Sensor
      • NXT Direct Commands
      • EV3 Motors
      • EV3 Color Sensor
      • EV3 Gyro Sensor
      • EV3 Touch Sensor
      • EV3 Ultrasonic Sensor
      • EV3 Sound
      • EV3 UI
      • EV3 Commands
    • Monetization
      • AdMob Interstitial
      • AdMob Banner
      • AdMob Rewarded Video
      • Billing
      • Leadbolt
    • Device
      • Audio
      • Device Tools
      • Wallpaper
      • Package
      • Screenshot
    • Experimental
      • Push Notifications
      • Cloud DB
      • Notification
  • Blocks
    • Control
    • Logic
    • Math
    • Text
    • Lists
    • Colors
    • Variables
    • Procedures
    • Screen
    • Any Component
  • Testing
    • Live Development
      • Via WiFi
      • Via USB
    • Makeroid Companion
  • Extensions
    • List of Extensions
    • Creating Extensions
  • Other
    • Backpack
    • Release Notes
      • Andromeda
      • Beta Versions
    • Resources
      • Concept Cards
    • Terms of Service
Powered by GitBook
On this page
  • Properties
  • BackgroundColor
  • Enabled
  • FontBold
  • FontItalic
  • FontSize
  • FontTypeface (designer only)
  • FontTypefaceImport
  • Height
  • HeightPercent
  • Image
  • Selection
  • Shape (designer only)
  • ShowFeedback
  • Text
  • TextAlignment (designer only)
  • TextColor
  • TouchColor
  • Visible
  • Width
  • WidthPercent
  • Events
  • AfterPicking
  • BeforePicking
  • GotFocus
  • LostFocus
  • TouchDown
  • TouchUp
  • Methods
  • Open
  1. Components
  2. Media

Audio Picker

A special-purpose button. When the user taps an audio picker, the device's audio gallery appears, and the user can choose an audio file. After an audio file is picked, it is saved, and the Selected property will be the name of the file where the audio file is stored. In order to not fill up storage, a maximum of 10 audio files will be stored. Picking more audio files will delete previous audio files, in order from oldest to newest.

Properties

BackgroundColor

Returns the button's background color

Enabled

If set, user can tap check box to cause action.

FontBold

If set, button text is displayed in bold.

FontItalic

If set, button text is displayed in italics.

FontSize

Point size for button text.

FontTypeface (designer only)

Font family for button text.

FontTypefaceImport

Set a custom font.

Height

HeightPercent

Image

Image to display on button.

Selection

Path to the file containing the audio file that was selected.

Shape (designer only)

Specifies the button's shape (default, rounded, rectangular, oval). The shape will not be visible if an Image is being displayed.

ShowFeedback

Specifies if a visual feedback should be shown for a button that as an image as background.

Text

Text to display on button.

TextAlignment (designer only)

Left, center, or right.

TextColor

Color for button text.

TouchColor

Visible

Specifies whether the component should be visible on the screen. Value is true if the component is showing and false if hidden.

Width

WidthPercent

Events

AfterPicking

Event to be raised after the picker activity returns its result and the properties have been filled in.

BeforePicking

Event to raise when the button of the component is clicked or the list is shown using the Open block. This event occurs before the list of items is displayed, and can be used to prepare the list before it is shown.

GotFocus

Indicates the cursor moved over the button so it is now possible to click it.

LostFocus

Indicates the cursor moved away from the button so it is now no longer possible to click it.

TouchDown

Indicates that the button was pressed down.

TouchUp

Indicates that a button has been released.

Methods

Open

Opens the picker, as though the user clicked on it.

PreviousMediaNextCamcorder

Last updated 7 years ago