yangqianghui / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

IP Address is not being pulled from Preferences correctly. #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Spydroid
2. Enter IP Address into EditText
3. Rotate screen

What is the expected output? What do you see instead?
Would expect to see the same IP address that I entered.  Instead, I see the 
default IP address.

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.
I have actually looked at the source and I see where the bug is.  In the 
OnClickListener in Spydroid Activity for 'Stream' Button, the entered IP 
address is put into the preferences as a key value pair "IP" when the user 
presses the button.  However, when attempting to pull the ip address out on the 
OnStart, the key is given as "ip" instead of "IP".
Simple change for an annoying problem I'll say.

Original issue reported on code.google.com by devinh...@gmail.com on 29 Sep 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Sorry, forgot to put that I'm using a Droid Incredible 2 on CyanogenMod 3.2.5.

Original comment by devinh...@gmail.com on 29 Sep 2011 at 11:08