How do I set up a beamReceive handler in my J2ME PalmOS Spotlet to receive data from another device?
Location: http://www.jguru.com/faq/view.jsp?EID=330206 Created: Feb 15, 2001 Modified: 2001-02-16 14:34:18.756 Author: Ivo Limmen (http://www.jguru.com/guru/viewbio.jsp?EID=327483) Question originally posed by alex urzola (http://www.jguru.com/guru/viewbio.jsp?EID=22839 To use the beamReceive handler, override the beamReceive method in the Spotlet. Define the function in your spotlet like so: public class BeamMe extends Spotlet { public void beamReceive(byte[] data) { // Your code here } } You can then access and use the byte array sent via the IR beam and use it as needed.