System Service

From WebOS101

Jump to: navigation, search

Contents

Documentation

Palms Documentation

getPreferences Keys

The following keys are available for use, although as they are not documented on the Palm site use of them *may* result in your app being rejected.

  • Location/Time information
    • locale
    • region
    • timeFormat
  • Sound/Tones
    • messagetone
    • remindertone
    • notificationtone
    • alerttone
    • systemSounds
    • vibrateWhenCharging
    • playSoundWhenCharging
    • uiNotifications -- may be disabled/return nothing
    • uiSoundsWhenCharging -- may be disabled/return nothing
  • Generic Information
    • airplaneMode
    • deviceName
    • com.palm.properties.nduid -- returns Unique Device ID
    • com.palm.properties.PRODoID -- returns Unique Device ID (???)
  • Carrier Information
    • carrierUrl
    • carrierString
    • activationCareNumber
  • Quickdial
    • 4DigitNumber
    • 5DigitNumber
    • 6DigitNumber
    • 7DigitNumber
  • Lock/Timeout Preferences
    • lockmode
    • lockTimeout
    • showAlertsWhenLocked
    • sysUiEnableNextPrevGestures
    • LEDThrobberEnabled
    • onDeviceDemoRunning
  • Browser Prefs
    • webSearchList
    • defaultWebSearch

untested

Ringtone

this.controller.serviceRequest('palm://com.palm.systemservice', {
method:"setPreferences",
parameters:{"ringtone":Mojo.appPath + "/sounds/8000.mp3"}
}
);

Source

Personal tools