2013-05-02 23:52:32 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-05-05 01:46:41 +02:00
|
|
|
android:layout_width="match_parent"
|
2013-05-02 23:52:32 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Framework commands"
|
|
|
|
/>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="WifiManager"
|
|
|
|
android:onClick="wifiManagerInfo"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="WifiInfo"
|
|
|
|
android:onClick="wifiInfo"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Networks"
|
|
|
|
android:onClick="wifiConfiguredNetworks"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="wpa_supplicant commands"
|
|
|
|
/>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-05 01:46:41 +02:00
|
|
|
android:text="wpa_supplicant commands"
|
|
|
|
android:onClick="runWpaCommands"
|
2013-05-02 23:52:32 +02:00
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2013-05-05 18:38:51 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Credentials"
|
|
|
|
android:onClick="runWpaCredentials"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2013-05-02 23:52:32 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="log:info"
|
|
|
|
android:onClick="wpaLogLevelInfo"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="log:debug"
|
|
|
|
android:onClick="wpaLogLevelDebug"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="log:excessive"
|
|
|
|
android:onClick="wpaLogLevelExcessive"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<EditText android:id="@+id/edit_cmd"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="wpa_cli command"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Run"
|
|
|
|
android:onClick="runWpaCliCmd"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-05 00:46:07 +02:00
|
|
|
android:text="Shell commands"
|
|
|
|
android:onClick="runCommands"
|
2013-05-02 23:52:32 +02:00
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2018-02-22 13:20:10 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="QR Scan"
|
|
|
|
android:onClick="runQrScan"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="QR Input"
|
|
|
|
android:onClick="runQrInput"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="QR Display"
|
|
|
|
android:onClick="runQrDisplay"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2013-05-04 17:50:48 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="NFC commands"
|
|
|
|
/>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="WPS handover request"
|
|
|
|
android:onClick="nfcWpsHandoverRequest"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2013-05-02 23:52:32 +02:00
|
|
|
</LinearLayout>
|