This post is mainly for developers interested in how to interact with Mixare.
A new apk has just been uploaded to the google code site. It will interact with mixare in several ways that I’ll describe in this post. You can get it here. Its sources are available under the GPLv3 license in the SVN repository of the project.
What this launcher shows is:
- How to check if mixare is installed on the phone, and go to the market otherwise.
- How to check if the GPS is enabled, and go to the system settings otherwise.
- Pass the url of a really simple REST service that will return four points around you to mixare.
As you can see in the screenshot below, it will also show the url that gets called, so that you can point you browser to it and see how the JSON answer looks like.
By clicking the “CLICK ME” button mixare will be launched and you will see four points around you. These points do not reflect anything real in you neighbourhood but should point towards North, East, South and West.
This launcher is an example of use case 3 as shown on the usage page. Please bear in mind that while this launcher is GPL (and so should be anything that will be developed on its base) you are allowed to develop you own launcher that interacts with mixare whithout releasing the sources for it (for instance if you want to protect your data).