Difference between revisions of "Application:ModeSwitcher"

From WebOS Internals
Jump to navigation Jump to search
m
Line 10: Line 10:
  
 
{{icon|Icon_Mode-Switcher.png|float:right;}}
 
{{icon|Icon_Mode-Switcher.png|float:right;}}
 +
Mode Switcher brings profile support to webOS in the form of "modes" that can control nearly every available setting on the Palm Pre/Pixi. Currently, MS can control:
 +
 
<blockquote>
 
<blockquote>
Mode Switcher brings profile support to WebOS in the form of 'modes' that cover nearly every available phone setting.  These modes can be triggered in my many different ways: placing the phone on a touchstone, time of day, current wifi ssid, GPS location.
+
* Wallpaper
 +
* IM status
 +
* All Volume Controls
 +
* All Ringtones
 +
* Display (brightness, timeout, LED/banner notifications)
 +
* Touchstone Screen On/Off
 +
* All Radios (Wifi/Bluetooth/GPS/Data/Phone)
 +
* Open/Close Applications
 +
* Network Type
 +
* Roaming (Forced, Automatic)
 +
* E-Mail
 +
</blockquote>
  
Examples of settings which can be controlled by Mode Switcher include, but are not limited to:  
+
These modes can be activated manually, or triggered automatically by a number of different methods:
 
 
* WiFi on/off
 
* Bluetooth on/off
 
* GPS on/off
 
* IM Status
 
* Ringer on/off/vibrate
 
* Ringtone
 
* Brightness
 
* Wallpaper
 
* System Volume
 
* Media Volume
 
  
 +
<blockquote>
 +
* Time of Day
 +
* Charger (touchstone, USB or wall charger. Can be set separately)
 +
* Touchstone Orientation
 +
* GPS Location
 +
* Battery Level
 +
* Bluetooth (by Profile or Device Name)
 +
* Application Focus
 +
* Calendar Event
 +
* Headset Connection
 +
* Wifi SSID
 +
* Silent Switch
 +
* Display state
 
</blockquote>
 
</blockquote>
  

Revision as of 16:18, 24 August 2010

« Go Back to the Utilities application list
Modeswitcher001.png

Mode Switcher (beta) - Version: 1.0.4
(August 23th, 2010)

developed by sconix

What is Mode Switcher?

Icon Mode-Switcher.png

Mode Switcher brings profile support to webOS in the form of "modes" that can control nearly every available setting on the Palm Pre/Pixi. Currently, MS can control:

  • Wallpaper
  • IM status
  • All Volume Controls
  • All Ringtones
  • Display (brightness, timeout, LED/banner notifications)
  • Touchstone Screen On/Off
  • All Radios (Wifi/Bluetooth/GPS/Data/Phone)
  • Open/Close Applications
  • Network Type
  • Roaming (Forced, Automatic)
  • E-Mail

These modes can be activated manually, or triggered automatically by a number of different methods:

  • Time of Day
  • Charger (touchstone, USB or wall charger. Can be set separately)
  • Touchstone Orientation
  • GPS Location
  • Battery Level
  • Bluetooth (by Profile or Device Name)
  • Application Focus
  • Calendar Event
  • Headset Connection
  • Wifi SSID
  • Silent Switch
  • Display state


How to Install Mode Switcher

Overview

Stable Releases
The stable releases of Mode Switcher can be found in the WebOS-Internals Feed and are recommended for general public use.

Testing Releases
The testing releases of Mode Switcher can be found in the WebOS-Internals Testing Feed.

Due to the testing releases of Mode Switcher being in the WebOS-Internals Testing Feed, please take a few mintues to read over, understand and agree to the WebOS-Internals Testing Feed Rules before continuing. The testing releases of Mode Switcher are recommended only for those that wish to test out the latest and greatest features before they are implemented into the stable releases.

Corresponding/Related Patches
There are two patches that extend Mode Switcher's functionality.

  • Launch Mode Switcher on Luna Boot (Pre/Pre+ Only)
  • System Menu Mode Menu

These patches are found in the WebOS-Internals Patch Feed. Neither patch is required for Mode Switcher to function. For more information on how these patches extend the functionality of Mode Switcher, please see the Mode Switcher Manual.

The following steps will guide you through installing Mode Switcher with Preware.
(These steps assume your Preware Preferences Main Scene option is set to "No".)


Installation via Preware

Stable Releases
  1. Open Preware
  2. Tap Available Packages
  3. Tap Application > System Utilities > Mode Switcher
  4. Tap the Install button
  5. Tap the Ok button to restart Luna

Or

  1. At the main Preware screen, start a search for Mode Switcher by typing in "mode switcher" (without the parenthesis), then press enter.
  2. Tap Mode Switcher from the list
  3. Tap the Install button
  4. Tap the Ok button to restart Luna


Testing Releases

Adding the WebOS-Internals Testing Feeds

  1. Open Preware
  2. From the App Menu, tap Manage Feeds
  3. Scroll past the Installed section until you see the New Feed section
  4. In the Name field, TYPE *what ever name you want to call the feed* (ie. webos-internals-testing)
  5. In the URL field, TYPE http://ipkg.preware.org/feeds/webos-internals/testing/all
  6. The "IS COMPRESSED" option should be set to YES
  7. Tap the Add Feed button
  8. Tap Ok at the Custom Feed alert message
  9. Gesture swipe back to go back to the main Preware screen
  10. Tap the Do It Now button at the alert message to update the package list

After adding the testing feed, follow the same steps under the stable releases section for installing.


Corresponding/Related Patches

Launch Mode Switcher on Luna Boot patch (Pre/Pre+ Only)

  1. Open Preware
  2. Tap Available Packages
  3. Tap Patch > Misc > Launch Mode Switcher on Luna Boot
  4. Tap the Install button
  5. Tap the Ok button to restart Luna


System Menu Mode Menu patch

  1. Open Preware
  2. Tap Available Packages
  3. Tap Patch > Top Bar > System Menu Mode Menu
  4. Tap the Install button
  5. Tap the Install / Update It button (This will install the "System Menu Mode Menu" patch and the dependent/required "System Menu Initial Framework" patch.)
  6. Tap the Ok button to restart Luna

Or

  1. At the main Preware screen, start a search for each patch by name, then press enter.
  2. Tap the corresponding patch from the list
  3. Tap the Install button
  4. Tap the Ok button to restart Luna


Troubleshooting (FAQ)

Q: I’m getting this error when I try to install Mode Switcher: “1 of 1 hunk failed -- saving rejects to file etc/palm/luna.conf.rej”
A: The patch “Launch Brightness Unlinked on Luna Boot” conflicts with the "Launch Mode Switcher on Luna Boot" patch and must be removed.



Q: I installed Mode Switcher, but when I tap the launcher icon nothing happens.
A: You must perform a Luna Restart after installing/updating Mode Switcher.



Q: Can I close / get rid of the Mode Switcher dashboard icon?
A: If you are on a Pixi/Pixi+, then no, the dashboard scene needs to be active for Mode Switcher to function. For the Pre/Pre+, install the Launch Mode Switcher on Luna Boot patch to get rid of the dashboard.


Resources

Official Forum

Usage Manual

Donation to Developer

  • Please see the official PreCentral Forum thread opening post for the donation link.


Status

Current Release

1.0.0 - (Released Aug 23th, 2010)

Changelog
  • Fixed govnah support
  • Added translation support
  • Fixed the map showing up empty in the first opening
  • Added radius displaying to the map interface
  • Tweaked the GPS trigger once more to be bit better
Known Issues
  • See also next release info below since it should fix all known issues
  • Phone call and other system tasks may interrupt or prevent mode change
  • Launcher popup is not updated if another trigger happens while visible
  • Requesting mode change while processing previous change might cause unexpected behavior

Next Release

Future Releases

  • Add extension for filemanager service for renaming dirs
  • Individual mode triggers locking
  • Per account ringtone settings
  • Add per account IM configuration when WebOS/messaging plugin patches allow this
  • Add special triggers like: Im status trigger / signal strength trigger / etc.
  • Script for save/restore application

Past Releases

0.9.100 (beta)

  • Fixed GPS trigger closing for modifier modes
  • Fixed Web app configuration not saving
  • Fixed airplane settings causing network search even when no change in airplane mode
  • Fixes mode menu to update the status after network search
  • Fixed loop failsafe and couple unwanted causes for mode loops
  • Fixes grouped triggers

0.9.99 (beta)

  • Fixed problem when multiple trigger of same type set
  • Optimized triggers a lot (no triggering if no need)
  • Added not in location option for GPS trigger
  • Added dashboard state experiment
  • Added map UI for location selection
  • Added time interval trigger
  • Added screen state trigger
  • Added Require Mode action to the MS app configuration
  • Changed the app adding UI to promote MS app
  • Changed the help web page to be a scene
  • Changed the settings view buttons to have separate ones for add/remove all
  • Changed the pin/pw entering into more secure one
  • Fixed situation where starting of modifier modes failed
  • Added more controls for MS app (when started, when closed)
  • Added exporting / importing of modes to google docs
  • Fixed typo left in GPS trigger that prevented it from working
  • Fixed for application trigger not sending closing event on all situations
  • Fixed for charger & wireless delay setting not used in all situations
  • Fixed calendar trigger failing on events missing some required fields
  • Possibility to have grouped triggers

0.9.40 (beta)

  • Fixed GPS trigger
  • Fixed headset trigger
  • Fixes to per-account email configuration
  • Block will block only starting of modes
  • MS app configuring has option to disable all triggers
  • Calendar trigger also checks location field now
  • Fixed the edit mode action not opening the configuration of the mode
  • Fixes for headset trigger
  • Fixed bug with trigger closing and starting modifier modes at the same time not working
  • Mode Menu: has + sign after name when active modifiers
  • Mode Menu: calls trigger all modes after lock is disabled

0.9.39 (beta)

  • Fixed application trigger not closing on modifier modes
  • Added headset/headset_mic profile selection for headset trigger
  • Only changed setting groups are applied on mode update
  • Fixed bug concerning use banner option
  • Fixed bug that prevented MS to start when default mode configuration was lost
  • Added any mode option for trigger/start/close actions in MS app configuration
  • Fixed charger/wifi trigger delay option not working with modifier modes
  • Fixed bug in application closing when close all set
  • Fixed small problem in calendar event trigger not closing on some situations
  • Added calendar selection into the calendar event trigger
  • Possibility to start govnah application card
  • Changed wifi ssid and calendar event match word to be case insensitive
  • Empty string matching for calendar trigger (mathces every event)
  • Added negative matching option for calendar trigger
  • App list filtering (no mode/contacts launchpoints)
  • Added per account configuration possibility for email alert/ringtone/sync

0.9.38 (beta)

  • Added calendar event trigger
  • Added silent switch trigger
  • Added application trigger
  • Added headset trigger
  • Added device support into bluetooth trigger
  • Added application support for modifier modes
  • Added handling of failed extension loading on startup
  • Added on mode switch option for MS app configuration
  • Added support for services in application list
  • Hide options in extension config that are not relevant
  • Fixed configuration dropping when extension loading fails
  • Fixed launchpoint mode launching so that icon does not stay glowing
  • Fixed bluetooth trigger so that it works when multiple devices connected
  • Fixed govnah support
  • Fixed MS app handling to be efficient and safe
  • Fixed dropped subscription service requests
  • Fixed security setting so that it works in every situation
  • Fixed BT profile trigger (latest feature release broke it)
  • Fixed screen off feature for every situation
  • Fixed web launchpoint (bookmark) launching
  • Fixed voice roaming setting

0.9.36 (beta)

  • Fixing of the MS startup popup bug.
  • Clean up all the extensions.
  • Add request retry for all service request.
  • Add setting group for calendar alert and ringtone.
  • Bring back the govnah support (properly this time).
  • Reduce the amount of needed system request for configuration changes.
  • Show Use Default / Do Not Set as a first option depending on mode type.
  • Fixes to bluetooth profile trigger.
  • New mode menu patch with posibility to start default mode directly and to remove the airplane mode which can now be done through MS if wanted to show up in the menu. Also add support for upcoming submodes. Possibility to open mode edit directly from the menu. Also add a way to select which modes are shown in the menu.
  • Add new blocking options for blocking only modifier/normal modes.
  • Add triggered start mode for MS app configuration.
  • Remove the chaining of modes and add starting of previous active mode to the MS app configuration for advanced usage.
  • Add settings group for screen lock control.
  • More info in modes list (mode type with name).
  • Add support for launch parameter for entering mode editing.
  • Add support for temporary lock mode (disable triggers) from mode menu.
  • Delay option for starting apps.
  • Add notifications when locked setting.
  • Add email sound/ringtone/sync settings.
  • Changed the mode starting in a way that mode is marked done when settings have been applied (before the apps are started).
  • Add a way to set do not set for slider based configs and for wallpaper/ringtone to go back to do not set.
  • Add quick way to set minimum/maximum value for sliders.
  • Introduce new mode type (modifier mode).
  • Orientation option for touchstone charger trigger.

0.9.29 (beta)

  • Possible fix for voice roaming configuration.
  • Added connection checks for all network operations.
  • App configuration for MS itself to allow advanced usage.
  • Removed govnah support for now.
  • Fixed WiFi trigger (delay option still untested).
  • Made it possible to leave single settings untouched.
  • Hopefully fixed default mode startup option.
  • Configuration resetting (hopefully for the last time) and fixes..

0.9.25/26/27 (beta)

  • Minor bug fixes.

0.9.24 (beta)

  • Fixed one bug concerning the restart of MS in memory low situation.
  • Added chaining of modes (i.e. now modes closes in the order they were started hence default mode is only started when no earlier modes are valid).

0.9.23 (beta)

  • Support for blink notification setting.
  • Added more screen turn off times.
  • Fix for the startup procedure so its not that annoying when MS is restarted on low memory.
  • WiFi trigger (simple SSID based activation).
  • Fix for screen turn off / always on setting not working on certain situations.