Is there some easy way (easier than building up your own query), how to include
SQLiteDatabase.insertWithOnConflict();
in Android API since v7 ?
As far as I know, this is included in API since v8. Some kind of compatibility library, would be nice.
You are welcome to copy the implementation of that method from the open source code and use it as you see fit. At the time of this writing, it is on lines 1667 through 1725.