In this lesson, create client applications to receive the data collected by the embedded device. You will learn to:
* Create socket connections using the Generic Connection Framework * Write a simple server Midlet to respond to client requests and return data from the device * Create simple clients to display the raw data * Write a simple JavaFX visual client * Experiment with a more sophisticated JavaFX visual client that graphs the data * Use the PushRegistry to run a server IMlet only when needed
In this video, you will see a walk through of a typical client/server application using the Raspberry Pi and a simple text client on your Windows PC.
Duration: 13 mins
Type: Video
Released: 10.6 years ago
In this video, you will learn how to establish a connection between a MIDlet running on the Raspberry Pi and a client running on the Windows PC, and how to read values from the Record Management Store and put them on the wire to the client.
Duration: 14 mins
In this video, you will see how to extend the simple text client by creating a JavaFX application using Scene Builder. This client can visually graph the data collected from the Raspberry Pi's sensors.
In this video, we look at the PushRegistry, a class that works with the AMS to register connection and alarm events. Using the PushRegistry, you Midlet can be started by the AMS when an connection request is made. This approach saves memory and thread resources.
Homework 4 - clients
Type: Readme PDF
Released: 10.2 years ago
External Link
Contains files required for lesson 4
Type: Sample