MIXPANEL :
INSTALLING MIXPANEL LIBRARY :
Step 1 - Add Google Play Services to your project.
Google play services are required to build the Mixpanel lib.
Step 2 - Download the latest Mixpanel library release
To use the Mixpanel library inside of Eclipse, download the latest library source from Github and extract it. ( https://github.com/mixpanel/mixpanel-android/releases/tag/v4.6.1 )
Step 3 - Import the Mixpanel library into your project's workspace:
Step 4 - Associate the library as a dependency of your project:
(Google play services && Mixpanel library ) Google play services are dependency to Mixpanel.
Step 6 - Add permissions to your AndroidManifest.xml:
6.1
<!--This permission is required to allow the application to send events and properties to Mixpanel.-->
<uses-permission android:name="android.permission.INTERNET" />
6.2
<!-- This permission is optional but recommended so we can be smart about when to send data. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6.3
<!-- This permission is optional but recommended so events will contain information about
bluetooth state -->
<uses-permission android:name="android.permission.BLUETOOTH" />
Error : That is Facing at time of integration ;
1. Problem : import android.support.annotation.IntDef; (unable to resolve package name.)
Solution : find android.support.annotation Library in android_sdk\extras\android\support\annotations
At this point, you're ready to use the Mixpanel library inside Eclipse!
Getting Your Token :
Go to website : https://mixpanel.com/
signUp!
Create Project:
inside your project : user Profile : get your token : "1ef7e30d2a58d27f4b90c42e31d6d7ad"
INSTALLING MIXPANEL LIBRARY :
Step 1 - Add Google Play Services to your project.
Google play services are required to build the Mixpanel lib.
Step 2 - Download the latest Mixpanel library release
To use the Mixpanel library inside of Eclipse, download the latest library source from Github and extract it. ( https://github.com/mixpanel/mixpanel-android/releases/tag/v4.6.1 )
Step 3 - Import the Mixpanel library into your project's workspace:
Step 4 - Associate the library as a dependency of your project:
(Google play services && Mixpanel library ) Google play services are dependency to Mixpanel.
Step 6 - Add permissions to your AndroidManifest.xml:
6.1
<!--This permission is required to allow the application to send events and properties to Mixpanel.-->
<uses-permission android:name="android.permission.INTERNET" />
6.2
<!-- This permission is optional but recommended so we can be smart about when to send data. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6.3
<!-- This permission is optional but recommended so events will contain information about
bluetooth state -->
<uses-permission android:name="android.permission.BLUETOOTH" />
Error : That is Facing at time of integration ;
1. Problem : import android.support.annotation.IntDef; (unable to resolve package name.)
Solution : find android.support.annotation Library in android_sdk\extras\android\support\annotations
At this point, you're ready to use the Mixpanel library inside Eclipse!
Getting Your Token :
Go to website : https://mixpanel.com/
signUp!
Create Project:
inside your project : user Profile : get your token : "1ef7e30d2a58d27f4b90c42e31d6d7ad"