Network detection sample using TelephonyManager

Change-Id: Iaa5b66a2eda07fd9de4ea613209226dd4ee64abd

Conflicts:

	samples/ApiDemos/AndroidManifest.xml
This commit is contained in:
Anirudh Dewani
2011-06-22 17:56:30 +05:30
parent 320d10ef62
commit fea911d535
4 changed files with 254 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView android:id="@+id/phone_type"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView android:id="@+id/network_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView android:id="@+id/sim_state"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView android:id="@+id/network_type"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>