adtrace_sdk_android | This is the Android SDK

 by   adtrace Java Version: v2.3.0 License: MIT

kandi X-RAY | adtrace_sdk_android Summary

kandi X-RAY | adtrace_sdk_android Summary

adtrace_sdk_android is a Java library typically used in Telecommunications, Media, Telecom applications. adtrace_sdk_android has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This is the Android SDK of AdTrace. You can read more about AdTrace at adtrace.io.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              adtrace_sdk_android has a low active ecosystem.
              It has 11 star(s) with 5 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 2 have been closed. On average issues are closed in 105 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of adtrace_sdk_android is v2.3.0

            kandi-Quality Quality

              adtrace_sdk_android has no bugs reported.

            kandi-Security Security

              adtrace_sdk_android has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              adtrace_sdk_android is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              adtrace_sdk_android releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed adtrace_sdk_android and discovered the below as its top functions. This is intended to give you an instant insight into adtrace_sdk_android implemented functionality, and help decide if they suit your requirements.
            • Called when a web trace bridge is created
            • Executes the callback with the given event
            • Creates an ActivityHandler instance based on an adtrace configuration
            • Initializes the adTraceConfig object
            • Initialize the IRun activity
            • Called when the foreground timer is fired
            • Reads adtrace_config file
            • Sends the first packages in the queue i e i e the first package is set to send first packages in the queue
            • Handles start command
            • Returns the Facebook attribution ID for the Facebook application
            • Track third party sharing
            • Initializes the configuration
            • Calculates the hashCode of the track
            • Create an ActivityKind from a string
            • Shutdown package handler
            • Convert byte array to hex
            • Test connection options
            • Sends all referrer referrers
            • Compares two Activity packages
            • Calculate the hash code
            • Initialize the adtrace configuration
            • Deserialization
            • Compares this object to another
            • Track event
            • Terminate the application
            • Invoked when response is received
            Get all kandi verified functions for this library.

            adtrace_sdk_android Key Features

            No Key Features are available at this moment for adtrace_sdk_android.

            adtrace_sdk_android Examples and Code Snippets

            No Code Snippets are available at this moment for adtrace_sdk_android.

            Community Discussions

            No Community Discussions are available at this moment for adtrace_sdk_android.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install adtrace_sdk_android

            Example Apps
            Getting started Add the SDK to your project Add Google Play Services Add permissions Proguard settings Install referrer Google Play Referrer API Google Play Store intent
            Integrate the SDK into your app Basic setup Native App SDK Web View SDK Session tracking API level 14 and higher API level between 9 and 13 SDK signature AdTrace logging Build your app
            These are the minimal steps required to integrate the AdTrace SDK into your Android project. We are going to assume that you use Android Studio for your Android development and target an Android API level 9 (Gingerbread) or later.
            For native use example-app-java
            For web view use example-app-webbridge
            Create a class that extends Application.
            Open the AndroidManifest.xml file of your app and locate the <application> element.
            Add the attribute android:name and set it to the name of your new application class pefixed by a dot. In our example app we use an Application class named GlobalApplication, so the manifest file is configured as: <application android:name=".GlobalApplication" <!-- ...--> </application>
            In your Application class find or create the onCreate method and add the following code to initialize the AdTrace SDK: import io.adtrace.sdk.AdTrace; import io.adtrace.sdk.AdTraceConfig; public class GlobalApplication extends Application { @Override public void onCreate() { super.onCreate(); String appToken = "{YourAppToken}"; String environment = AdTraceConfig.ENVIRONMENT_SANDBOX; AdTraceConfig config = new AdTraceConfig(this, appToken, environment); AdTrace.onCreate(config); } }
            Call webView.getSettings().setJavaScriptEnabled(true), to enable Javascript in the web view
            Start the default instance of AdTraceBridgeInstance by calling AdTraceBridge.registerAndGetInstance(getApplication(), webView)
            This will also register the AdTrace bridge as a Javascript Interface to the web view
            Add a private class that implements the ActivityLifecycleCallbacks interface. If you don't have access to this interface, your app is targeting an Android API level inferior to 14. You will have to update manually each Activity by following these instructions. If you had AdTrace.onResume and AdTrace.onPause calls on each Activity of your app before, you should remove them.
            Edit the onActivityResumed(Activity activity) method and add a call to AdTrace.onResume(). Edit the onActivityPaused(Activity activity) method and add a call to AdTrace.onPause().
            Add on the onCreate() method where the AdTrace SDK is configured and add call registerActivityLifecycleCallbacks with an instance of the created ActivityLifecycleCallbacks class. import io.adtrace.sdk.AdTrace; import io.adtrace.sdk.AdTraceConfig; public class GlobalApplication extends Application { @Override public void onCreate() { super.onCreate(); String appToken = "{YourAppToken}"; String environment = AdTraceConfig.ENVIRONMENT_SANDBOX; AdTraceConfig config = new AdTraceConfig(this, appToken, environment); AdTrace.onCreate(config); registerActivityLifecycleCallbacks(new AdTraceLifecycleCallbacks()); //... } private static final class AdTraceLifecycleCallbacks implements ActivityLifecycleCallbacks { @Override public void onActivityResumed(Activity activity) { AdTrace.onResume(); } @Override public void onActivityPaused(Activity activity) { AdTrace.onPause(); } //... } }
            Open the source file of your Activity.
            Add the import statement at the top of the file.
            In your Activity's onResume method call AdTrace.onResume(). Create the method if needed.
            In your Activity's onPause method call AdTrace.onPause(). Create the method if needed.

            Support

            How can I reset Google Play store advertising identifier?I'm seeing the "Session failed (Ignoring too frequent session. ...)" errorIs my broadcast receiver capturing the install referrer?Can I trigger an event at application launch?
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link