Faber Fedor wrote:
> So now, I want to double-click on of those fields and edit the record. 
> I assume I want to do that by getting the _id of the record, somehow
> pass that to another Activity, have that Activity open the
> ContentProvider and drop the data into a new layout, right?
> 
> Or is there a more 'droidy way to do it?

You call for your personal android, who rolls over, double-clicks on the
field, ... ;-)

You can either go the route you described (using an "extra" in an Intent
to pass the record _id), or pop a dialog with an EditText, or get fancy
and try to swap out the TextView with an EditText so they can make the
change in-place. I have no idea if the latter approach can work (there
are some hiccups with having focusable items in list elements), but it's
not out of the question.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to