1. Instead of killing the activity when done, load up a URL in a browser instead.
authorvikrama <vikrama@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 23 Jun 2010 04:08:35 +0000 (04:08 +0000)
committervikrama <vikrama@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 23 Jun 2010 04:08:35 +0000 (04:08 +0000)
commit14a8870817fcac02ea00c5297f65ad6c85fd7292
treeeb53f2685550b19f976dacf54b1d597a3bd7f003
parent4430403d20762773119a1db47c0a4c2776d778f1
1. Instead of killing the activity when done, load up a URL in a browser instead.
2. More error checking:
   a. Missing SSID
   b. Incorrect network type (hey, it's just a string, and the user could get creative)

TODOs:
1. Localize the strings this is introducing.
2. Errors not handled:
   a. Tell if network not found.
   b. Incorrect SSID codes still crash the app: WIFI:S:winders;T:WPA;P:secret;badjunk;;
   c. For an open network, giving a password crashes:  WIFI:S:winders;T:nopass;P:secret;;
3. When connected, it should say, "Connected to <ssid>".

git-svn-id: http://zxing.googlecode.com/svn/trunk@1455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
android/src/com/google/zxing/client/android/wifi/ConnectedReceiver.java
android/src/com/google/zxing/client/android/wifi/Killer.java
android/src/com/google/zxing/client/android/wifi/WifiActivity.java