Reply
Thread Tools
Posts: 9 | Thanked: 0 times | Joined on Apr 2009
#1
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's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
..."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?
__________________
maemo.org Bugmaster
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#3
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?
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
Posts: 9 | Thanked: 0 times | Joined on Apr 2009
#4
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's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#5
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.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
jpramlak's Avatar
Posts: 111 | Thanked: 24 times | Joined on Feb 2008 @ Raleigh, NC
#6
Your best bet would be to install Easy Debian Turbo-Charged Edition.
I believe Java works well in that environment, but is really slow.
 

The Following User Says Thank You to jpramlak For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:16.