DOC PREVIEW
U of I CS 425 - TIPS

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Tip 1 [MP0]: Android Virtual Devices Manger In “Hello, World” example, we type in command “android create avd ‐‐target 2 ‐‐name my_avd” to create an Android Virtual Device (AVD) before we launch the emulator. You can also create an AVD in the following Eclipse GUI by clicking the cell phone icon. In this way, you can totally forget complex command syntax. However, command line provides more control options (http://developer.a ndroid.com/guide/developing/tools/avd.html). Figure 1: Android Virtual Machine Manager Tip 2 [MP2]: Register G1 dev phones without SIM card Register G1 dev phones without SIM card, when you first use your phone. Please refer to the post http://e.ntangled.net/content/howto‐set‐android‐dev‐phone‐without‐sim‐card Tip 3 [MP2]: Get connected to UIwpa2 Step 1: Start adb in root mode adb root Step 2: Pull the wifi configuration file into your local file folder adb pull /data/misc/wifi/wpa_supplicant.conf . Step 3: Modify wpa_supplicant.con with the information for UIwpa2. Be careful not to let others see your AD password according to this instruction. network={ ssid="UIwpa2" key_mgmt=WPA‐EAP pairwise=CCMP group=CCMP eap=PEAP phase2="auth=MSCHAPV2" identity="your netid" password="your ad password" priority=1 # position of this entry in the saved wifi list } *Make sure that your wpa_supplicant.conf file is written in Linux format Step 4: Push the new configuration file to phones adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf Step 5: Change the owner of the wpa_supplicant.conf file. adb –d shell #cd /data/misc/wifi # chown system.wifi wpa_supplicant.conf # reboot Tip 4 [MP2]: Change transmission power for better UIwpa2 connection Thanks to Group 3 of Chia‐Chi Lin, Hee Dong Jung, and Hyun Duk Kim Group 3 found out a way to get more stable wireless connections on the phones, but please note that it will result in hig her power consumption # Go to Settings > Wireless controls > Wi‐Fi settings. # Press MENU and select Advanced. # Click Wi‐Fi sleep policy and select Never. # Press MENU and select Save. # Connect the phone to a computer. # Enter the following commands: * adb ‐d shell * su * mount ‐o remount,rw ‐t yaffs2 /dev/block/mtdblock3 /system * cd /system/etc/wifi * chmod 666 tiwlan.ini * exit * exit # Pull tiwlan.ini: * adb ‐d pull /system/etc/wifi/tiwlan.ini tiwlan.txt # Edit tiwlan.ini with WordPad: * Change the lines defaultPowerLevel = 0 PowerSavePowerLevel = 0 to defaultPowerLevel = 2 PowerSavePowerLevel = 2 # Push tiwlan.ini: * adb ‐d push tiwlan.txt /system/etc/wifi/tiwlan.ini # Enter the following commands: * adb ‐d shell * su * cd /system/etc/wifi * chmod 644 tiwlan.ini * mount ‐o remount,ro ‐t yaffs2 /dev/block/mtdblock3 /system * exit * exit


View Full Document

U of I CS 425 - TIPS

Documents in this Course
Lecture 8

Lecture 8

23 pages

The Grid

The Grid

41 pages

Lecture 4

Lecture 4

27 pages

Lecture 4

Lecture 4

20 pages

The Grid

The Grid

41 pages

LECTURE 5

LECTURE 5

25 pages

Multicast

Multicast

23 pages

LECTURE

LECTURE

34 pages

Load more
Download TIPS
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view TIPS and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view TIPS 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?