Created
November 5, 2013 17:23
-
-
Save cirocosta/7322696 to your computer and use it in GitHub Desktop.
Processa Mensagem
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
private void processaMensagem(Bundle extras){ | |
if(extras.containsKey("message"){ | |
String message = extras.getString("message"); | |
sendNotification(message); | |
} | |
if(extras.containsKey("update"){ | |
extras.getString("update"); | |
SyncManager sync = new SyncManager(getApplicationContext()); | |
sync.getUpdate(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment