-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> OK, I figured it out. It's just:
> 
> for (String name : myFields.keySet()) {
>       String myKey = name;
>       String myVal = myFields.get(name);
> }
> 

You can even do better with ContentValues#valueSet [1] (which is similar
to HashMap#entrySet [2]).

Regards,

Cyril

[1]
http://code.google.com/android/reference/android/content/ContentValues.html#valueSet()
[2]
http://code.google.com/android/reference/java/util/HashMap.html#entrySet()
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklQqEUACgkQlYy8cEwUMaT/QwCfdAGKPGrCJoZ97V3FWHFupt1A
WQ4AnjwFps+l2OA4/sT+VkxObIu/6B6f
=Q4SA
-----END PGP SIGNATURE-----

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

Reply via email to