Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set up a beamReceive handler in my J2ME PalmOS Spotlet to receive data from another device?

0
Posted

How do I set up a beamReceive handler in my J2ME PalmOS Spotlet to receive data from another device?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123