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
package com.onlocation.tracker; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.database.sqlite.*; | |
import java.util.ArrayList; | |
//Creates, opens and provides methods to manage a database | |
public class DatabaseManager { |
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
public class DataBaseHelper extends SQLiteOpenHelper{ | |
//The Android's default system path of your application database. | |
private static String DB_PATH = "/data/data/YOUR_PACKAGE/databases/"; | |
private static String DB_NAME = "myDBName"; | |
private SQLiteDatabase myDataBase; | |
private final Context myContext; |
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
package org.wordpress.android; | |
import android.annotation.SuppressLint; | |
import android.annotation.TargetApi; | |
import android.app.Activity; | |
import android.app.Application; | |
import android.content.ComponentCallbacks2; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="test.admob.com.admobempty"> | |
<!-- Include required permissions for Google Mobile Ads to run--> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | |
<application | |
android:allowBackup="true" |
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
Rank | Site | SNI | HTTP | DNS | |
---|---|---|---|---|---|
1 | google.com | open | open | open | |
2 | youtube.com | blocked | blocked | blocked | |
3 | facebook.com | blocked | blocked | blocked | |
4 | baidu.com | open | open | open | |
5 | yahoo.com | open | open | open | |
6 | amazon.com | open | open | open | |
7 | wikipedia.org | open | open | open | |
8 | qq.com | open | open | open | |
9 | google.co.in | open | open | open |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.bgstation0.android.sample.intent_" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="15" | |
android:targetSdkVersion="15" /> |
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
package com.example.httprequest; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.NameValuePair; | |
import org.apache.http.client.ClientProtocolException; | |
import org.apache.http.client.HttpClient; |
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
package com.tracker.mainecivichackers.tracker; | |
import android.os.AsyncTask; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.net.CookieHandler; | |
import java.net.CookieManager; | |
import java.net.CookiePolicy; |
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
WebView webView = (WebView)findViewById(R.id.webview); | |
String url = ""; | |
ProgressDialog dialog = new ProgressDialog(this); | |
webView.setWebChromeClient(new WebChromeClient(){ | |
@Override | |
public void onProgressChanged(WebView view, int newProgress) { | |
dialog.setMessage("Loading"); | |
dialog.show(); |
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
package com.creativtrendz.folio.notifications; | |
import android.annotation.SuppressLint; | |
import android.app.Notification; | |
import android.app.NotificationManager; | |
import android.app.PendingIntent; | |
import android.app.Service; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; |
OlderNewer