Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Integrate Splunk MINT in an android project

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.58k
    Comment on it

    Splunk MINT is used to send crash report of your mobile application.
    After integrating Splunk MINT SDK in your application, you can use Splunk MINT Management Console to monitor your mobile apps.

     

    Follow the simple steps to integrate Splunk MINT in your application :

     

    1. Register on Splunk MINT :
       To use Splunk MINT, you must have to Sign up, after sign up click on add app button, after adding your application details you will get your 8 digits alpha numeric API key.

    2. Add following lines to AndroidManifest.xml file :

    android:minSdkVersion="7"
    android:targetSdkVersion="23" or the latest version
    <uses-permission android:name="android.permission.INTERNET" />

    3. Install Splunk MINT SDK using Gradle :
       Add the dependency to your build.gradle file, which is located in the root folder of your project:

    apply plugin: 'android'
    
    repositories {
        maven {
            url "https://mint.splunk.com/gradle/"
        }
    }
    
    dependencies {
        compile "com.splunk.mint:mint:5.0.0"
    }

    4. Integrate Splunk MINT in your project :
    To integrate Splunk MINT in your project, you just have to add a single line of code in onCreate() method of your activity.

    Mint.initAndStartSession(MyActivity.this, "YOUR_API_KEY");

    that's it.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: