IOT Android Things

Android Things for IoT developers

Android Things™ was revealed by Google on December 13, 2016. Formerly know as Brillo, which was announced during Google IO 2015, Android Things now is available as a developer preview. The Android Things SDK documentation basically says that developers can use almost the full Android stack for mobile. On top of that there is the “Things Support Library” offering APIs to interact with peripherals and “user drivers”. Both expose a Java API, so “user drivers” are not that close to the metal as the name might suggest.
Continue reading

greenDAO 3.2(.1) Release

With greenDAO 3.2.x we are improving Android studio compatibility. Actually, greenDAO 3.2.0 was already released a couple of weeks ago, without a notification post. The first 3.2 release aligned an internal dependency (JDT ) to work nicely with Android Studio 2.2. Also, it added Protocol Buffers support to annotations. Today we are releasing 3.2.1 for the greenDAO plugin. Note that the core greenDAO lib and the generator did not have to be updated and thus remain at V3.2.0. This plugin update further improves Android Studio and Jack compiler integration and fixes some bugs. Check the changelog for details.

ORM FAQ

SQLite access with an ORM – FAQ

What is an Object-Relational-Mapper (ORM)?

An ORM is a layer between the relational SQLite database and the object-oriented app code. The ORM allows the developer to use the database without the need to transform objects into a format suited for the relational database.

Do I need an ORM to work with SQLite?

Continue reading

greenDAO 3.1.1 Bugfix Release

Today, we released a new version of greenDAO addressing some issues with @Entity annotations. If haven’t tried them yet, please give them a try. We think this is the most convenient way to work with greenDAO, or SQLite in general. For details on the 3.1.1 improvements, please check the changelog.

performant java hashfunctions

Performant Java hash functions – today’s Java hash problems and our solution

Today, core Java APIs lack high quality hash functions, and 3rd party implementations provide sub-optimal performance. As non-cryptographic hash function are important building blocks of software, this is a major bummer for developers.

Generally, the selection of available hash functions is plenty, and in the last decade, many new hash functions emerged with very good hashing properties. Surprisingly, the core Java API just still offers Adler32 and CRC32, which were designed as checksums many years ago. Of course, there are many hash implementations available outside of the core Java API. However, Continue reading