Skip to content

Android Integration


  • Your App Version must be targeted for ICS (4.0.1) and above
  • minSdkVersion version 15 and above.

This setup assumes you have already setup your App Key on the Dashboard

See requirements.

Integration Steps

Include Pointzi repositories in your top level build.gradle for all projects.

allprojects {
    repositories {
        maven {
            url ""
        maven {
            url ""
Include Pointzi dependencies in your module/app level build.gradle.

dependencies {
    compile "com.streethawk:pointzi:latest.release"
Add the following code in your application's launcher activity, replacing MyApp with the app_key from the dashboard.

Pointzi.INSTANCE.init(application,  "MyApp");

you can get application> through the getApplication() method or this, for example:

import com.streethawk.library.pointzi.Pointzi;

Pointzi.INSTANCE.init(getApplication(),  "MyApp");
We recommend you also send a unique ID for the user so you can "tag" users from backend system. This is called the sh_cuid. To do this place the following snippet just after your registration and login calls.

//unique id in your system, for example customer's login id
StreetHawk.INSTANCE.tagString("sh_cuid", "");

Proguard configuration.

If you use Proguard, please follow instruction below.

Depending on your ProGuard config and usage, you may need to put the following lines into your file:

 ### -- Pointzi
 -keep class com.streethawk.library.pointzi.** { *;}

 #### -- Paper On Boarding
 -dontwarn com.ramotion.paperonboarding.R**
 -keepclassmembers class  com.ramotion.paperonboarding.** { *; }

 #### -- Apache Commons --
 -dontwarn org.apache.commons.logging.**

 #### -- Glide (optional) ---
 -keep class com.bumptech.glide.**
 -dontwarn com.bumptech.glide.**
 -keep public class * implements com.bumptech.glide.module.GlideModule
 -keep public class * extends com.bumptech.glide.module.AppGlideModule
 -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
    **[] $VALUES;
    public *;

Glide image library support

Include Image Fetching GLIDE dependencies in your module/app level build.gradle.

compile 'com.github.bumptech.glide:glide:3.5.2'