Created
September 24, 2012 20:29
-
-
Save Red-Folder/3778167 to your computer and use it in GitHub Desktop.
Phonegap Service Tutorial - Part 3 - TwitterService.java - doWork1
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
@Override | |
protected JSONObject doWork() { | |
if (newTweet()) | |
Log.d(TAG, "New Tweet - I'll need to send a notification"); | |
else | |
Log.d(TAG, "No new Tweets, back to sleep I go"); | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment