Created
May 11, 2014 20:17
-
-
Save ngsmrk/7e83c7b6caf46d676c48 to your computer and use it in GitHub Desktop.
pebble_4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void in_received_handler(DictionaryIterator *iter, void *context) { | |
APP_LOG(APP_LOG_LEVEL_DEBUG, "App Message Received"); | |
Tuple *word_tuple = dict_find(iter, QUOTE_KEY_INIT); | |
strncpy(word, word_tuple->value->cstring, 100); | |
text_layer_set_text(text_layer, word); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment