Ok. Thanks Felipe. I just figured that out.

Regards,

Abhi

On Sep 24, 12:47 pm, Felipe Silveira <webfel...@gmail.com> wrote:
> No, you can't.
>
> In Java we don't have switch with Strings.
>
> Regards,
>
> Felipe Silveira
>
> On Thu, Sep 24, 2009 at 11:56 AM, Abhi <abhishek.r.sha...@gmail.com> wrote:
>
> > Can I do a switch(String), case (compare with other string) and how?
>
> > I am trying to compare string results and perform actions...
>
> > Thanks,
>
> > Abhi
>
> --
> Felipe Silveira
> Engenharia da Computação
> Universidade Federal de Itajubáhttp://www.felipesilveira.com.br
> MSN: felipeuni...@hotmail.com
> Skype: fsunifei
> -------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to