> if(photoUrl.contains(" ")) {
> photoUrl = photoUrl.replaceAll(" ", "%20");
> }
Just a random side note, but you probably want to use Uri.encode() to
properly escape all characters, not just spaces.
--
Jeff Sharkey
[email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---