Pebble Developer Blog
A Wristed Development
A Wild SDK Appears
Developers rejoice - we’ve released the first version of our SDK 4 developer preview! This SDK enables you to start building applications for the new Diorite platform (Pebble 2), and includes a set of new APIs for interacting with the 4.0 user experience.
In this blog post we’ll dive into the App Glance,
UnobstructedArea
, and
AppExitReason
APIs, and explain
how you can use them to create great experiences for your users!
Introducing Pebble Packages
I am thrilled to announce that, as part of SDK 3.13 and Pebble Tool 4.3, we have launched our own packaging system: Pebble Packages!
Pebble.js Support for Chalk!
After many morning coding sessions on the weekends, Pebble.js has been updated to support the Chalk platform (Pebble Time Round). This update is available in CloudPebble, and ready for you to work with right in your browser with no setup!
Supporting Chalk required a ton of bug crushing to become compatible with the new 3.0 style status bar, changes to accommodate reduced memory on the 3.x Aplite platform, adding new features such as text flow and paging, and making it easier to target multiple platforms by adding a feature detection API.
Take the Pebble Health API in your Stride
I've been desperate to write a blog post about the Pebble HealthService API since it's initial release last month, and now I can finally share its awesomeness with you. I'm also going to show you how you can use this exciting new API to build an ultra-cool clone of the Stride watchface by Pebble.
Introducing App Debugging
Happy leap day! Today is a once-every-four-years day of bizarre date-related bugs, and thus an opportune moment for us to introduce our latest developer feature: app debugging in the emulator! This gives you a powerful new way to hunt down errors in your apps.
JavaScript Libraries for C Developers (pt. 1)
One of the exciting changes introduced in SDK 3.9 was support for including Multiple JavaScript Files to your projects. While this feature doesn’t allow you to run any JavaScript you previously couldn’t, it makes organizing your PebbleKit JS code a heck of a lot easier.
In this blog post, we'll look at how to refactor some exisiting JavaScript 'library code' into an actual module for PebbleKit JS, making it simpler to use and share!
Multiple JavaScript Files
In SDK 3.9 we will introduce a new feature to the Pebble SDK: the ability to cleanly use multiple JavaScript files in the PebbleKit JS app portion of your project.
Bringing the Family Back Together - 3.x on Aplite is Almost Here!
The time has almost come for Pebble Classic and Pebble Steel to get firmware 3.x!
This is great news for users who get access to all the improvements and fixes since 2.x, as well as new features such as timeline, Quiet Time, no more eight app limit, Standby Mode, and last but not least one new color (gray)!
But let us not forget about Basalt and Chalk app developers, who also have a lot to get excited about - a huge new user base of Aplite watch wearers!
This blog post aims to help developers using SDK 2.x features and APIs to migrate their apps to a single 3.x codebase. As well as bringing compatibility to all older watches when they upgrade to firmware 3.x, these changes will also serve to remove a lot of complex and ugly conditional code that has needed to exist in the meantime. Let's fix some apps!