Tuesday, August 6, 2013

eNotify Supports Pebble

eNotify:

eNotify is the swiss army knife of messaging notifications. eNotify provides private and secure direct local notification for incoming email and SMS messages.. Highly configurable, eNotify supports complex rules with custom alert sounds for different accounts, senders, subjects, recipient addresses, battery events, and cellular data events. Easily silence day-to-day background noise and stay aware of those important emails! Available on both Android and iOS


Pebble:

Pebble is the first watch built for the 21st century. It's infinitely customizable, with beautiful downloadable watchfaces and useful internet-connected apps. Pebble connects to iPhone and Android smartphones using Bluetooth, alerting you with a silent vibration to incoming calls, emails and messages. While designing Pebble, we strove to create a minimalist yet fashionable product that seamlessly blends into everyday life.

How does it work?

The notifications are sent from your Android device to the pebble wrist watch using the bluetooth protocol. eNotify contacts the pebble software running on your Android device to inform it that a notification needs to be sent. This is done via the standard Android intent mechanism as follows:

public static void showPebble(Context context, String sender, String subject) {
try {
final Intent i = new Intent("com.getpebble.action.SEND_NOTIFICATION");

final Map<String, String> data = new HashMap<String, String>();
data.put("title", sender);
data.put("body", subject);

final JSONObject jsonData = new JSONObject(data);
final String notificationData = new JSONArray().put(jsonData).toString();

i.putExtra("messageType", "PEBBLE_ALERT");
i.putExtra("sender", "eNotify");
i.putExtra("notificationData", notificationData);

context.sendBroadcast(i);
} catch (Exception e) {
EventLog.e(TAG, "Error Cannot send pebble alert: " + e.getMessage());
}
}

eNotfiy:
https://play.google.com/store/apps/details?id=com.hermes.enotifylite

eNotify Queries:
android_support @ verietassoftware.com

Glen Cook:
http://ewhizmobile.com/


No comments:

Post a Comment