Ok it get all the dates with response.keySet();
response:
[2009-09-03, 2009-08-27, 2009-09-09, 2009-08-19, 2009-09-10,
2009-08-20]
But how can i loop every date now to get the Objects?
Wouter
On 11 sep, 17:34, Wouter wrote:
> Hey,
>
> I get a nice solution from skink, thank you so much for i
Hey,
I get a nice solution from skink, thank you so much for it!
Now i have another problem. I do a call with film.retrieveCinema (to
get newest moviest in cinema).
this is response:
{2009-09-03=[Ljava.lang.Object;@43663720,
2009-08-27=[Ljava.lang.Object;@43599b60,
2009-09-09=[Ljava.lang.Objec
yes i have the latest version from the svn but it is still a known
issue: http://code.google.com/p/android-xmlrpc/issues/detail?id=8
really need to get this fixed, cant do anything without this..
On 9 sep, 18:19, skink wrote:
> On Sep 9, 6:08 pm, Wouter wrote:
>
> > Nobody knows a solution for
On Sep 9, 6:08 pm, Wouter wrote:
> Nobody knows a solution for this?
>
> Wouter
is you svn of xmlrpc up to date?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, se
Nobody knows a solution for this?
Wouter
--~--~-~--~~~---~--~~
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 gr
On Sep 7, 3:24 pm, SIDIBE Ali-Broma wrote:
> This is one exemple whitch give me all time some error . Also this
> code is simular on the codeprojet.
>
> I ast some help for to solve this problem. Problem of Firewall! or
> other! I dont know
> ...
> XMLRPCClient client = new XMLRPCClien
thank you! works great now..
But i think there is a problem with the xml rpc client..
I make a call film.retrieveCinemas to get a list of all the new movies
in cinema but i get this error:
org.xmlrpc.android.XMLRPCException: java.io.IOException: Cannot
deserialize value
and this is a known issu
On Sep 3, 7:40 pm, Wouter wrote:
> Nice! Thank you so much!
>
> It worked like this:
>
> Object[] directors = (Object[])
> response.get("directors");
> Director[] directorArray = new
> Director[directors.length];
>
> for
Nice! Thank you so much!
It worked like this:
Object[] directors = (Object[])
response.get("directors");
Director[] directorArray = new
Director[directors.length];
for (int i=0; i wrote:
> Object[] directors = (Object[])
Object[] directors = (Object[]) response.get("directors");
Director[] darray = new Director[directors.length];
for (int i=0; ihttp://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---
Thank you,
but i have this in my filmDetail :
public void setDirectors(Director[] directors) {
this.directors = directors;
}
so i want to do filmDetail.setDirectors(directors);
and directors is then an array of Director (Director[])..
How can i do that? Thank y
Object[] directors = (Object[]) response.get("directors");
for (int i=0; ihttp://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---
Ok..
So my response is: 09-03 18:53:48.192: DEBUG/directors(859):
{name=Peter Jackson, id=10176}
but how can i get name and id out of this response and save it in the
Directors class?
On 3 sep, 18:51, skink wrote:
> directors is also [Object that is Object array, so:
>
> Object[] directors = (
Ok..
So my response is: 09-03 18:53:48.192: DEBUG/directors(859):
{name=Peter Jackson, id=10176}
but how can i get name and id out of this response and save it in the
Directors class?
On 3 sep, 18:51, skink wrote:
> directors is also [Object that is Object array, so:
>
> Object[] directors = (
directors is also [Object that is Object array, so:
Object[] directors = (Object[]) response.get("directors");
for (int i=0; ihttp://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---
09-03 18:28:44.821: DEBUG/log(783): {date=2002-07-16}
yeah we got the data :D
when i try with directors i get this:
09-03 18:30:04.582: DEBUG/log(821): {name=Peter Jackson, id=10176}
and my Director.java class is like this:
public class Director {
public String id;
public String
what does:
Object[] array = (Object[]) response.get("dates_video");
Log.d("log", array[0]);
print?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
Wouter wrote:
> OK finally got it, thanks for your help!
>dates_video
>
>
>
> date
> 2002-07-16
>
>
>
>
>
what does:
Log.d("log1", response.get("dates_video"));
Log.d("log2", response.get("dates_video").getClass());
print?
--~--~-~--~~~---~--~~
You re
09-03 18:10:20.642: DEBUG/log1(746): [Ljava.lang.Object;@43598a88
09-03 18:10:20.642: DEBUG/log2(746): class [Ljava.lang.Object;
And now is the question how can i get the data in that Object? :)
On 3 sep, 18:06, skink wrote:
> Wouter wrote:
> > OK finally got it, thanks for your help!
> >dates_
OK finally got it, thanks for your help!
This is the xml response for film.retrieveDetails
url
http://www.moviemeter.nl/film/500/
thumbnail
http://www.moviemeter.nl/images/covers/thumbs/
0/500.jpg
title
Lord of the Rings: The Fellowship of the Ring, The
alternative_titles
year
2001
On Sep 3, 10:36 am, Wouter wrote:
> yes with these tools i can see the data packages..
so what are packages you can see with these tools?
it should be http xml response.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Gr
I dont see it at wireshark.. and in android i only get the response
object back and not the whole xml..
On 3 sep, 15:51, skink wrote:
> On Sep 3, 3:38 pm, Wouter wrote:
>
> > Hmm how can i see the raw data with wireshark?
>
> just post xml you got from a server
>
> > On 3 sep, 11:03, skink wro
On Sep 3, 3:38 pm, Wouter wrote:
> Hmm how can i see the raw data with wireshark?
>
just post xml you got from a server
> On 3 sep, 11:03, skink wrote:
>
>
>
> > On Sep 3, 10:36 am, Wouter wrote:
>
> > > yes with these tools i can see the data packages.. but thats not the
> > > solution to
Hmm how can i see the raw data with wireshark?
On 3 sep, 11:03, skink wrote:
> On Sep 3, 10:36 am, Wouter wrote:
>
>
>
> > yes with these tools i can see the data packages.. but thats not the
> > solution to my problem i think?
>
> > I want to parse the data in java..
>
> > On 3 sep, 00:38, ski
On Sep 3, 10:36 am, Wouter wrote:
> yes with these tools i can see the data packages.. but thats not the
> solution to my problem i think?
>
> I want to parse the data in java..
>
> On 3 sep, 00:38, skink wrote:
>
>
>
> > On Sep 3, 12:15 am, Wouter wrote:
>
> > > I don't know. I use the andr
yes with these tools i can see the data packages.. but thats not the
solution to my problem i think?
I want to parse the data in java..
On 3 sep, 00:38, skink wrote:
> On Sep 3, 12:15 am, Wouter wrote:
>
> > I don't know. I use the android-xmlrpc client (http://code.google.com/
> > p/android-
Wouter wrote:
> Hey,
>
> Thank you for your answer. I have not that much experience with xml
> rpc and HashMap so I don't knnow how to develop this in Java.
> When I iterate the whole HashMap and do it one field at a time I can
> see that when i get dates_video (like response.get("dates_video"))
On Sep 3, 12:15 am, Wouter wrote:
> I don't know. I use the android-xmlrpc client (http://code.google.com/
> p/android-xmlrpc/) and I only see the response like in few posts
> above..
>
> Is there another way to get the data?
ethereal/wireshark
--~--~-~--~~~---~--
I don't know. I use the android-xmlrpc client (http://code.google.com/
p/android-xmlrpc/) and I only see the response like in few posts
above..
Is there another way to get the data?
Wouter
On 3 sep, 00:00, skink wrote:
> Wouter wrote:
> > Hey,
>
> > Thank you for your answer. I have not that
Hey,
Thank you for your answer. I have not that much experience with xml
rpc and HashMap so I don't knnow how to develop this in Java.
When I iterate the whole HashMap and do it one field at a time I can
see that when i get dates_video (like response.get("dates_video")) the
response of this is an
Hm, there are three ways that I can think of:
1) write code that does this one field at a time (I assume this is
what you hope to avoid)
2) just keep it in the hash
3) leverage Java introspection to do #1 automatically
Faced with this in the past, I've opted for #2 for simplicity's sake,
but #3 w
How can i parse this reponse? Please help..
On Sep 1, 4:58 pm, Wouter wrote:
> Hey Mark,
>
> Thank you this worked great!
>
> Now I have another issue..
> I make another request:
>
> HashMap response = (HashMap)
> client.call("film.retrieveDetails",sessionKey, 500);
>
> I only can save the resp
Hey Mark,
Thank you this worked great!
Now I have another issue..
I make another request:
HashMap response = (HashMap)
client.call("film.retrieveDetails",sessionKey, 500);
I only can save the response as an HashMap (androidxmlrpc client..)
to get movie details and i get this response ==>
{d
> No one has an idea?
score=new FilmScore();
score.votes=response.get("votes");
score.total=response.get("total");
score.average=response.get("average");
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~-
No one has an idea?
On 22 aug, 14:00, Wouter wrote:
> Hey,
>
> I am using the android xmlrpc client (http://code.google.com/p/android-
> xmlrpc/) to consume a xml-rpc webservice.
>
> I can call the webservice and get data back but I want to save the
> received data in own made Objects.
>
> For e
hi,
i uploaded v0.2 of my thin XML-RPC library, hope you'll enjoy it,
please remeber to register in order to download files
pskink
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post t
Sorry, i forgot to mention you'd need to register...
yesterday i uploaded new version that uses pull parser iso dom one -
should be faster
to try it, run server.py on your dev box and then run attached .apk
that lays in bin folder
pskink
On 3 Gru, 11:39, check_writer <[EMAIL PROTECTED]> wrote:
Never mind, I was able to see it, didn't realize I had to register.
Keep up the good work, I'll try testing it and see if I can contribute
anything.
On Dec 2, 9:20 pm, check_writer <[EMAIL PROTECTED]> wrote:
> Thanks for your post, I went to the URL and I dont see any source
> there. Can you p
Thanks for your post, I went to the URL and I dont see any source
there. Can you please share the source code etc?
I'm hesistant to change over to REST so I'd prefer to stay with XML-
RPC as we have alot of code already on XML-RPC.
Please post a link to where I can get the code and try it out
i implemented very thin xml-rpc, try
http://www.anddev.org/slim_xml-rpc-t3800.html
pskink
>
> > > On Nov 24, 2:01 am, check_writer <[EMAIL PROTECTED]> wrote:
> > >> I tried implementing the ApacheXML-RPC3.1 as I normally would in a
> > >> Java 1.5 app in eclipse and got exceptions.
>
> > What w
check_writer wrote:
> Thanks for the REST suggestion, are we able to accomplish the same set
> of functionality (i.e. custom objects being serialized) etc?
XML-RPC takes data, encodes it, and sends it over HTTP.
REST takes data, encodes it, and sends it over HTTP.
--
Mark Murphy (a Commons Guy
Thanks for the REST suggestion, are we able to accomplish the same set
of functionality (i.e. custom objects being serialized) etc?
Essentially can we accomplish the same set of things with REST (binary
data, Objects being passed as arguments etc) as we do with XML-RPC
(from Apache 3.1)
I will lo
[EMAIL PROTECTED] wrote:
>See the aild documents: C:\android\docs\reference\aidl.html
AIDL is for cross-component communication (Activity to Service) inside
Android. AFAIK, it is not designed for use outside of Android, such as
in a client/server environment.
> On Nov 24, 2:01 am, check_wr
Sorry bad link, see: http://code.google.com/android/reference/aidl.html
Mark
On Nov 24, 10:20 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> See the aild documents: C:\android\docs\reference\aidl.html
>
> On Nov 24, 2:01 am, check_writer <[EMAIL PROTECTED]> wrote:
>
>
>
> > I
See the aild documents: C:\android\docs\reference\aidl.html
On Nov 24, 2:01 am, check_writer <[EMAIL PROTECTED]> wrote:
> I really apologize if this has been answered somewhere else. But
> I've searched all over for how to implement XML-RPC in Android with no
> luck real luck but dead urls
45 matches
Mail list logo