update && del file
|
@ -7,7 +7,6 @@ src = Split('''
|
||||||
os/rtthread_service.c
|
os/rtthread_service.c
|
||||||
realtek/8711b/rtl8710b_startup.c
|
realtek/8711b/rtl8710b_startup.c
|
||||||
realtek/8711b/app_start.c
|
realtek/8711b/app_start.c
|
||||||
realtek/8711b/mbed/serial_api.c
|
|
||||||
realtek/common/wifi/wifi_conf.c
|
realtek/common/wifi/wifi_conf.c
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ static rt_uint8_t main_stack[RT_MAIN_THREAD_STACK_SIZE];
|
||||||
struct rt_thread main_thread;
|
struct rt_thread main_thread;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int amebaz_wifi_start(void);
|
||||||
|
|
||||||
/* the system main thread */
|
/* the system main thread */
|
||||||
void main_thread_entry(void *parameter)
|
void main_thread_entry(void *parameter)
|
||||||
{
|
{
|
||||||
|
@ -34,6 +36,9 @@ void main_thread_entry(void *parameter)
|
||||||
rt_components_init();
|
rt_components_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if(amebaz_wifi_start() != RT_EOK)
|
||||||
|
rt_kprintf("amebaz_wifi_start failed...\n");
|
||||||
|
|
||||||
/* invoke system main function */
|
/* invoke system main function */
|
||||||
#if defined (__CC_ARM)
|
#if defined (__CC_ARM)
|
||||||
$Super$$main(); /* for ARMCC. */
|
$Super$$main(); /* for ARMCC. */
|
||||||
|
|
|
@ -1825,6 +1825,10 @@ void wifi_autoreconnect_hdl(rtw_security_t security_type,
|
||||||
param.password_len = password_len;
|
param.password_len = password_len;
|
||||||
param.key_id = key_id;
|
param.key_id = key_id;
|
||||||
// xTaskCreate(wifi_autoreconnect_thread, (const char *)"wifi_autoreconnect", 512, ¶m, tskIDLE_PRIORITY + 1, NULL);
|
// xTaskCreate(wifi_autoreconnect_thread, (const char *)"wifi_autoreconnect", 512, ¶m, tskIDLE_PRIORITY + 1, NULL);
|
||||||
|
|
||||||
|
// rt_thread_t tid = rt_thread_create("autoconn", wifi_autoreconnect_thread, ¶m, 2048, RT_THREAD_PRIORITY_MAX - 2, 20);
|
||||||
|
// if(tid != RT_NULL)
|
||||||
|
// rt_thread_startup(tid);
|
||||||
}
|
}
|
||||||
|
|
||||||
int wifi_config_autoreconnect(__u8 mode, __u8 retry_times, __u16 timeout)
|
int wifi_config_autoreconnect(__u8 mode, __u8 retry_times, __u16 timeout)
|
||||||
|
|
|
@ -21,6 +21,7 @@ targets/hal/rtl8711b/pinmap_common.c
|
||||||
targets/hal/rtl8711b/port_api.c
|
targets/hal/rtl8711b/port_api.c
|
||||||
targets/hal/rtl8711b/pwmout_api.c
|
targets/hal/rtl8711b/pwmout_api.c
|
||||||
targets/hal/rtl8711b/rtc_api.c
|
targets/hal/rtl8711b/rtc_api.c
|
||||||
|
targets/hal/rtl8711b/serial_api.c
|
||||||
targets/hal/rtl8711b/sleep.c
|
targets/hal/rtl8711b/sleep.c
|
||||||
targets/hal/rtl8711b/spi_api.c
|
targets/hal/rtl8711b/spi_api.c
|
||||||
targets/hal/rtl8711b/sys_api.c
|
targets/hal/rtl8711b/sys_api.c
|
||||||
|
|
|
@ -1,64 +0,0 @@
|
||||||
ChangeLog
|
|
||||||
----------------------------------------------------------------
|
|
||||||
2016/10/06
|
|
||||||
-Refined soft AP SSID
|
|
||||||
|
|
||||||
2016/08/30
|
|
||||||
-Refined security with soft AP
|
|
||||||
|
|
||||||
2016/08/10
|
|
||||||
-Refined simple config flow with soft AP
|
|
||||||
|
|
||||||
2016/05/23
|
|
||||||
-Refined simple config flow with PIN code
|
|
||||||
|
|
||||||
2016/05/03
|
|
||||||
-Refined simple config flow
|
|
||||||
|
|
||||||
2016/02/22
|
|
||||||
- Support multiple device
|
|
||||||
- Scan flow refined after configuration
|
|
||||||
|
|
||||||
2016/01/21
|
|
||||||
- Connection issue fixed when AP is hidden SSID
|
|
||||||
|
|
||||||
2016/01/10
|
|
||||||
- Fixed ssid is empty when AP is hidden SSID
|
|
||||||
|
|
||||||
2015/11/11
|
|
||||||
- Refined wifi connection
|
|
||||||
|
|
||||||
2015/09/25
|
|
||||||
- Refined SimpleConfig ap list and wifi connection
|
|
||||||
|
|
||||||
2015/08/15
|
|
||||||
- Refined simple config
|
|
||||||
|
|
||||||
2015/07/23
|
|
||||||
- device type : 0xff00~0xffff for customer
|
|
||||||
|
|
||||||
2015/04/22
|
|
||||||
- Show one AP of the same SSID multiple APs on AP List by site survey
|
|
||||||
|
|
||||||
2015/02/11
|
|
||||||
- Bug fixed: Reconnection WiFi AP issue.
|
|
||||||
- Bug fixed: Type transformation for Encryption WiFi profile.
|
|
||||||
- Re-fine time interval(ms) between sending two packets
|
|
||||||
|
|
||||||
2014/10/20
|
|
||||||
- Re-fine configure flow when DUT receives first UDP packet.
|
|
||||||
|
|
||||||
2014/10/01
|
|
||||||
- Refined if the profile length>127, configure will fail issue.
|
|
||||||
|
|
||||||
2014/08/13
|
|
||||||
- Add Hidden SSID Support
|
|
||||||
|
|
||||||
2014/08/04
|
|
||||||
- Re-fine configure flow
|
|
||||||
- Re-fine control flow
|
|
||||||
- Re-fine discovery flow
|
|
||||||
- Add descriptions of the delay about sending packet
|
|
||||||
|
|
||||||
2014/06/19
|
|
||||||
- Initial Release
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="src" path="gen"/>
|
|
||||||
<classpathentry kind="output" path="bin/classes"/>
|
|
||||||
</classpath>
|
|
|
@ -1,33 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>SimpleConfigWizard_R3</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,4 +0,0 @@
|
||||||
eclipse.preferences.version=1
|
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
|
||||||
org.eclipse.jdt.core.compiler.source=1.6
|
|
|
@ -1,81 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.rtk.simpleconfig_wizard"
|
|
||||||
android:versionCode="1"
|
|
||||||
android:versionName="3.0.3.20170222"
|
|
||||||
android:installLocation="auto">
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="8"
|
|
||||||
android:targetSdkVersion="19" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- wifi usage -->
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" ></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.READ_SMS"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
|
|
||||||
|
|
||||||
<!-- Camera usage -->
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
|
||||||
<uses-permission android:name="android.permission.FLASHLIGHT" />
|
|
||||||
<uses-feature android:name="android.hardware.camera" />
|
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
||||||
|
|
||||||
<!-- file and SD Card usage -->
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"></uses-permission>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:allowBackup="true"
|
|
||||||
android:icon="@drawable/icon"
|
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@style/AppTheme" >
|
|
||||||
|
|
||||||
<activity
|
|
||||||
android:name="com.rtk.simpleconfig_wizard.MainActivity"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<activity android:name="com.wifi.connection.MainActivity"
|
|
||||||
android:theme="@android:style/Theme.Dialog"
|
|
||||||
android:launchMode="singleInstance"
|
|
||||||
android:excludeFromRecents="true"
|
|
||||||
android:noHistory="true">
|
|
||||||
<intent-filter>
|
|
||||||
<category android:name="android.intent.category.INFO" />
|
|
||||||
</intent-filter>
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="com.wifi.connection.CONNECT_OR_EDIT" />
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<activity
|
|
||||||
android:name="com.zxing.activity.CaptureActivity"
|
|
||||||
android:configChanges="orientation|keyboardHidden"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
||||||
android:windowSoftInputMode="stateAlwaysHidden" >
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
</application>
|
|
||||||
|
|
||||||
</manifest>
|
|
|
@ -1,81 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.rtk.simpleconfig_wizard"
|
|
||||||
android:versionCode="1"
|
|
||||||
android:versionName="3.0.3.20170222"
|
|
||||||
android:installLocation="auto">
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="8"
|
|
||||||
android:targetSdkVersion="19" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- wifi usage -->
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" ></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.READ_SMS"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
|
|
||||||
|
|
||||||
<!-- Camera usage -->
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
|
||||||
<uses-permission android:name="android.permission.FLASHLIGHT" />
|
|
||||||
<uses-feature android:name="android.hardware.camera" />
|
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
||||||
|
|
||||||
<!-- file and SD Card usage -->
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
|
|
||||||
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"></uses-permission>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:allowBackup="true"
|
|
||||||
android:icon="@drawable/icon"
|
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@style/AppTheme" >
|
|
||||||
|
|
||||||
<activity
|
|
||||||
android:name="com.rtk.simpleconfig_wizard.MainActivity"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<activity android:name="com.wifi.connection.MainActivity"
|
|
||||||
android:theme="@android:style/Theme.Dialog"
|
|
||||||
android:launchMode="singleInstance"
|
|
||||||
android:excludeFromRecents="true"
|
|
||||||
android:noHistory="true">
|
|
||||||
<intent-filter>
|
|
||||||
<category android:name="android.intent.category.INFO" />
|
|
||||||
</intent-filter>
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="com.wifi.connection.CONNECT_OR_EDIT" />
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<activity
|
|
||||||
android:name="com.zxing.activity.CaptureActivity"
|
|
||||||
android:configChanges="orientation|keyboardHidden"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
||||||
android:windowSoftInputMode="stateAlwaysHidden" >
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
</application>
|
|
||||||
|
|
||||||
</manifest>
|
|
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.1 KiB |
|
@ -1,6 +0,0 @@
|
||||||
/** Automatically generated file. DO NOT MODIFY */
|
|
||||||
package com.rtk.simpleconfig_wizard;
|
|
||||||
|
|
||||||
public final class BuildConfig {
|
|
||||||
public final static boolean DEBUG = true;
|
|
||||||
}
|
|
|
@ -1,297 +0,0 @@
|
||||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
|
||||||
*
|
|
||||||
* This class was automatically generated by the
|
|
||||||
* aapt tool from the resource data it found. It
|
|
||||||
* should not be modified by hand.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package com.rtk.simpleconfig_wizard;
|
|
||||||
|
|
||||||
public final class R {
|
|
||||||
public static final class attr {
|
|
||||||
}
|
|
||||||
public static final class color {
|
|
||||||
public static final int bg_color=0x7f050002;
|
|
||||||
public static final int buttons_view_bk=0x7f050000;
|
|
||||||
public static final int color_tiffany=0x7f05001d;
|
|
||||||
public static final int content_bk=0x7f050001;
|
|
||||||
public static final int contents_text=0x7f050003;
|
|
||||||
public static final int encode_view=0x7f050004;
|
|
||||||
public static final int grgray=0x7f05001c;
|
|
||||||
public static final int header=0x7f05001b;
|
|
||||||
public static final int help_button_view=0x7f050005;
|
|
||||||
public static final int help_view=0x7f050006;
|
|
||||||
public static final int possible_result_points=0x7f050007;
|
|
||||||
public static final int result_image_border=0x7f050008;
|
|
||||||
public static final int result_minor_text=0x7f050009;
|
|
||||||
public static final int result_points=0x7f05000a;
|
|
||||||
public static final int result_text=0x7f05000b;
|
|
||||||
public static final int result_view=0x7f05000c;
|
|
||||||
public static final int sbc_header_text=0x7f05000d;
|
|
||||||
public static final int sbc_header_view=0x7f05000e;
|
|
||||||
public static final int sbc_layout_view=0x7f050010;
|
|
||||||
public static final int sbc_list_item=0x7f05000f;
|
|
||||||
public static final int sbc_page_number_text=0x7f050011;
|
|
||||||
public static final int sbc_snippet_text=0x7f050012;
|
|
||||||
public static final int share_text=0x7f050013;
|
|
||||||
public static final int share_view=0x7f050014;
|
|
||||||
public static final int status_text=0x7f050016;
|
|
||||||
public static final int status_view=0x7f050015;
|
|
||||||
public static final int transparent=0x7f050017;
|
|
||||||
public static final int viewfinder_frame=0x7f050018;
|
|
||||||
public static final int viewfinder_laser=0x7f050019;
|
|
||||||
public static final int viewfinder_mask=0x7f05001a;
|
|
||||||
}
|
|
||||||
public static final class dimen {
|
|
||||||
/** Default screen margins, per the Android Design guidelines.
|
|
||||||
|
|
||||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
|
||||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
|
||||||
|
|
||||||
*/
|
|
||||||
public static final int activity_horizontal_margin=0x7f060000;
|
|
||||||
public static final int activity_vertical_margin=0x7f060001;
|
|
||||||
}
|
|
||||||
public static final class drawable {
|
|
||||||
public static final int add_icon=0x7f020000;
|
|
||||||
public static final int background_scrollview=0x7f020001;
|
|
||||||
public static final int btn_new_device=0x7f020002;
|
|
||||||
public static final int ic_dialog_icon=0x7f020003;
|
|
||||||
public static final int ic_launcher=0x7f020004;
|
|
||||||
public static final int icon=0x7f020005;
|
|
||||||
public static final int info=0x7f020006;
|
|
||||||
public static final int navbar=0x7f020007;
|
|
||||||
public static final int pin_code_disable=0x7f020008;
|
|
||||||
public static final int pin_code_enable=0x7f020009;
|
|
||||||
public static final int qrcode_img=0x7f02000a;
|
|
||||||
public static final int refresh=0x7f02000b;
|
|
||||||
public static final int refresh1=0x7f02000c;
|
|
||||||
public static final int settings=0x7f02000d;
|
|
||||||
public static final int settings_icon=0x7f02000e;
|
|
||||||
public static final int signal1=0x7f02000f;
|
|
||||||
public static final int signal2=0x7f020010;
|
|
||||||
public static final int signal3=0x7f020011;
|
|
||||||
public static final int signal4=0x7f020012;
|
|
||||||
public static final int signal5=0x7f020013;
|
|
||||||
public static final int speaker=0x7f020014;
|
|
||||||
}
|
|
||||||
public static final class id {
|
|
||||||
public static final int IPAddress=0x7f070022;
|
|
||||||
public static final int IPAddress_TextView=0x7f070023;
|
|
||||||
public static final int LinkSpeed_TextView=0x7f07001f;
|
|
||||||
public static final int Password=0x7f070024;
|
|
||||||
public static final int Password_EditText=0x7f070026;
|
|
||||||
public static final int Password_TextView=0x7f070025;
|
|
||||||
public static final int Security_TextView=0x7f070021;
|
|
||||||
public static final int ShowPassword_CheckBox=0x7f070027;
|
|
||||||
public static final int SignalStrength_TextView=0x7f070020;
|
|
||||||
public static final int Speed=0x7f07001e;
|
|
||||||
public static final int Status=0x7f07001c;
|
|
||||||
public static final int Status_TextView=0x7f07001d;
|
|
||||||
public static final int action_settings=0x7f070041;
|
|
||||||
public static final int addNewNetworkBtn=0x7f070032;
|
|
||||||
public static final int add_network_dialog=0x7f070017;
|
|
||||||
/** Messages IDs
|
|
||||||
*/
|
|
||||||
public static final int auto_focus=0x7f070000;
|
|
||||||
public static final int btn_cancel_scan=0x7f07003c;
|
|
||||||
public static final int btn_configNewDevice=0x7f070016;
|
|
||||||
public static final int btn_info=0x7f070010;
|
|
||||||
public static final int btn_pincode=0x7f07002a;
|
|
||||||
public static final int btn_scan=0x7f070030;
|
|
||||||
public static final int btn_scanDevices=0x7f07000f;
|
|
||||||
public static final int button1=0x7f070037;
|
|
||||||
public static final int button2=0x7f070038;
|
|
||||||
public static final int button3=0x7f070039;
|
|
||||||
public static final int buttons_view=0x7f070036;
|
|
||||||
public static final int checkBox_password=0x7f07001b;
|
|
||||||
public static final int content=0x7f070035;
|
|
||||||
public static final int customtitlebar=0x7f070029;
|
|
||||||
public static final int decode=0x7f070001;
|
|
||||||
public static final int decode_failed=0x7f070002;
|
|
||||||
public static final int decode_succeeded=0x7f070003;
|
|
||||||
public static final int encode_failed=0x7f070004;
|
|
||||||
public static final int encode_succeeded=0x7f070005;
|
|
||||||
public static final int encrypt_type=0x7f070019;
|
|
||||||
public static final int icon=0x7f070028;
|
|
||||||
public static final int icon_sub=0x7f070031;
|
|
||||||
public static final int id_ap_password=0x7f07001a;
|
|
||||||
public static final int id_device_name=0x7f070034;
|
|
||||||
public static final int img=0x7f07002c;
|
|
||||||
public static final int info=0x7f07002f;
|
|
||||||
public static final int info_aplist=0x7f07003f;
|
|
||||||
public static final int launch_product_query=0x7f070006;
|
|
||||||
public static final int layer1_linear1=0x7f07000d;
|
|
||||||
public static final int layer1_linear2=0x7f070011;
|
|
||||||
public static final int layer1_linear3=0x7f070014;
|
|
||||||
public static final int layer2_linear1=0x7f070012;
|
|
||||||
public static final int layer2_linear2=0x7f070015;
|
|
||||||
public static final int linearLayout1=0x7f07002d;
|
|
||||||
public static final int linearLayout2=0x7f07002b;
|
|
||||||
public static final int linearLayout_confirm=0x7f070033;
|
|
||||||
public static final int listView1=0x7f070013;
|
|
||||||
public static final int mainlayout=0x7f07000c;
|
|
||||||
public static final int network_name_edit=0x7f070018;
|
|
||||||
public static final int preview_view=0x7f07003a;
|
|
||||||
public static final int quit=0x7f070007;
|
|
||||||
public static final int radioButton1=0x7f070040;
|
|
||||||
public static final int restart_preview=0x7f070008;
|
|
||||||
public static final int return_scan_result=0x7f070009;
|
|
||||||
public static final int search_book_contents_failed=0x7f07000a;
|
|
||||||
public static final int search_book_contents_succeeded=0x7f07000b;
|
|
||||||
public static final int signalImg=0x7f07003d;
|
|
||||||
public static final int textDeviceTitle=0x7f07000e;
|
|
||||||
public static final int title=0x7f07002e;
|
|
||||||
public static final int title_aplist=0x7f07003e;
|
|
||||||
public static final int viewfinder_view=0x7f07003b;
|
|
||||||
}
|
|
||||||
public static final class layout {
|
|
||||||
public static final int activity_main=0x7f030000;
|
|
||||||
public static final int add_network_content=0x7f030001;
|
|
||||||
public static final int base_content=0x7f030002;
|
|
||||||
public static final int buttons_view_divider=0x7f030003;
|
|
||||||
public static final int cfg_num_pin_setting=0x7f030004;
|
|
||||||
public static final int confirm_list=0x7f030005;
|
|
||||||
public static final int confirm_pincode_entry=0x7f030006;
|
|
||||||
public static final int customtitlebar=0x7f030007;
|
|
||||||
public static final int device_list=0x7f030008;
|
|
||||||
public static final int device_list_confirm=0x7f030009;
|
|
||||||
public static final int device_rename=0x7f03000a;
|
|
||||||
public static final int floating=0x7f03000b;
|
|
||||||
public static final int qrcode_scanner=0x7f03000c;
|
|
||||||
public static final int title_view=0x7f03000d;
|
|
||||||
public static final int wifi_password_entry=0x7f03000e;
|
|
||||||
public static final int wifiap_list=0x7f03000f;
|
|
||||||
}
|
|
||||||
public static final class menu {
|
|
||||||
public static final int main=0x7f0a0000;
|
|
||||||
}
|
|
||||||
public static final class raw {
|
|
||||||
public static final int beep=0x7f040000;
|
|
||||||
}
|
|
||||||
public static final class string {
|
|
||||||
public static final int action_settings=0x7f080001;
|
|
||||||
public static final int adhoc_not_supported_yet=0x7f08002c;
|
|
||||||
public static final int ap_connected=0x7f080003;
|
|
||||||
public static final int ap_unconnected=0x7f080004;
|
|
||||||
public static final int app_name=0x7f080000;
|
|
||||||
public static final int buttonOp=0x7f080006;
|
|
||||||
public static final int button_change_password=0x7f080029;
|
|
||||||
public static final int cancel=0x7f080012;
|
|
||||||
/** Button label to connect to a wifi network
|
|
||||||
*/
|
|
||||||
public static final int connect=0x7f080011;
|
|
||||||
public static final int del_prof=0x7f080010;
|
|
||||||
/** For Simple Control Layout Interface
|
|
||||||
*/
|
|
||||||
public static final int dev_discovery=0x7f08000e;
|
|
||||||
public static final int dummy_content_description=0x7f08002d;
|
|
||||||
/** Button caption to forget a wifi network
|
|
||||||
*/
|
|
||||||
public static final int forget_network=0x7f080016;
|
|
||||||
public static final int hello_world=0x7f080002;
|
|
||||||
/** Wi-Fi IP address label
|
|
||||||
*/
|
|
||||||
public static final int ip_address=0x7f080014;
|
|
||||||
public static final int pin_text=0x7f080008;
|
|
||||||
public static final int please_type_passphrase=0x7f080026;
|
|
||||||
public static final int qrcode_cancel=0x7f08000b;
|
|
||||||
public static final int qrcode_desc=0x7f080009;
|
|
||||||
public static final int qrcode_title=0x7f08000a;
|
|
||||||
public static final int rename_dev=0x7f08000f;
|
|
||||||
/** Label for the security of a wifi network
|
|
||||||
*/
|
|
||||||
public static final int security=0x7f08001f;
|
|
||||||
/** Label for the signal strength
|
|
||||||
*/
|
|
||||||
public static final int signal=0x7f080015;
|
|
||||||
public static final int start_config=0x7f08000c;
|
|
||||||
/** Wi-Fi settings screen, summary text for network when connected
|
|
||||||
*/
|
|
||||||
public static final int status_connected=0x7f080018;
|
|
||||||
public static final int status_connecting=0x7f080019;
|
|
||||||
public static final int stop_config=0x7f08000d;
|
|
||||||
public static final int toastFailed=0x7f080005;
|
|
||||||
public static final int wifi_change_password=0x7f080028;
|
|
||||||
/** !!!!!!!! vpn_connect_toTitle of VPN connect dialog
|
|
||||||
*/
|
|
||||||
public static final int wifi_connect_to=0x7f080013;
|
|
||||||
/** Label for link speed (wifi)
|
|
||||||
*/
|
|
||||||
public static final int wifi_link_speed=0x7f08001a;
|
|
||||||
/** An edit field's grayed out value when it has not been modified
|
|
||||||
*/
|
|
||||||
public static final int wifi_password_unchanged=0x7f08002a;
|
|
||||||
/** Button caption to save a configuration wifi
|
|
||||||
*/
|
|
||||||
public static final int wifi_save_config=0x7f08002b;
|
|
||||||
/** For Simple Config Layout Interface
|
|
||||||
*/
|
|
||||||
public static final int wifi_scan=0x7f080007;
|
|
||||||
/** Value for the wifi security
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_ieee8021x=0x7f080025;
|
|
||||||
/** Value for the wifi security. This means no encryption.
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_open=0x7f080020;
|
|
||||||
/** Value for the wifi security
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_wep=0x7f080021;
|
|
||||||
/** Value for the wifi security
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_wpa=0x7f080022;
|
|
||||||
/** Value for the wifi security
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_wpa2=0x7f080023;
|
|
||||||
/** Value for the wifi security
|
|
||||||
*/
|
|
||||||
public static final int wifi_security_wpa_eap=0x7f080024;
|
|
||||||
public static final int wifi_show_password=0x7f080027;
|
|
||||||
/** Verbose wifi signal strength. This is the worst out of 4 levels.
|
|
||||||
*/
|
|
||||||
public static final int wifi_signal_0=0x7f08001e;
|
|
||||||
/** Verbose wifi signal strength. This is the 3rd best out of 4 levels.
|
|
||||||
*/
|
|
||||||
public static final int wifi_signal_1=0x7f08001d;
|
|
||||||
/** Verbose wifi signal strength. This is the 2nd best out of 4 levels.
|
|
||||||
*/
|
|
||||||
public static final int wifi_signal_2=0x7f08001c;
|
|
||||||
/** Verbose wifi signal strength. This is the best out of 4 levels.
|
|
||||||
*/
|
|
||||||
public static final int wifi_signal_3=0x7f08001b;
|
|
||||||
/** Label for status of connection
|
|
||||||
*/
|
|
||||||
public static final int wifi_status=0x7f080017;
|
|
||||||
}
|
|
||||||
public static final class style {
|
|
||||||
/**
|
|
||||||
Base application theme, dependent on API level. This theme is replaced
|
|
||||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
|
||||||
|
|
||||||
|
|
||||||
Theme customizations available in newer API levels can go in
|
|
||||||
res/values-vXX/styles.xml, while customizations related to
|
|
||||||
backward-compatibility can go here.
|
|
||||||
|
|
||||||
|
|
||||||
Base application theme for API 11+. This theme completely replaces
|
|
||||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
|
||||||
|
|
||||||
API 11 theme customizations can go here.
|
|
||||||
|
|
||||||
Base application theme for API 14+. This theme completely replaces
|
|
||||||
AppBaseTheme from BOTH res/values/styles.xml and
|
|
||||||
res/values-v11/styles.xml on API 14+ devices.
|
|
||||||
|
|
||||||
API 14 theme customizations can go here.
|
|
||||||
*/
|
|
||||||
public static final int AppBaseTheme=0x7f090001;
|
|
||||||
/** Application theme.
|
|
||||||
All customizations that are NOT specific to a particular API-level can go here.
|
|
||||||
*/
|
|
||||||
public static final int AppTheme=0x7f090002;
|
|
||||||
public static final int ButtonText=0x7f090000;
|
|
||||||
public static final int PlatformDialog=0x7f090003;
|
|
||||||
public static final int textAppearanceBaseContent=0x7f090004;
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 50 KiB |
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<lint>
|
|
||||||
<issue id="InflateParams">
|
|
||||||
<ignore path="src/com/rtk/simpleconfig_wizard/MainActivity.java" />
|
|
||||||
</issue>
|
|
||||||
</lint>
|
|
|
@ -1,20 +0,0 @@
|
||||||
# To enable ProGuard in your project, edit project.properties
|
|
||||||
# to define the proguard.config property as described in that file.
|
|
||||||
#
|
|
||||||
# Add project specific ProGuard rules here.
|
|
||||||
# By default, the flags in this file are appended to flags specified
|
|
||||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
|
||||||
# You can edit the include path and order by changing the ProGuard
|
|
||||||
# include property in project.properties.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
|
@ -1,14 +0,0 @@
|
||||||
# This file is automatically generated by Android Tools.
|
|
||||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
|
||||||
#
|
|
||||||
# This file must be checked in Version Control Systems.
|
|
||||||
#
|
|
||||||
# To customize properties used by the Ant build system edit
|
|
||||||
# "ant.properties", and override values to adapt the script to your
|
|
||||||
# project structure.
|
|
||||||
#
|
|
||||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
|
||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
|
||||||
|
|
||||||
# Project target.
|
|
||||||
target=android-19
|
|
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 6.8 KiB |
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle" >
|
|
||||||
|
|
||||||
<gradient
|
|
||||||
android:angle="45"
|
|
||||||
android:startColor="#FFFFFF"
|
|
||||||
android:centerColor="#CCCCCC"
|
|
||||||
android:endColor="#999999"/>
|
|
||||||
|
|
||||||
<!--gradient
|
|
||||||
android:startColor="#7faacaFF"
|
|
||||||
android:endColor="#FF80B3FF"
|
|
||||||
android:gradientRadius="100"
|
|
||||||
android:type="radial"/-->
|
|
||||||
|
|
||||||
<stroke
|
|
||||||
android:width="2dp"
|
|
||||||
android:color="#dcdcdc" />
|
|
||||||
|
|
||||||
<corners android:radius="5dp" />
|
|
||||||
|
|
||||||
<padding
|
|
||||||
android:bottom="5dp"
|
|
||||||
android:left="5dp"
|
|
||||||
android:right="5dp"
|
|
||||||
android:top="5dp" />
|
|
||||||
|
|
||||||
</shape>
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<item android:state_pressed="true" >
|
|
||||||
<shape>
|
|
||||||
<solid android:color="#aaaaaa" />
|
|
||||||
<stroke
|
|
||||||
android:width="1dp"
|
|
||||||
android:color="#666666" />
|
|
||||||
<corners
|
|
||||||
android:radius="3dp" />
|
|
||||||
<padding
|
|
||||||
android:left="10dp"
|
|
||||||
android:top="10dp"
|
|
||||||
android:right="10dp"
|
|
||||||
android:bottom="10dp" />
|
|
||||||
</shape>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<shape>
|
|
||||||
<gradient
|
|
||||||
android:startColor="#aaaaaa"
|
|
||||||
android:endColor="#666666"
|
|
||||||
android:angle="270" />
|
|
||||||
<stroke
|
|
||||||
android:width="1dp"
|
|
||||||
android:color="#666666" />
|
|
||||||
<corners
|
|
||||||
android:radius="4dp" />
|
|
||||||
<padding
|
|
||||||
android:left="10dp"
|
|
||||||
android:top="10dp"
|
|
||||||
android:right="10dp"
|
|
||||||
android:bottom="10dp" />
|
|
||||||
</shape>
|
|
||||||
</item>
|
|
||||||
</selector>
|
|
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5 KiB |
|
@ -1,107 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/mainlayout"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:orientation="vertical"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/layer1_linear1"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="#cccccc"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/textDeviceTitle"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:layout_weight="5"
|
|
||||||
android:text=" Configured Device"
|
|
||||||
android:textColor="#000000"
|
|
||||||
android:textSize="25dip"/>
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/btn_scanDevices"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:scaleType="fitCenter"
|
|
||||||
android:text="Scan Configured Devices"
|
|
||||||
android:background="@drawable/btn_new_device"
|
|
||||||
style="@style/ButtonText"
|
|
||||||
android:src="@drawable/refresh"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:padding="8dp"
|
|
||||||
android:onClick="ScanDevices_OnClick"/>
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/btn_info"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:scaleType="fitCenter"
|
|
||||||
android:text="Scan Configured Devices"
|
|
||||||
android:background="@drawable/btn_new_device"
|
|
||||||
style="@style/ButtonText"
|
|
||||||
android:src="@drawable/info"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:padding="8dp"
|
|
||||||
android:onClick="About_OnClick"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:id="@+id/layer1_linear2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="10"
|
|
||||||
android:background="@drawable/background_scrollview">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/layer2_linear1"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ListView android:id="@+id/listView1"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent">
|
|
||||||
</ListView>
|
|
||||||
</LinearLayout>
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/layer1_linear3"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="1">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/layer2_linear2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_weight="4">
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btn_configNewDevice"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:text="Configure New Device"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:background="@drawable/btn_new_device"
|
|
||||||
style="@style/ButtonText"
|
|
||||||
android:onClick="configNewDevice_OnClick"/>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,85 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:padding="5sp"
|
|
||||||
android:id="@+id/add_network_dialog"
|
|
||||||
>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="SSID Name: "
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:paddingTop="10sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<EditText android:id="@+id/network_name_edit"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:inputType="text"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="Encryption: "
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:paddingTop="10sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Spinner
|
|
||||||
android:id="@+id/encrypt_type"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="Password: "
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:paddingTop="10sp"/>
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/id_ap_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="@android:drawable/editbox_background_normal"
|
|
||||||
android:padding="5dip"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:inputType="textPassword"
|
|
||||||
android:textSize="20dp"/>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
<CheckBox
|
|
||||||
android:id="@+id/checkBox_password"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Show Password" />
|
|
||||||
<!-- CheckBox android:id="@+id/is_hidden_ssid"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="Is Hidden SSID"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"/-->
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,178 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
* Wifi Connector
|
|
||||||
*
|
|
||||||
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
|
||||||
* in the Software without restriction, including without limitation the rights
|
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
* copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
* THE SOFTWARE.
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:padding="5sp"
|
|
||||||
>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/Status"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/wifi_status"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/Status_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/status_connected"
|
|
||||||
android:paddingLeft = "5sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/Speed"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/wifi_link_speed"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/LinkSpeed_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="54Mbps"
|
|
||||||
android:paddingLeft = "5sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/signal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/SignalStrength_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="Poor"
|
|
||||||
android:paddingLeft = "5sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/security"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/Security_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="WEP"
|
|
||||||
android:paddingLeft = "5sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/IPAddress"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/ip_address"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/IPAddress_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="192.168.0.1"
|
|
||||||
android:paddingLeft = "5sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/Password"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView android:id="@+id/Password_TextView"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/please_type_passphrase"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:paddingTop="10sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<com.wifi.connection.ChangingAwareEditText android:id="@+id/Password_EditText"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:inputType="text|textPassword"/>
|
|
||||||
|
|
||||||
<CheckBox android:id="@+id/ShowPassword_CheckBox"
|
|
||||||
style="@style/textAppearanceBaseContent"
|
|
||||||
android:text="@string/wifi_show_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,6 +0,0 @@
|
||||||
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:src="@android:drawable/divider_horizontal_dark"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:contentDescription="@string/dummy_content_description"
|
|
||||||
android:scaleType="fitXY"/>
|
|
|
@ -1,62 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:background="#ffffff">
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_weight="4"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="#ffffff">
|
|
||||||
|
|
||||||
<!-- ImageView
|
|
||||||
android:id="@+id/icon_sub"
|
|
||||||
android:layout_width="40dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:padding="2dp"
|
|
||||||
android:src="@drawable/settings_icon"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentLeft="true" >
|
|
||||||
</ImageView-->
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/customtitlebar"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:textColor="#33b5e5"
|
|
||||||
android:text="Select Number of Devices to be configured"
|
|
||||||
android:padding="1dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:gravity="center_vertical"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/btn_pincode"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:background="@null"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:scaleType="fitCenter"
|
|
||||||
android:padding="1dp"
|
|
||||||
android:src="@drawable/pin_code_enable"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="2dp"
|
|
||||||
android:background="#33b5e5"
|
|
||||||
android:layout_below="@id/icon"><!-- This is line below the title -->
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,52 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<ImageView android:src="@drawable/ic_dialog_icon"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:padding="3dp"
|
|
||||||
android:id="@+id/img">
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="9">
|
|
||||||
<TextView android:id="@+id/title"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:textSize = "25dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="2"></TextView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout1"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_weight="1">
|
|
||||||
<TextView android:id="@+id/info"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize = "15dp"
|
|
||||||
android:textColor="#3333ff"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="1"></TextView>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/btn_scan"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:src="@drawable/qrcode_img"
|
|
||||||
android:onClick="qrcode_onclick"/>
|
|
||||||
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/id_ap_password"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="5"
|
|
||||||
android:background="@android:drawable/editbox_background_normal"
|
|
||||||
android:padding="5dip"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:textSize="20dp"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:background="#525f67">
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_weight="4"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:background="#525f67">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/icon_sub"
|
|
||||||
android:layout_width="40dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:padding="2dp"
|
|
||||||
android:src="@drawable/settings_icon"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentLeft="true" >
|
|
||||||
</ImageView>
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/customtitlebar"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:text="Connect to home AP"
|
|
||||||
android:padding="3px"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:layout_toRightOf="@id/icon_sub"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:gravity="center_vertical"/>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/addNewNetworkBtn"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
|
|
||||||
android:background="@null"
|
|
||||||
android:contentDescription="@string/app_name"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:scaleType="fitCenter"
|
|
||||||
android:padding="2dp"
|
|
||||||
android:onClick="addNewNetwork_OnClick"
|
|
||||||
android:src="@drawable/add_icon"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="2dp"
|
|
||||||
android:background="#ff0000"
|
|
||||||
android:layout_below="@id/icon"><!-- This is line below the title -->
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
|
@ -1,52 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="#cce5ff">
|
|
||||||
|
|
||||||
<ImageView android:src="@drawable/ic_dialog_icon"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:layout_width="35dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:padding="3dp"
|
|
||||||
android:id="@+id/img">
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="9">
|
|
||||||
<TextView android:id="@+id/title"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:textSize = "25dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="2"></TextView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_weight="1">
|
|
||||||
<TextView android:id="@+id/info"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize = "15dp"
|
|
||||||
android:textColor="#3333ff"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="1"></TextView>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
|
@ -1,53 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="#999999">
|
|
||||||
|
|
||||||
<ImageView android:src="@drawable/ic_dialog_icon"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:layout_width="35dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:padding="3dp"
|
|
||||||
android:id="@+id/img">
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="9">
|
|
||||||
<TextView android:id="@+id/title"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:textSize = "25dp"
|
|
||||||
android:textColor="#0B0B0D"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="2"></TextView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout_confirm"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_weight="1">
|
|
||||||
<TextView android:id="@+id/info"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize = "15dp"
|
|
||||||
android:textColor="#CBCBCB"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="1"></TextView>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
|
@ -1,21 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/id_device_name"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="@android:drawable/editbox_background_normal"
|
|
||||||
android:padding="5dp"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:textSize="14dip"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/*
|
|
||||||
* Wifi Connector
|
|
||||||
*
|
|
||||||
* Copyright (c) 20101 Kevin Yuan (farproc@gmail.com)
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
|
||||||
* in the Software without restriction, including without limitation the rights
|
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
* copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
* THE SOFTWARE.
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical" >
|
|
||||||
|
|
||||||
<include
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
layout="@layout/title_view" />
|
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:id="@+id/content"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:background="@color/content_bk" >
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
<include layout="@layout/buttons_view_divider"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/buttons_view"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="@color/buttons_view_bk"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:padding="5sp" >
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button2"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/button3"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,51 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent" >
|
|
||||||
|
|
||||||
<SurfaceView
|
|
||||||
android:id="@+id/preview_view"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center" />
|
|
||||||
|
|
||||||
<com.zxing.view.ViewfinderView
|
|
||||||
android:id="@+id/viewfinder_view"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content" />
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:orientation="vertical" >
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_centerInParent="true"
|
|
||||||
android:background="@drawable/navbar"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingBottom="10dp"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:textColor="@android:color/white"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:text="@string/qrcode_title" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btn_cancel_scan"
|
|
||||||
android:layout_width="248dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_centerInParent="true"
|
|
||||||
android:layout_marginBottom="75dp"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:text="@string/qrcode_cancel" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/title"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:drawableLeft="@drawable/ic_dialog_icon"
|
|
||||||
android:drawablePadding="5dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:textColor="@android:color/primary_text_dark"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:padding="10dp" />
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/id_ap_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="@android:drawable/editbox_background_normal"
|
|
||||||
android:padding="5dip"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:inputType="textPassword"
|
|
||||||
android:textSize="20dp"/>
|
|
||||||
|
|
||||||
<CheckBox
|
|
||||||
android:id="@+id/checkBox_password"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Show Password" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
|
@ -1,54 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout2"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:layout_width="35dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:padding="3dp"
|
|
||||||
android:id="@+id/signalImg">
|
|
||||||
</ImageView>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/linearLayout1"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_weight="9">
|
|
||||||
<TextView android:id="@+id/title_aplist"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize = "20dp"
|
|
||||||
android:layout_gravity="center_vertical|left"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="6"></TextView>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/info_aplist"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textSize = "15dp"
|
|
||||||
android:textColor="#3333ff"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:layout_weight="1"></TextView>
|
|
||||||
<RadioGroup
|
|
||||||
android:id="@+id/radioButton1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:gravity="center_vertical|left"
|
|
||||||
android:text="" />
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@+id/action_settings"
|
|
||||||
android:orderInCategory="100"
|
|
||||||
android:showAsAction="never"
|
|
||||||
android:title="@string/action_settings"/>
|
|
||||||
|
|
||||||
</menu>
|
|
|
@ -1,8 +0,0 @@
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
|
||||||
screen margins) for sw600dp devices (e.g. 7" tablets) here.
|
|
||||||
-->
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Customize dimensions originally defined in res/values/dimens.xml (such as
|
|
||||||
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
|
|
||||||
-->
|
|
||||||
<dimen name="activity_horizontal_margin">128dp</dimen>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Base application theme for API 11+. This theme completely replaces
|
|
||||||
AppBaseTheme from res/values/styles.xml on API 11+ devices.
|
|
||||||
-->
|
|
||||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
|
|
||||||
<!-- API 11 theme customizations can go here. -->
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,12 +0,0 @@
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Base application theme for API 14+. This theme completely replaces
|
|
||||||
AppBaseTheme from BOTH res/values/styles.xml and
|
|
||||||
res/values-v11/styles.xml on API 14+ devices.
|
|
||||||
-->
|
|
||||||
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
|
||||||
<!-- API 14 theme customizations can go here. -->
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</resources>
|
|