SaferMobile / InTheClear

Java and Android mobile alerting and secure wipe application(s)
https://lab.safermobile.org/wiki/InTheClear
GNU General Public License v3.0
23 stars 19 forks source link

Emergency SMS - # and message reassignment cannot highlight existing data #66

Closed bxhghz closed 13 years ago

bxhghz commented 13 years ago

using ANDROID - htc

I am in the wizard, i cannot enter a cursor and edit the recipient # or the message; i can select the box and start typing which automatically deletes the number or message. I think it would b emore clear if i could edit the data.

harlo commented 13 years ago

was unable to replicate the problem on Nexus One or T-Mobile MyTouch. what HTC model are you using?

might be a default in that particular phone's handling of edit view widgets. will investigate...

Derek, Nathan, HC, any thoughts?

harlo commented 13 years ago

Ok, I see the problem:

So, when you use the wizard, the data stored in preferences are automatically populated into the fields. What you see as non-editable text is actually "Hint Text" (autofilled text that is not actually editable like regular strings are.)

To solve it, I implemented an "OnFocusChangeListener" that populates the text field with the user's preference data as Text when user taps the edit view. Closed in this commit.