Hi seshu,
            thanks for the sample but i m not familiar with JSON and also
my query is i m able to retrieve the xml data from my server using HttpPost
, what i need is i need set that value to my second spinner.

On Thu, Mar 8, 2012 at 5:08 PM, Seshu <s.seshu...@gmail.com> wrote:

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



-- 
thanks & regards,
Vivek . E
9841841099

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