Search:

Type: Posts; User: OneWorld123; Keyword(s):

Search: Search took 0.05 seconds.

  1. We cant go with just a JSON Object or HashMap,...

    We cant go with just a JSON Object or HashMap, because we want to give those objects some more logic in form of additional methods.

    Ok, it's good to know about GSON. But why are you not just using...
  2. I dont see you taking use of the Event and...

    I dont see you taking use of the Event and Location objects in the 2nd code frame.

    You just download the resource and parse them to String with the help of RestTemplate. Later on u parse the...
  3. Any known issues when providing the RestTemplate instance with singleton pattern?

    E.g. when threading.
  4. How? Could you provide me the code? Thx!

    How? Could you provide me the code? Thx!
  5. @dutchman: I think u forgot the @Annotations in...

    @dutchman: I think u forgot the @Annotations in our Event class which are required for the JacksonJSONparser
  6. I added an empty contructor to "MyObject" and put...

    I added an empty contructor to "MyObject" and put "MyObject.class" into the getForObject method.

    Result: all attributes are null.

    So I remain using the wrappe and dont use empty constructors....
  7. Here is the JSON file: ...

    Here is the JSON file:


    {"myObject":{"title":"this is the...
  8. After a lot of trial and error I got it working....

    After a lot of trial and error I got it working. Take a look at my results...

    Example:

    Execution of the getForObjectMethod


    RestTemplate restTemplate = new RestTemplate();...
  9. Examples to make RestTemplate work with JSON?

    The first time I saw http://static.springsource.org/spring-android/docs/1.0.x/reference/htmlsingle/#spring-android-rest-template-example2 I thougt This is the framework to go! Now after 3 days on it...
  10. Thats the way I fixed it with the help of...

    Thats the way I fixed it with the help of dutchman:

    I downloaded http://jackson.codehaus.org/1.6.3/jackson-all-1.6.3.jar from http://wiki.fasterxml.com/JacksonDownload dragged the .jar file in my...
  11. Android RestTemplate: How to assign the JSON Message converter

    Thats my approach so far:



    //relevant imports:
    import org.springframework.http.converter.HttpMessageConverter;
    import...
  12. Replies
    12
    Views
    6,061

    hey nala, in my initial post in point 1 I...

    hey nala,

    in my initial post in point 1 I wrote a link to a zip file. I took the jar-file from the bin folder in this file.
    Dont add the logging...jar to your build path. its in this version...
  13. Replies
    12
    Views
    6,061

    Solved it!

    Thats the way I got it working in eclipse:

    Pull spring-android-rest-template-1.0.0.M1.jar into eclipse and add it to build path Download...
  14. Replies
    12
    Views
    6,061

    Issue #2 11-30 14:35:21.339:...

    Issue #2

    11-30 14:35:21.339: INFO/ActivityManager(1283): Process org.dayup.gtask (pid 19008) has died.
    11-30 14:35:21.339: INFO/dalvikvm(19022): WOW: somebody generated [Landroid/graphics/Rect;...
  15. Replies
    12
    Views
    6,061

    I have exactly the same problem. Could you...

    I have exactly the same problem.

    Could you please provide a more detailed install instructions? I use Google API 4 (includes Android 1.6)

    I went this way:

    Download...
Results 1 to 15 of 15