Menu

rtmjava on Android?

2008-12-03
2013-04-23
  • Peter Neubauer

    Peter Neubauer - 2008-12-03

    hi folks,
    I am thinking of doing an Android client using RTMJava. I noticed that the latest codebase in SVN is using HTTPClient 4.x, it seems that Android prepackages 3.x atm. Would it be a big problem to get the two compatible, it seems it is mostly the setting of the globalHttpParams in the Invoker class that is causing problems.

    Then, I tried to get started, but it seems I am getting 400 Bad Request all the time when trying to get a test request.

    I changed the Log to Androids logging in Invoker at get
    12-03 08:01:19.091: INFO/Invoker(1273): Executing the method:/services/rest/?method=rtm.auth.getFrob&api_key=aa266785925ffb2b04a3fd6e4a0200&api_sig=b93074608ba545c7642e8045e50748d2

    Which might be bad as a first request according to http://www.rememberthemilk.com/services/api/authentication.rtm or am I missing something?

    If anyone is interested I will commit the code to www.ops4j.org as soon as something is working (or even before if you need to check it out)

    Cheers

    /peter

     
  • Edouard Mercier

    Edouard Mercier - 2009-09-16

    Hello Peter.

    Sorry to be that late. Your analyzis is correct, and when using the RTMJava API on Android, you should consider using the source code and not the compiled library. The TooDo Android application uses this library.

    If you need further assistance, just let me know.
    Regards,
    Édouard

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.