Mojo SDK & webOS Doctor Get Upgraded To 1.3.5, Too

Pray For MojoIt's all in the headline, baby: both Palm's Mojo SDK and oh-so-useful webOS Doctor repair tool (for Sprint users, at least) have now been upgraded to the latest webOS version 1.3.5. What's new in the SDK? Here, have some bullet points:

  • Apps are now installed on the media partition, allowing available space to be used for apps
  • The emulator enables keyboard shortcuts to simulate device orientation changes and shake events
  • Palm has released an API to request high-frequency accelerometer events
  • Numerous developer-reported issues have been addressed

Point 3 is especially interesting, given that one of the bigger complaints about webOS development was the low frequency of accelerometer polling, essential for some high-performance apps. Full release notes for the SDK after the break. Or are they? Much like Schrodinger's famous feline, you'll only know once you look inside the box...

Palm Mojo SDK v1.3.5 - Build 368

Highlights

  • Apps now installed on the media partition, allowing available space to be used for apps
  • Emulator: keyboard shortcuts to simulate device orientation changes and shake events
  • API to request high-frequency accelerometer events
  • Numerous developer-reported issues addressed (details below)

Current Versions

  • All operating systems - Palm Mojo SDK v1.3.5 Build 368

Tools

  • Emulator ROM updated to webOS 1.3.5
  • Emulator now simulates orientation and shake events via function keys:
    • F5: Simulate shaking
    • F6: Simulate "up" (12:00 or normal) orientation
    • F7: Simulate "down" (6:00) orientation
    • F8: Simulate "right" (3:00) orientation
    • F9: Simulate "left" (9:00) orientation

Mojo Framework

  • Updated Framework to revision 200.72

APIs

  • StageController.setWindowProperties() method now supports the fastAccelerometer property to increase the frequency of acclerometer events from 4Hz to 30Hz

Documentation

  • Mojo.Controller.StageController.setWindowProperties() documentation updated

Key Fixes & Enhancements

  • Apps now installed on the media partition, allowing available space to be used for apps
    • If your app uses a hard-coded path to the app directory for any purpose, you will need to update it
    • You should use Mojo.appPath to compose paths to resources within your app directory, rather than hard-coding paths
  • Fixed a bug that was causing playback of some audio files to be clipped at the end
  • Upgraded sqlite to version 3.6.20 to address certain reproducible crashes in sqlite
  • Updated the app sandbox file-access whitelist: apps can again display contact photos returned by the People Picker widget
  • Fixed an issue affecting the ImageView widget: the widget can again display local images regardless of whether the ???noextractfs??? parameter is set to true
  • Additional garbage-collection performance tuning
  • Added option to palm-log to control the system logging level on device. By default, release builds running on a production device will only log errors. If you also wish to see warnings and info messages, you can now change the logging level with the palm-log command, as follows:

    $ palm-log-level --system-log-level

    Set to either error, warning, or info. Note that logging levels are progressive, that is "info" will show info, warnings and errors, "warning" will display warnings and errors, and "error" will only display errors.
  • Launching Palm Emulator will now display an error message if an unsupported version of VirtualBox is installed. Currently the supported versions are 3.0.0 to 3.0.12. Note: If you installed VirtualBox 3.1 and then downgraded to 3.0, you will need to delete your VirtualBox directory (~/Library/VirtualBox on Mac, ~/.VirtualBox on Linux, etc) as the VirtualBox metadata has changed between versions.
  • Fixed an issue where launching Palm Emulator with "palm-emulator -- start " would require escaping spaces in the image name. This is no longer required although quotes are still needed around the name.

Known Issues

Leave a comment...

Post a New CommentClick on the Start New Comment button below to begin a discussion.

You must be registered and logged in to add comments.

Start a new Comment

Account

Register Register | Login Log in
user:
pass: