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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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