pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

Guides

  • Table of Contents
  • App Resources
  • Appstore Publishing
  • Best Practices
  • Communication
  • Debugging
  • Design and Interaction
  • Events and Services
  • Graphics and Animations
  • Migrating Older Apps
  • Pebble Packages
  • Pebble Timeline
  • Rocky.js
  • Smartstraps
  • Tools and Resources
  • User Interfaces

Guides Table of Contents

1. App Resources

Information on the many kinds of files that can be used inside Pebble apps.

Animated Image - アニメーション画像

プロジェクトにAPNG形式のアニメーション画像リソースを追加し、アプリ内で表示する方法。

App Assets - アセット

Pebbleアプリのリソースとして使用するアセットのコレクション。

Converting SVG to PDC

InkscapeとIllustratorを使用して互換性のあるSVGファイルを作成する方法

Fonts - フォント

組み込みのシステムフォントの使用方法、またはプロジェクトに独自のフォントリソースを追加する方法。

Images - 画像

プロジェクトに画像リソースを追加し、アプリで表示する方法

Pebble Draw Command File Format - PDCファイルについて

Pebbleの描画コマンドフレーム、画像、およびシーケンスのバイナリファイル形式の詳細。

Platform-specific Resources - 特定のプラットフォーム向けリソースの設定

異なるプラットフォーム向けに異なるリソースを含める方法、および特定プラットフォームでのみリソースを含める方法。

Raw Data Files - 生データ追加とその利用

プロジェクトに生のデータリソースを追加し、アプリで読み込む方法。

System Fonts - システムフォント一覧

Pebbleプロジェクトで使用可能なすべてのシステムフォントの完全なリスト。

2. Appstore Publishing

How to get your app ready for going live in the Pebble appstore.

Preparing a Submission - 提出書類の準備

Pebbleアプリストアへのアプリ提出準備方法

Publishing an App - アプリの公開

Pebbleアプリストアにアプリをアップロードして公開する方法。

Appstore Analytics

How to view and use analytics about your app's usage.

Appstore Assets

A collection of downloads to help developers create and improve their appstore listings.

3. Best Practices

Information to help optimize apps and ensure a good user experience.

Building for Every Pebble

すべてのPebbleスマートウォッチに対応する単一アプリの作成方法

Conserving Battery Life - バッテリー寿命の節約

電力を可能な限り効率的に消費するアプリの作成方法。

Modular App Architecture

複雑なアプリケーションを管理しやすさ、モジュール性、再利用性を考慮して小さなパーツに分割する方法。

4. Communication

How to talk to the phone via PebbleKit with JavaScript and on Android or iOS.

Advanced Communication

より高度なシナリオにおけるコミュニケーションのコツとベストプラクティスの詳細。

Datalogging

データロギングAPIを使用したデータバッチの収集方法に関する情報。

PebbleKit Android

PebbleKit Androidを使用してAndroidのウォッチアプリと通信する方法

PebbleKit JS

PebbleKit JSを使用して接続されたスマートフォンのJavaScript環境と通信する方法

PebbleKit iOS (Discontinued)

PebbleKitを使用してiOSのウォッチアプリと通信する方法

Sending and Receiving Data

ウォッチアプリとスマートフォン間でデータを送信および受信する方法。

Sports API

PebbleKit Sports APIを使用してモバイルスポーツアプリをPebbleに統合する方法

5. Debugging

How to find and fix common compilation and runtime problems in apps.

Common Runtime Errors

コンパイル時に検出できず、通常は論理的思考と実験によって修正可能な、よく遭遇する実行時問題の例。

Common Syntax Errors

Pebble向けCアプリケーション開発時に遭遇する一般的な問題の詳細と、それらの解決方法。

Debugging with App Logs

How to use the app logs to debug problems with an app, as well as tips on interpreting common run time errors.

Debugging with GDB

How to use GDB to debug a Pebble app in the emulator.

6. Design and Interaction

Information on creating the best app user experiences and layout designs.

Benefits of Design Guidelines

Learn the main concepts of design guidelines, why they are needed, and how they can help developers.

Core Experience Design

How design guidelines shape the core Pebble app experience.

One Click Actions

Details about how to create One Click Action watchapps

Recommended Guidelines and Patterns

Pebble's recommended guidelines for creating awesome app experiences.

Round App Design

Tips and advice for designing apps that take advantage of the Pebble Time Round display

Example Implementations

Resources and code samples to implement common design and UI patterns.

7. Events and Services

How to get data from the onboard sensors and services including the accelerometer, compass, and microphone.

Accelerometer

How to use data and simple tap gestures from the onboard accelerometer.

Background Worker

Using the Background Worker to do work in the background, such as activity tracking.

Buttons

How to react to button presses in your app.

Compass

How to use data from the Compass API to determine direction.

Dictation

How to use the Dictation API to get voice-to-text input in watchapps.

Event Services

How to use the various asynchronous event services to power app features.

Heart Rate Monitor

Information on using the HealthService API to obtain information from the Heart Rate Monitor.

Pebble Health

Information on using the HealthService API to incorporate multiple types of health data into your apps.

Persistent Storage

Using persistent storage to improve your app's UX.

Wakeups

Using the Wakeup API to launch an app at some future time.

8. Graphics and Animations

Information on using animations and drawing shapes, text, and images, as well as more advanced techniques.

Animations

How to use Animations and Timers to add life to your app.

Drawing Primitives, Images and Text

How to draw primitive shapes, image, and text onto the Graphics Context.

Framebuffer Graphics

How to perform advanced drawing using direct framebuffer access.

Vector Graphics

How to draw simple images using vector images, instead of bitmaps.

9. Migrating Older Apps

Information useful for updating old code from older apps to use newer SDKs.

PebbleKit iOS 3.0 Migration Guide

How to migrate apps that use PebbleKit iOS to the 3.0 version.

SDK 2.x Migration Guide

Migrating Pebble apps from SDK 1.x to SDK 2.x.

SDK 3.x Migration Guide

Migrating Pebble apps from SDK 2.x to SDK 3.x.

SDK 3.x on Aplite Migration Guide

How to migrate apps that use SDK 2.x on Aplite to SDK 3.x

SDK 4.x Migration Guide

Migrating Pebble apps from SDK 3.x to SDK 4.x.

10. Pebble Packages

How to create and use Pebble Packages

Creating Pebble Packages

How to create Pebble Packages

Using Pebble Packages

How to use Pebble Packages

11. Pebble Timeline

How to use Pebble timeline to bring timely information to app users outside the app itself via web services.

Creating Pins

How to create timeline pins with reminders, actions, and layouts.

Libraries for Pushing Pins

A list of libraries available for interacting with the Pebble timeline.

Managing Subscriptions

How to integrate the timeline into apps with the PebbleKit JS subscriptions API according to user preferences.

Public Web API

How to push Pebble timeline data to an app's users using the public web API.

Service Architecture

Find out what the timeline is, how it works and how developers can take advantage of it in their apps.

12. Rocky.js

Information on creating apps with JavaScript using Rocky.js

Rocky.js Overview

Details of Rocky.js projects, available APIs, limitations, and how to get started.

13. Smartstraps

Information on creating and talking to smartstraps.

Hardware Specification

Details of how to build smartstrap hardware, including 3D printing instructions and electrical characteristics.

Protocol Specification

Reference information on the Pebble smartstrap protocol.

Talking To Pebble

Information on how to implement the smartstrap protocol to talk to the Pebble accessory port.

Talking To Smartstraps

Information on how to use the Pebble C API to talk to a connected smartstrap.

14. Tools and Resources

Information on all the software tools available when writing Pebble apps, as well as other resources.

App Metadata

Details of the metadata that describes the app, such as its name, resources and capabilities.

Color Picker Tool

Preview all the colors available on Pebble with the associated SDK contants and HTML codes.

Command Line Tool

How to use the Pebble command line tool to build, debug, and emulate apps.

Developer Connection

How to enable and use the Pebble Developer Connection to install and debug apps directly from a computer.

Getting Started with Pebble Time Round

Details on all the new features and APIs available for the Chalk platfom, or Pebble Time Round.

Hardware Information

Details of the the capabilities of the various Pebble hardware platforms.

Internationalization

How to localize an app to multiple languages.

15. User Interfaces

How to build effective user interfaces. Includes information on events, persistent storage, background worker, wakeups and app configuration.

App Configuration

How to allow users to customize an app with a configuration page.

App Exit Reason

Details on how to use the AppExitReason API

AppGlance C API

How to programatically update an app's app glance.

AppGlance REST API

How to update an app's app glance using the REST API.

AppGlance in PebbleKit JS

How to update an app's glance using PebbleKit JS.

Content Size

Details on how to use the ContentSize API to adapt your watchface layout based on user text size preferences.

Layers

How to use standard Layer components to build an app's UI.

Round App UI

Details on how to use the Pebble SDK to create layouts specifically for round displays.

Unobstructed Area

Details on how to use the UnobstructedArea API to adapt your watchface layout when the screen is partially obstructed by a system overlay.

Overview

  • App Resources
  • Appstore Publishing
  • Best Practices
  • Communication
  • Debugging
  • Design and Interaction
  • Events and Services
  • Graphics and Animations
  • Migrating Older Apps
  • Pebble Packages
  • Pebble Timeline
  • Rocky.js
  • Smartstraps
  • Tools and Resources
  • User Interfaces