I'm working in a generic blackboard app based on weather app from official examples. The idea is to have this app installed in pebble and receive messages from an iOS class that encapsulates all the code to open session and control AppMessages system, making it easy for all iOS developers to import it and send notifications to the watch.
Is anybody interested in such thing?
I've finished a proof of concept and now I will refactor the code and improve some things, and in a couple of days I'll publish source and binary code of blackboard watch app and source code from iOS. The basic idea is facilitate to iOS developers the process of sending text messages and vibration to the watch, without any compilation and developing with pebble code, a process a bit more complex.
Once installed blackboard into the watch, the class can put blackboard in the front, throw out, and display a text message and an icon selected from an icon set.
[iOS] Well, I've finished my proof of concept for iOS programmers.
I implemented a pebble app named "blackboard", derived from the code of Weather and the code of feature_app_message_send. You can install blackboard.pbw directly or compile from given source if you want.
Once installed, you could import Talk2Pebble.h and Talk2Pebble.m to your own iOS project and send and receive messages to / from your iPhone.
I also provide to you an iOS demo project called "BlackBoardDemo". If you are an iOS developer you can compile it to your phone and try all the pieces together. The advantage is that it's not necessary to install and compile the pebble Watch Face SDK if you don't want, a bit complex process, and you can concentrate in the iOS developing process.
You can download the code from: **please see next message**
This is a preliminary version, completely functional, but the community could improve it.
Blackboard is a system for pebble watch that acts as screen for messages sent from iOS, and allow sending signals to iOS when pushing buttons of the watch.
BlackBoard has 3 components:
* blackboard, an app for pebble watch (source & .pww)
* Talk2Pebble, a library to encapsulate communications with blackboard app (source)
* BlackBoard Demo, a proof of concept using Talk2Pebble (source)
To communicate your iOS app you only need:
1) Install blackboard in your pebble (I provide a built version if you don't want to compile sources)
2) Import Talk2Pebble into your project
3) Create an instance of the Talk2Pebble class, and start sending and receiving messages
What's new in v1.3
- Increased buffer to allow larger messages (up to 64 chars)
- Improved retrying system to avoid infinite recursion
Comments