You'll find in the following zip, an Eclipse project that shows how to implements the functionnalities described before, just ready to be used.
This code is free for any usage but can't be distributed.
Its distirbution and its intelectual property belongs to the web site:
The use of those codes is under your own responsability and nobody (else than you) can be considered as responsible for any loss or damage of any nature that results from this usage.
All the quoted products name or marks of this books are trade marks by their respective owners.