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

        public String getId() {
                return id;
        }
        public void setId(String id) {
                this.id = id;
        }
        public String getName() {
                return name;
        }
        public void setName(String name) {
                this.name = name;
        }
}

and I want to save the data from the response (film.retrieveDetails)
in FilmDetail.java

public class FilmDetail {

        public String url;
    public String thumbnail;
    public String title;
    public Title[] alternative_titles;
    public String year;
    public String imdb;
    public String plot;
    public String duration;
    public Duration[] durations;
    public Actor[] actors;
    public String actors_text;
    public Director[] directors;
    public String directors_text;
    public Country[] countries;
    public String countries_text;
    public String[] genres;
    public String genres_text;
    public Date[] dates_cinema;
    public Date[] dates_video;
    public String average;
    public String votes_count;
    public int filmId;

So how can i save the data from directors (or other data) like this :
Director[] directors in FilmDetail.java?
I know how to do it for example String plot but how to do it for these
arrays?

Thank you!

Wouter

On 3 sep, 18:26, skink <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to