API for some language
Up to Idea box
Français :
Je pensais au developpement d'api pour des langages comme le perl, php ou le C à fin de ne pas être limiter au python et que pour les developeur perl et C puisse coder leurs applications
.Anglais :
I would like more API for other language (perl , php , C) ...
Ps:Sorry for my english...
Sure, we think about that too but right now we should first get some applications out with the api we already developped. Doing this we're having a lot of changes in the api when we find new needs or have to change a couple of things.
The mid-term idea is to start a new API from scratch, in python (yet again) but taking only the good structures from what we have now. We'll also move a couple of stuff from the api to the daemon in order to get the api lighter. Then it will be much easier to write some API's for other languages.
For the moment, even if you're not familiar with python, it really doesn't take long to be able to write some scripts for tuxdroid. That shouldn't stop you getting started. But I agree that we need to support more languages in the future. That's just that if we want to do it right, we need to spend some time thinking correctly about it.
David
The mid-term idea is to start a new API from scratch, in python (yet again) but taking only the good structures from what we have now. We'll also move a couple of stuff from the api to the daemon in order to get the api lighter. Then it will be much easier to write some API's for other languages.
For the moment, even if you're not familiar with python, it really doesn't take long to be able to write some scripts for tuxdroid. That shouldn't stop you getting started. But I agree that we need to support more languages in the future. That's just that if we want to do it right, we need to spend some time thinking correctly about it.
David
I am thinking about writing an API for C++ and maybe for C as well, but for that I'd need a reference of the communication protocol with tuxd. I admit that I didn't browse very deep yet, since I just installed my tuxdroid, so I might have just missed it (in this case a hint would be fine
). Since I'm experienced with C++ and bsd sockets programming, and want to integrate interaction with tuxdroid into a C++ application, such an API would be the next logical step to programming my own tuxdroid. And since I don't speak python at all, a necessary one 
Sascha
Powered by
Ploneboard