maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   message exchange with Java (https://talk.maemo.org/showthread.php?t=28560)

nnawfal 2009-04-26 18:00

message exchange with Java
 
I would like to write a java program which can allows me to send a message from my n810 to an other one under the adhoc mode.
how can i do it please.

Andre Klapper 2009-04-27 10:51

Re: message exchange with Java
 
..."adhoc" means Salut/Bonjour/Zeroconf support?
Did you check whether that's already available in rtcomm (Telepathy stack), or maybe 3rd party software as Pidgin, or do you insist on writing your own application?

TrueJournals 2009-04-27 13:29

Re: message exchange with Java
 
adhoc refers to two wifi devices connected to each other, usually without a connection to the Internet. So, a link-local protocol, like Bonjour, would be ideal, because no server is needed.

Really, though... look into other programming languages. Java is difficult to get running on the tablets, and doesn't run terribly well. Try something like Python, maybe?

nnawfal 2009-04-27 16:03

Re: message exchange with Java
 
I can not write it bye some other language because their are lot of part of my project and they r wrote in java, and one part is to send something like bonjour bye the ad hoc mode and send it to the other n810 but i really don t know from where to begin .

TrueJournals 2009-04-28 02:21

Re: message exchange with Java
 
I'm still not sure why you need to develop in java. Two different languages can talk to each other over the network, you know...

Anyway, I did a quick google search for java maemo, and the first result was this. Seems to be a good starting point, and cover anything I could tell you. Anything beyond putting Java on your tablet, though (such as help writing the network code, etc.) is really beyond the scope of these forums.

jpramlak 2009-04-28 14:01

Re: message exchange with Java
 
Your best bet would be to install Easy Debian Turbo-Charged Edition.
I believe Java works well in that environment, but is really slow.


All times are GMT. The time now is 13:22.

vBulletin® Version 3.8.8