The Pebble SDK is a software development kit for the Pebble smartwatch and the Pebble App Store. It is generally installed on a computer and includes all of the libraries available to developers for Pebble.
Questions tagged [pebble-sdk]
230 questions
0
votes
1 answer
Possible to pass parameters when starting a watch app?
I have been trying to develop a watch app and I am facing some problems with AppMessage. When I start an app on the watch and send message immediately, the message fails to deliver. I expect this is because the app needs to initialize and register…

binW
- 13,220
- 11
- 56
- 69
0
votes
2 answers
Image element 'clear' backgroundColor doesn't work
After successfully being able to add an image to a Window object with the help of How to add an image to a window in Pebble.js?, I tried adding the image to a white background. The image is a png so it's transparent, but the background shows up as…

HM23MD
- 105
- 14
0
votes
1 answer
AppMessage from Android doesnt seem to reach the Pebble watch app
I am making a pebble watch app which downloads an image using netdownload.c from pebble-faces. Because netdownload.c registers appmessage handlers in initialization routine and I never call de-init, I thought that any message that I send from my…

binW
- 13,220
- 11
- 56
- 69
0
votes
1 answer
Pebble C, Getting Char at Specified Position
It's been a while since I last programmed using C, but it seems I'm confused with pointers and strings. I'm writing a Pebble watch face and I need to separate the digits for the minutes into the ones digit and the tens digit and put them into their…

Devmonster
- 699
- 1
- 10
- 28
0
votes
1 answer
How to disable/hide action bar button icons in a pebble watch
i am currently developing a pebble application for my ios app which has three media buttons on a action bar.
Now in certain scenarios i have to disable or hide fastfarward/previous(<>) buttons, So that they are not visible to user. Could some one…

ravoorinandan
- 783
- 2
- 10
- 26
0
votes
1 answer
importing PebbleKit in Xcode 6 for use in swift
I'm trying to develop a Pebble companion app in Xcode 6 using swift.
I've followed the instructions so far as could be followed from the pebble development site
Pod seems to install and link PebbleKit without any errors, but when I type the "import…

BenG
- 1
- 1
0
votes
1 answer
How do I build a Pebble.js project from the command line tools?
I created a new Pebble.js project in the CloudPebble editor, and I can successfully build it and push it to my watch from there. The problem arises when I try and build/install it from the command line, with the pebble build command returning…

moberemk
- 1,597
- 1
- 18
- 39
0
votes
2 answers
Lisent to bluetooth activity in pebble-js-sdk
I know to listen on bluetooth connection/disconnection activities using the Pebble C SDK.
How to achieve the same using the javascript SDK ?
Thanks

Abhishek Kannan
- 988
- 8
- 16
0
votes
1 answer
AppSync Pebble: I get wrong values
I am programming a Pebble Watchface and a Android App for this watchface. I haven't programmed with C before, so this is a bit tricky for me. The Problem is, that I always get 0 as key in the callback.
On the Pebble Side it looks like this:
static…

Martin
- 155
- 1
- 8
0
votes
1 answer
Get current URL from PebbleKit Javascript
I need to know the current URL from PebbleKit Javascript, my code is like follows:
Pebble.addEventListener("ready",
function(e) {
console.log("JS Ready");
var req = new XMLHttpRequest();
req.open('GET', URL_MAIN,…

antonio
- 540
- 1
- 5
- 19
0
votes
1 answer
SimplyJS and xml : get value of a key
Good evening,
My Pebble Watch project has evolved and I'm now using an official external API to make HTTP requests to get values. My previous question was concerning JSON, now I'm getting the results in XML format.
Here is the XML I get when I call…

Frankynov
- 65
- 2
- 8
0
votes
2 answers
Access last JSON element with javascript
Good evening,
I'm facing a simple problem in JSON. I'm developping a smartwatch (Pebble) app which gets data from an API, which returns the following :
{
"name": "toto",
"count": 55,
"results": {
"collection1": [
{
…

Frankynov
- 65
- 2
- 8
0
votes
1 answer
Pebble Communication Issues [AppSync/AppMessage]
I'm currently attempting to use AppSync to sync a piece of data between an android app and a pebble app. However, I seem to not be able to get the pebble to realize that any data is being transferred - that is, no logs are being produced where they…

Vasu
- 1,090
- 3
- 18
- 35
0
votes
1 answer
pebble.js blank page when back is pressed
i wrote a pebble.js app, basically it shows a splash screen and a menu showing bus stops. when the user press select button on a menu item a "card" is showed with the arrival info.
however, sometimes menu items are not showed correctly (some menu…

Marco
- 61
- 1
- 8
0
votes
1 answer
Error arising when assigning window .load and .unload functions
I'm working on a multi-window application and on my second window, I call this init() function
static struct MessageUI {
Window *window;
MenuLayer *menu_layer;
} ui;
...
...
...
void messages_init(void) {
ui.window = window_create();
…

Dylan
- 697
- 1
- 9
- 27