This the complete source code of Cogdemo-V2 app in playstore which is combined of cognalys library (Cognalys/bin/cognalys.jar).
You have to place your ACCESS_TOKEN and APP_ID ( grab from cognalys control panel ) inside (Cogdemo/src/com/matesnetwork/cogdemov2/MainActivity.java) line number (43,45).
The working demo Cogdemo-V2 is published on google play store :
https://play.google.com/store/apps/details?id=com.matesnetwork.cogdemov2
Documentation (integration):
https://cognalys.freshdesk.com/solution/categories/5000158767