3.8 KiB
title | description | layout | permalink | search_index | platform_choice |
---|---|---|---|---|---|
Getting Started with SDK 4 | Details on all the new features and APIs available for use in SDK 4 | sdk/markdown | /sdk4/getting-started/ | true | true |
Pebble SDK 4 is now available for developers who are interested in using the new APIs and features. We encourage developers to read the Release Notes, the SDK 4 Docs, and the new guides listed below to help familiarize themselves with the new functionality.
Getting Started
{% platform local %}
Mac OS X (Homebrew)
$ brew update && brew upgrade pebble-sdk && pebble sdk install latest
Mac OS X (Manual)
-
Download the [SDK package]({{ site.links.pebble_tool_root }}pebble-sdk-{{ site.data.sdk.pebble_tool.version }}-mac.tar.bz2).
-
Follow the Mac manual installation instructions.
####Linux Linux users should install the SDK manually using the instructions below:
-
Download the relevant package: [Linux (32-bit)]({{ site.links.pebble_tool_root }}pebble-sdk-{{ site.data.sdk.pebble_tool.version }}-linux32.tar.bz2) | [Linux (64-bit)]({{ site.links.pebble_tool_root }}pebble-sdk-{{ site.data.sdk.pebble_tool.version }}-linux64.tar.bz2).
-
Install the SDK by following the manual installation instructions. {% endplatform %}
{% platform cloudpebble %} Launch CloudPebble {% endplatform %}
Blog Posts
We've published several useful blog posts regarding SDK 4:
New Resources
To get you started, we have updated the following sections of the Pebble Developer site with new content and information on designing and developing for the new Pebble hardware platform:
-
A 2-part Rocky.js tutorial - Learn how to create watchfaces in JavaScript using Rocky.js.
-
An updated Hardware Comparison chart - See the hardware differences between all Pebble platforms.
-
AppExitReason API Guide - A new guide with information on how to use the
AppExitReason
API. -
AppGlance C API Guide - A new guide describing how to use the AppGlance API to display information in the system's launcher.
-
AppGlance PebbleKit JS API Guide - A new guide describing how to use the AppGlance API to display information in the system's launcher.
-
One Click Action Guide - A new guide with information on how to use one-click actions in watchapps.
-
UnobstuctedArea API Guide - A new guide that will demonstrate the basics of the
UnobstructedArea
API, and how to use it to create watchfaces that respond to Timeline Quick View events.