Skip to content

Instantly share code, notes, and snippets.

View sachinrkeche's full-sized avatar

Sachin Keche sachinrkeche

View GitHub Profile
@sachinrkeche
sachinrkeche / AndroidManifest.xml
Last active February 5, 2016 10:06
Runtime Network Detection
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="connection.network.keche.sachin.runtimenetworkconnection">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<application
android:allowBackup="true"