How to Pebble with Windows and Visual Studio


Lets know little bit about how to manage to develop apps for the Pebble SmartWatch in Windows. The first thing we have to know is that there is no official SDK for Windows; after asking this question in the forums you’ll find out that the only supported environments are iOS and Android. Whit that said the single SDK is available for MacOS and Linux, I don’t know if nobody not told pebble people that also there are developers who create apps for these platforms under windows, as always > no problem.

The option to develop in Windows (or other platform) is possible thanks to CloudPebble. In this website you can find an IDE online that lets you create apps for Pebble and then deploy them to the watch. As any web IDE capabilities offered by us are basic, however are enough to create apps. Let us remember that we create apps in C, so proper management that we make our resources than an IDE with many options is most important.

While the Pebble community is not very friendly with Microsoft tools, that does not mean that we can’t use them to create our apps. Here you can see several entries in the Pebble Developers Forum talking about Pebble with WP integration, the use of Visual Studio, and other topics.

A development environment (IDE) is quite complex, and while CloudPebble is a very good option, however Visual Studio is the best IDE (sorry fan boys, etc. etc. etc., is matter of taste). So I’m going to show a series of steps that allow the basics of a Pebble project in Visual Studio.

Important: in this case, what I will do is starting a project with a created valid .c file in CloudPebble .

  1. Download the SDK for Pebble Linux from here. Yes, you read well, the SDK for Linux.
  2. Unzip it, for this example I use the location “E:\srcElBruno\Tests\Peeble\PebbleSDK-2.1.1\”. The important path is “E:\srcElBruno\Tests\Peeble\PebbleSDK-2.1.1\Pebble\” which is where you will find all the resources of compilatin of Pebble.
  3. In Visual Studio 2013, creating a Visual C++ project / Makefile Project.

Thanks & Regards
Azure Developer.
Source: channel9