Desktop - Example App

To clear things up for you a bit better, we provide you a very simple implementation of a demo application using the 3rd party API so you get a little inspiration on how you could put the API to work for you. You can download or checkout the whole project on our GitHub project site.


Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.


What things you need to install the software and how to install them

  • NetBeans
  • Gluon Plugin for Netbeans (install via Plugin Manager)
  • The following libraries (Get libs)
    • json-smart-1.2.jar
    • jsonrpc2-base-1.38.jar
    • jsonrpc2-client-1.16.4jar
  • copy json* libs to libs folder in your project root
  • Checkout this NetBeans project and open it
  • Build the project and run it on your Desktop device

Using the API

For more info about how to use the API in your own project, head over to the API project site.

Additional notes

Java FX

For the demo application I used a Gluon Template project to demo how to implement a Java FX based Client. Gluon gives you a very simple base to develop a client that can run on desktops as well as on Android devices. But you can easily run the same code on a plain Java FX based project as well.

Specials about the Desktop Version

In order to run the API Java classes for Android on Desktop Clients, you need to strip out all Android Activity and Access-Permission related code from the Api class (or at least comment them out).

Your can simply use the Api class as used in this demo project of course.



This project is licensed under the MIT License - see the file for details


This project uses the work of other project groups in many essential areas, which I will name here, of course, and on whose project pages I would like to refer. Without the work of these people, it would not be possible to make this example project so insanely slim and easy to understand.

Next Post