Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am zulak on github.
* I am zulak (https://keybase.io/zulak) on keybase.
* I have a public key whose fingerprint is 5781 DA48 132E 4F04 7044 41B2 6DDD 80B7 A473 923E
To claim this, I am signing this object:
@zulak
zulak / PebbleIntentsActivity.java
Created March 14, 2013 22:21
Sample code demonstrating how to use some of the intents supported by Pebble's Android app.
package com.getpebble.example;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
#ifndef DEBUG_H
#define DEBUG_H
#ifdef DEBUG
FILE *dbgFile;
#endif
#ifdef DEBUG
#define debug(...) (fprintf(dbgFile, __VA_ARGS__))
#else