Hi Vivek,
      Open this link and see this example..

http://www.vogella.de/articles/AndroidJSON/article.html

Thanks & Regards,
S.Seshu.

On Mar 8, 10:33 am, vivek elangovan <elangovan.vi...@gmail.com> wrote:
> Hi members,
>                      Using HttpPost i am able to retrieve the following
> data in my response
>
> <cities>
>        <name stateID="01" cityID="01">Chennai</name>
>        <name stateID="01" cityID="02">Trichy</name>
>        <name stateID="01" cityID="03">Madurai</name>
> </cities>
>
> Now i need to pass these values into my spinner i m getting the following
> error
>
> The method createFromResource(Context, int, int) in the type ArrayAdapter
> is not applicable for
>  the arguments (HelloSpinner, String, int)
>
> How to change my string value obtained from my response to int ?

-- 
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