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

Community

  • Events
    • Developer Retreat 2015
    • Developer Retreat 2014
  • Online Communities
  • Example Apps
    • Hello
    • Caltrain
    • HeroBoard
    • Multi Timer
    • Resistor Time
  • Tools
    • App Message Bridge
    • Appstore Badge Generator
    • GPath.svg
    • pBuild Travis CI Build Tool
    • Sublime Text Plugin
    • Watchface Generator
    • Watch Status
  • Libraries
    • Color Selector
    • Custom Status Bar for Pebble
    • EffectLayer
    • GBitmap Colour Palette Manipulator
    • Java Pebble Timeline
    • JS Message Queue
    • Pebble Timeline API for DotNet (C#)
    • Pebble API PHP
    • PebbleTimeline API Ruby
    • PHPebbleTimeline
    • PinPusher
    • pypebbleapi
    • Simple Dithering Library
    • T3 Keyboard
    • ToastLayer Library

Java Pebble Timeline

java-pebble-timeline

This is a Java library for the Pebble timeline API. Documentation for the full API can be found here.

Installation

Using maven:

<dependency>
    <groupId>nl.palolem</groupId>
    <artifactId>pebble-timeline</artifactId>
    <version>1.1</version>
</dependency>

Usage

Pin pin = new Pin.Builder().id("example-pin-generic-1")
                .time(new Date())
                .layout(new GenericPin.Builder()
                        .title("News at 6 o'clock")
                        .tinyIcon(Icon.NOTIFICATION_FLAG)
                        .build())
                .build();

Timeline.sendPin("my-token", pin);

See tests for more examples.

Created By:

Jeroen Idserda

View Library