Code the present, develop the future

Maven: how to put in a Java source the project version defined in pom.xml

Recently I decided to insert a message during Kripton Persistence Library initialization at run-time which display library version. To accomplish this task I need to include in the source code the maven project version contained in pom.xml. Is there a plugin for maven that can help me? The answer is YES! It’s templating-maven-plugin. So, I…
Read more

Kripton v.7 – work in progress

I’m not disappeared. I’m still here. I’m working on version 7 of Kripton Persistence Library. The main feature will be the support to SQLCipher, so you will be able to crypt your database! To bring this feature to Kripton, all generated data source will work with androidx.sqlite.db.SupportSQLiteDatabase. Kripton 7 have to say goodbye to android.sqlite.SQLiteDatabase.…
Read more

Interesting site: Heroku

I was looking for a host site to deploy my Java web application. I found https://www.heroku.com/. It has an interesting pricing to make some experiments: it’s free.

JHipster: a glue to develop modern web application with Angular/React and SpringFramework

JHipster is a complete suite of frameworks and libraries to develop a modern web application. It uses Angular and React to build front-end and Java Spring framework. It can be very useful if you need to develop a CRUD application in a short time. Some links (some of them are in Italian): https://www.jhipster.tech/ https://www.baeldung.com/jhipster http://www.mokabyte.it/2016/09/jhipster-1/…
Read more

Interesting site: surge.sh

Surge.sh offers a simple but useful host service to publish a static web site. I find it useful for my Angular development. The link is: https://surge.sh/

from StackOverflow: update some specific field of an entity

I take an old answer about the Room usage from stack overflow. The original post is: I am using android room persistence library for my new project. I want to update some field of the table. I have tried like in my Dao – But when I try to update using this method then it updates every…
Read more

Goodbye OpenGL, welcome Vulkan!

Some of my Android works is OpenGL ES 2.0 based. In the last time, I focused on other technologies and apps. OpenGL ES 2.0 is one of my favourites libraries, but I have to admit that it has some limitations, first of all, the constraint to be executed only on a single thread. Nowadays, with…
Read more

What about cyber security

Just a few title, abount WPA2 attack without password: https://medium.com/@adam.toscher/top-5-ways-i-gained-access-to-your-corporate-wireless-network-lo0tbo0ty-karma-edition-f72e7995aef2 https://github.com/edthamm/lootbooty https://www.youtube.com/watch?v=-uqTqJwTFyU&feature=youtu.be&t=22m34s

Webview or Chrome custom tabs?

During my app development on the Android platform, I always used the WebView component. I notice it is a slow component, but it does what it must do. Today I found some useful link about another widget to include web content in my Android app: the Chrome custom tab. I’ve already heard about it, but…
Read more

Kripton ORM: how to generate content provider – example 2

Kripton ORM has a lot of features and simplifies a lot the developer life. If your application needs to expose its database with a content provider, in most case you have to write it. I have already written on this feature, so if you didn’t read it, I suggest you read this post too. Today I take…
Read more