Follow the instructions below for Integration
- In the module's build.gradle file add UXCam:
repositories { maven{ url 'https://sdk.uxcam.com/android/' } } dependencies { implementation 'com.uxcam:uxcam:3.3.7@aar' }
- In every activity that is an entry point to your app, add
* Entry activities are usually those who have a custom <intent-filter> element in the AndroidManifest.xml file.import com.uxcam.UXCam;
- Start UXCam inside onCreate method.Your App-key is available from UXCam dashboard.
UXCam.startWithKey("App-key from UXCam");
If you are using ProGuard, add the following line to the Proguard rules for compilation:
-keep class com.uxcam.** { *; }
-dontwarn com.uxcam.**
If you are using Android Studio, Verify that HttpPost service is included in your merged manifest. To view your merged manifest, open your manifest file and click on merged manifest tab.
This will complete the integration process.
Your session will be shown on the dashboard within a few seconds after the app goes in the background. You can optionally use the API'es for customization such as identifying users from your database with UXCam, tag sessions or hiding sensitive views.
Please download the latest Android SDK here
- Add the uxcam-3.3.7.aar file in the "libs" folder of your Android project.
- In the module's build.gradle file add:
repositories { flatDir { dirs 'libs' } } dependencies { implementation(name: 'uxcam-3.3.7', ext: 'aar') }
- For every activity that is an entry point to your app, add
* Entry activities are usually those who have a custom <intent-filter> element in the AndroidManifest.xml file.import com.uxcam.UXCam;
- Start UXCam inside onCreate method. Your App-key is available from UXCam dashboard.
UXCam.startWithKey("App-key from UXCam");
If you are using ProGuard, add the following line to the Proguard rules for compilation:
-keep class com.uxcam.** { *; }
-dontwarn com.uxcam.**
This will complete the integration process.
Your session will be shown on the dashboard within a few seconds after the app goes in the background. You can optionally use the API'es for customization such as identifying users from your database with UXCam, tag screens or hiding sensitive views.
Please download the latest Android SDK here
- Add the uxcam-3.3.7.jar file to the "libs" folder of your Android project.
- In the module's build.gradle file add:
dependencies { implementation files('libs/uxcam-3.3.7.jar') }
- Edit AndroidManifest.xml to make sure the following permissions are present:
* Entry activities are usually those who have a custom <intent-filter> element in the AndroidManifest.xml file.<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> - Edit AndroidManifest.xml to add the following services inside your application tag
<service android:name="com.uxcam.service.HttpPostService"/>
- For every activity that is an entry point to your app, add
* Entry activities are usually those who have a custom <intent-filter> element in the AndroidManifest.xml file.import com.uxcam.UXCam;
- Start UXCam inside onCreate method. Your App-key is available from UXCam dashboard.
UXCam.startWithKey("App-key from UXCam");
This will complete the integration process. Your session will be shown on the dashboard within a few seconds after the app goes into the background.
You can optionally use the APIs for customization such as identifying users from your database with UXCam, tag screens, or hiding sensitive views.
Do you have Fragments inside your Activities?
We detect Android activities automatically. However, if you have one or more fragments inside an activity, you should use our API to Tag screen names, and you need to tag fragment name instead of activity. Follow this guide →