Skip to content

Instantly share code, notes, and snippets.

@Red-Folder
Created September 24, 2012 19:55
Show Gist options
  • Save Red-Folder/3777973 to your computer and use it in GitHub Desktop.
Save Red-Folder/3777973 to your computer and use it in GitHub Desktop.
Phonegap Service Tutorial - Part 3 - TwitterService.java - import snippet
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.JSONObject;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import com.red_folder.phonegap.plugin.backgroundservice.BackgroundService;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment