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
2 answers
Pebble sdk - installation and debugging issue in mac
I am learning about pebble watch development. So I started with the emulator and sdk installation to learn basic "hello world" program.
Following below link…

Hitesh
- 4,098
- 11
- 44
- 82
0
votes
2 answers
Pebble - Override ScrollLayer's select button callback function
I'm trying to implement a button action that displays text on my ScrollLayer when the Select button is pressed. I used:
scroll_layer_set_click_config_onto_window(scrollLayer, window);
to set the BUTTON_UP and BUTTON_DOWN callback functions…

Dylan
- 697
- 1
- 9
- 27
0
votes
1 answer
[Pebble]JS part on Android FileNotFound Exception
Any hint with the line itself? I cannot see the log because my firewall doesn't let me communicate with the device and y have to install the pbw.
I cannot understand why the path is duplicated un the FileNotFoundException either
this is my error log…

Kechis
- 5
- 3
0
votes
1 answer
AppMessage always fails with APP_MSG_SEND_TIMEOUT
I'm trying to send a simple message from my Pebble to a JS app, but it always fails with the error code APP_MSG_SEND_TIMEOUT. Sending a message from JS to the device, however, works like a charm. Here's my…

Shawn Walton
- 1,714
- 2
- 14
- 23
0
votes
1 answer
Setting text of a text layer seems to overwrite color.
I am working on making a Pebble watchface to display the data and time under the appropriate Linux terminal calls to get those times.
I have a nice mostly static copy working, but I am trying to add a typing animation to the face.
To do that I…

Vidia
- 471
- 5
- 17
0
votes
1 answer
Pebble: Android App to Pebble App
I am working on sending JSON from an android app in my phone to my pebble but I am unable to do so!
which layers should I used for it?

user3330557
- 59
- 6
0
votes
1 answer
Pebble: JavaScript Send Data from Server to Pebble
I am trying to parse data from an API to my pebble but I don't know how to proceed. Was browsing through pebble development and they say JavaScript is a good gateway and I can make HTTP requests but I don't know JS.
What do I need in my .c file and…

user3330557
- 59
- 6
0
votes
1 answer
Synchronize Text View with Pebble
Is it possible to synchronize a UITextView within an iPhone application with a text layer on my Pebble?
I just want to display a String on a Pebble watch.

MappleDev
- 453
- 1
- 6
- 11
0
votes
2 answers
Pebble C TupletCString compile error
I have an issue compiling my pebble watchapp. I am trying to send strings to the Pebbl eJS script on the phone lihe this:
Tuplet password_tuple = TupletCString(PASSWORD_KEY, password_str);
Tuplet email_tuple = TupletCString(EMAIL_KEY, email_str);…

med116
- 1,526
- 17
- 16
0
votes
1 answer
Display image on Pebble via AppMessage
I am trying to display a 128px * 128px image on Pebble, sent from Android over AppMessage.
In Android app, I have a BitmapFactory ARGB_8888 bmp, and I do:
byte pbi[] = new byte[16*128];
for(int i = 0; i < 128; i++) {
for(int j = 0; j <…

OJFord
- 10,522
- 8
- 64
- 98
0
votes
1 answer
Making sense of Pebble's Accelerometer byte[ ] array
I'm using DataLogging service to log the raw accelerometer reading from pebble and retrieve these as byte array on my android. Just not sure how to interpret it based on the AccelData struct (x, y, z, did_vibrate boolean, time stamp). Here is a byte…

jerrytouille
- 1,238
- 1
- 13
- 28
0
votes
1 answer
Pebble app not receiving String from phone
I'm creating a very simple pebble app.
Goal:
When I click on my Android app, for the Pebble app to display the message I'm sending from my Android app.
Issue:
Text does not change/display on the pebble.
Code
Pebble .c code:
#include…

Abushawish
- 1,466
- 3
- 20
- 35
0
votes
1 answer
JS Pebble Kit: parsing an integer value 2, is interpretted as 536999434 by the watchapp
I have the following code that I send messages to my pebble watchapp, from the js in the phone. this is with sdk2.
Pebble.sendAppMessage({note_id:json[count].note_id,
title:json[count].title,
text:json[count].text,
total_count: count
});
I can…

med116
- 1,526
- 17
- 16
0
votes
2 answers
How to get the version of a pebble app on the watch?
I want to provide the app version of my pebble app on its splashscreen. But how can i access it?
Is there a way to access information from the appinfo.json on the watch or in JS? I need at least the version string.

r-dent
- 685
- 8
- 22
0
votes
4 answers
Passing dereferenced pointer (ie. by value) to a function expecting a pointer
I was just curious - why does C allow you to pass dereferenced pointers when a function is expecting a pointer. Here's an example:
typedef struct {
char message[255];
} Bla;
// so he's the function that's expecting the pointer
void…

xil3
- 16,305
- 8
- 63
- 97