Do wireless programmable remotes for PC-s exist? [closed] - java

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm looking for a programmable remote control for a Windows or Linux host machine. By programmable i mean i have ready to use (preferably Java or .NET) API for receiving key press events from the remote control and being able to write my own custom behavior logic.
Does anybody know if something like that exists and where to obtain one ?

You can find quite a few remotes supporting LIRC/WinLIRC at their site or here.
As for Java API support for LIRC, try here.

Yes, they exist. Just put ssh on your smart phone. You can ssh from your smart phone to the host machine.

Related

What is needed to make a packet capture system? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm wondering what it would take (skills wise) to make a packet capture system that collects the destination of the packets and stores them, so any help would be appreciated!
I'm hoping to do it in Python or Java, if that helps.
What you're trying to develop already exists for many years, and with multiple implementations:
Wireshark
TCPDump.
Both applications can write the packets in the PCAP format. Bear in mind that these applications require root access and privileges as they ask the kernel to fork the incoming packets to your application.
I Think you need something like jpcap and jNetpcap is wrapping in java.
check out below links :
sniff network traffic in java
full example of network sniffing in java

Best way to transmit data between two applications [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
What is the best way to transmit data between two (Java) applications running on the same machine? One obvious idea would be to use standard Sockets but this doesn't feel right.
I've heard that most operating systems have a built-in system specifically for this task. How is it called and how does it work?
And is there any other good method to do something like that?
I think it depends on what you want to communicate between the applications and the size of your project. Some examples:
Sharing of state - use a database, files or similar
Messaging - use a socket. On top of a socket you have several technologies you can leverage, like HTTP/REST, but you can also create your own transport
There are also message applications you can leverage, like RabbitMQ

it is nessesary to have a server in order to let the users interact in android application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'am wondering if there is a way to make a peer-to-peer or phone to phone connection, lets say is a chat room or a game online, it is required to have a server that accepts socket connections or is there an easy way to do this? I'am talking about android phone-to-phone application via sockets, cause I don't know where can I get a free java server to make this possible
You could probably host a server instance on one of the phones, have that phone connect to itself, and have the other phone connect to the hosting phone. This way would also allow for multiple phones to connect to eachother.
Although I haven't done any android programming i've been playing a game that does this through either wifi, or bluetooth...
I can't help you with code or anything but here's a link to the designer's blog
http://www.sleepingbeastgames.com/blog/
I answered in an answer because I can't comment yet :(

Get information on Usb Zwave key in Java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to get informations about a Zwave usb key in java, to access to its functions because I would like to write a program who can handle different connected devices using Zwave network.
Someone have an idea to get access to this informations and functions in Java ?
(Sorry if there are some misunderstanding in my sentences, I'm not English)
There are 2 frameworks to access USB devices in Java. Both wrap native libraries. One is specifically for HID devices (not sure of this applies to ZWave). I dont know if they have all the features required to speak to your zWave devices, but they would be the first thing to try.
http://www.usb4java.org
https://code.google.com/p/javahidapi/
Both implement the JSR-80 javax.usb API (which might be too high level).

Java Local Network Chat [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have spent much time researching how to create a chat system that would work between computers on the same local network, and so far have had no success (in Java). Could anyone provide me with references to things that actually work, or guide me?
Here are some useful resources that I found on Google.
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
http://www.youtube.com/watch?v=eANjtQ6wJv0
http://www.youtube.com/watch?v=eANjtQ6wJv0
There are many more if you just ask "how to make a LAN chat program in Java" in your favorite search engine. There are tutorials online, but it is recommended that you are pretty competent in the language as well as networking. Go back to the basics and read a bunch of books on Java.
For future reference, don't ask questions like that on Stack Exchange. Put problems that you have about code. Be specific!
You have two problems. One is discovery, the other is connections.
For discovery on the local network you want mDNS aka Bonjour.
jMDNS offers a pure java Bonjour implementation.
You need to setup a service advertisement and a service discovery.
Once you discover a service you can then connect to the daemon you have setup on each machine.

Categories