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,
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 wouterg...@gmail.com wrote:
Hey,
I get a nice solution from skink, thank
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
On Sep 9, 6:08 pm, Wouter wouterg...@gmail.com 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
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 psk...@gmail.com wrote:
On Sep 9, 6:08 pm, Wouter wouterg...@gmail.com
On Sep 7, 3:24 pm, SIDIBE Ali-Broma jahbr...@gmail.com 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
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 psk...@gmail.com wrote:
On Sep 3, 12:15 am, Wouter wouterg...@gmail.com wrote:
I don't know. I use the android-xmlrpc client
On Sep 3, 10:36 am, Wouter wouterg...@gmail.com 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 psk...@gmail.com wrote:
On Sep 3, 12:15 am, Wouter
Hmm how can i see the raw data with wireshark?
On 3 sep, 11:03, skink psk...@gmail.com wrote:
On Sep 3, 10:36 am, Wouter wouterg...@gmail.com 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 Sep 3, 3:38 pm, Wouter wouterg...@gmail.com 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 psk...@gmail.com wrote:
On Sep 3, 10:36 am, Wouter wouterg...@gmail.com wrote:
yes with these tools i can see the data
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 psk...@gmail.com wrote:
On Sep 3, 3:38 pm, Wouter wouterg...@gmail.com wrote:
Hmm how can i see the raw data with wireshark?
just post xml you got from a server
On Sep 3, 10:36 am, Wouter wouterg...@gmail.com 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
OK finally got it, thanks for your help!
This is the xml response for film.retrieveDetails
?xml version=1.0 encoding=ISO-8859-1?
methodResponse
params
param
valuestruct
membernameurl/name
valuestringhttp://www.moviemeter.nl/film/500//string/value
/member
membernamethumbnail/name
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 psk...@gmail.com wrote:
Wouter wrote:
OK finally got it, thanks for your
Wouter wrote:
OK finally got it, thanks for your help!
membernamedates_video/name
valuearray
data
valuestruct
membernamedate/name
valuestring2002-07-16/string/value
/member
/struct/value
/data
/array/value
/member
what does:
Log.d(log1, response.get(dates_video));
Log.d(log2,
directors is also [Object that is Object array, so:
Object[] directors = (Object[]) response.get(directors);
for (int i=0; idirectors.length; i++) {
Log.d(log, directors[i]);
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
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
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 psk...@gmail.com wrote:
directors is also [Object that is Object array, so:
Object[]
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 psk...@gmail.com wrote:
directors is also [Object that is Object array, so:
Object[]
Object[] directors = (Object[]) response.get(directors);
for (int i=0; idirectors.length; i++) {
Map m = (Map) directors[i];
Log.d(log, map.get(name));
Log.d(log, map.get(id));
}
--~--~-~--~~~---~--~~
You received this message because you are
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
Object[] directors = (Object[]) response.get(directors);
Director[] darray = new Director[directors.length];
for (int i=0; idirectors.length; i++) {
darray[i] = new Director();
Map map = (Map) directors[i];
...
}
--~--~-~--~~~---~--~~
You received this
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; idirectors.length; i++) {
On Sep 3, 7:40 pm, Wouter wouterg...@gmail.com wrote:
Nice! Thank you so much!
It worked like this:
Object[] directors = (Object[])
response.get(directors);
Director[] directorArray = new
Director[directors.length];
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
How can i parse this reponse? Please help..
On Sep 1, 4:58 pm, Wouter wouterg...@gmail.com wrote:
Hey Mark,
Thank you this worked great!
Now I have another issue..
I make another request:
HashMapString, Object response = (HashMapString, Object)
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
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
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 psk...@gmail.com wrote:
Wouter wrote:
Hey,
Thank you for your answer. I
On Sep 3, 12:15 am, Wouter wouterg...@gmail.com 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
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)) the
Hey Mark,
Thank you this worked great!
Now I have another issue..
I make another request:
HashMapString, Object response = (HashMapString, Object)
client.call(film.retrieveDetails,sessionKey, 500);
I only can save the response as an HashMap (androidxmlrpc client..)
to get movie details and
No one has an idea?
On 22 aug, 14:00, Wouter wouterg...@gmail.com 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
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
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 to
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
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 were the
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
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.
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 really
[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,
43 matches
Mail list logo