About Diane Demo (Roboguiced)
This app is a demo for Diane, a framework useful for developing geolocalized "full aware" searching app.
Really, a geolocalized searching app can not use only geoposition in order to retrieve interesting data, because it needs some data source, remote or local. But if there is not connectivity, searchs will fail.
So, Diane provides some back-off strategies on local data (that is: a cache), allowing to achieve some (best-effort) results: this is the "cache awareness".
Moreover, we would have some further strategies with which app will do their search, eg: best server among many, choicing for ttl or distance; or if cache data are too old, app will not use them; etc. And this is the "network awareness".
Last, but probably it is the most important strategy, the "location awareness": behind the scenes, there is a piece of external code that you can bind for this feature - you have just care it implements a simple interface used within Diane.
Finally, your app implementation is just coding your own logic within abstract method inheriting from framework.
Details about strategies, how-to and source code are available at: https://github.com/k0smik0/diane
[This app is "roboguiced" version, using Roboguice for dependency injection, while another version ("vanilla") does not require external framework/libraries to implement "boiler-plate" code; it is also available here in play store as "Diane Demo Vanilla"].
Download and install
Diane Demo (Roboguiced) version 1.0 on your
Android device!
Downloaded 10+ times, content rating: Everyone
Android package:
net.iubris.diane_demo__roboguiced, download Diane Demo (Roboguiced).apk