How to Integrate the ASAP SDK with your Android app  

How to Integrate the ASAP SDK with your Android app

After successfully setting up the ASAP SDK on your Android application, the next step is to integrate it using Maven.

Include the following code in the root-level build.gradle file to integrate the SDK with your app.
  1. repositories
        {
            google()
            mavenCentral()
            maven {
                url "https://maven.zohodl.com/"
            }
            maven {
                url "https://downloads.zohocdn.com/wmslibrary"
            }
        }
The ASAP SDK was developed using Android Architecture Components. Therefore, the app code must include maven.google.com/google().
Next, include the dependency required for the SDK.

Include the dependency code required in the dependencies section of the app-level build.gradle file.

1. ‘com.zoho.desk:asapsdk:3.0_BETA_23' - ASAP SDK with default UI; includes Chat.
2. ‘com.zoho.desk:asap:3.0_BETA_20' - ASAP SDK with default UI; does not include Chat.
3. ‘com.zoho.desk:asap-api:3.0_BETA_20' - ASAP SDK without UI. Serves as the API provider.
  1. dependencies { implementation 'com.zoho.desk:asapsdk:3.0_BETA_17' }
You have successfully integrated the SDK with your app.

The configuration details of the ASAP SDK are as follows:
    •    compileSdkVersion - 33
    •    targetSdkVersion - 33
    •    minSdkVersion - 23
    •    org.jetbrains.kotlin:kotlin-stdlib:1.0.8

How to initialize the SDK on your Android App 

Once the SDK integration is completed, you must initialize the ASAP SDK on your app.

The following three keys are crucial for the initialization:
    •    Org ID
    •    App ID
    •    Data Center
 
The values of these keys appear under the Code Snippet section on the setup page of the ASAP help widget in Zoho Desk.

To initialize the SDK in your app, add the following code snippet to a subclass of the Application class.
  1. import android.app.Application;
    import com.zoho.desk.asap.api.ZohoDeskPortalSDK;

    public class MyApplication extends Application {
       public static ZohoDeskPortalSDK apiProvider;
       @Override
       public void onCreate() {
          super.onCreate();
          ZohoDeskPortalSDK.Logger.enableLogs();
          apiProvider = ZohoDeskPortalSDK.getInstance(getApplicationContext());
          apiProvider.initDesk(orgId, appId, datacenterValue);
       }
    }
Data Centers (DCs), according to the deployment types:
CN - ZDPDataCenter.CN
EU - ZDPDataCenter.EU
US - ZDPDataCenter.US
IN - ZDPDataCenter.IN
AU - ZDPDataCenter.AU
JP - ZDPDataCenter.JP

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION











                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                            Manage your brands on social media

                                              Zoho Desk Resources

                                              • Desk Community Learning Series


                                              • Digest


                                              • Functions


                                              • Meetups


                                              • Kbase


                                              • Resources


                                              • Glossary


                                              • Desk Marketplace


                                              • MVP Corner


                                              • Word of the Day


                                                Zoho Marketing Automation

                                                  Zoho Sheet Resources

                                                   

                                                      Zoho Forms Resources


                                                        Secure your business
                                                        communication with Zoho Mail


                                                        Mail on the move with
                                                        Zoho Mail mobile application

                                                          Stay on top of your schedule
                                                          at all times


                                                          Carry your calendar with you
                                                          Anytime, anywhere




                                                                Zoho Sign Resources

                                                                  Sign, Paperless!

                                                                  Sign and send business documents on the go!

                                                                  Get Started Now




                                                                          Zoho TeamInbox Resources



                                                                                  Zoho DataPrep Resources



                                                                                    Zoho DataPrep Demo

                                                                                    Get a personalized demo or POC

                                                                                    REGISTER NOW


                                                                                      Design. Discuss. Deliver.

                                                                                      Create visually engaging stories with Zoho Show.

                                                                                      Get Started Now









                                                                                                          • Related Articles

                                                                                                          • Introducing ASAP Android SDK

                                                                                                            Equipping the Help Center services as widgets to deliver instant assistance to your customers The ASAP SDK for Android provides easy access to help your Android app's end users. Using this SDK, you can create and customize a help widget within your ...
                                                                                                          • ASAP SDK Android - Release Notes

                                                                                                            3.0_BETA-22 • Updated the Kotlin from 1.5.23 to 1.8.0. • Updated Sales IQ Mobilisten SDK to the latest version. • Implemented the provision to show the status-based Tickets List. • Enhanced the Ticket details deep-linking feature by using the ...
                                                                                                          • How to change your language settings for ASAP Android SDK?

                                                                                                            The ASAP SDK supports 47 languages. You can set any language of your choice based on the geographical location of your app's end-users. Below are the 47 language codes that help you set the language for the ASAP help widget. Language Local Code ...
                                                                                                          • How to customize the ASAP SDK Help Widget UI?

                                                                                                            The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Android iOS Setting up a theme type You can customize the theme type in the SDK help widget ...
                                                                                                          • How to install an ASAP Help Widget

                                                                                                            The ASAP (App Support Across Platforms) help widget in Zoho Desk is a stand-alone application that provides users with an in-app self-service platform. It works in tandem with your business and allows you to to integrate help center features directly ...
                                                                                                            Wherever you are is as good as
                                                                                                            your workplace

                                                                                                              Resources

                                                                                                              Videos

                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                              eBooks

                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                              Webinars

                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                              CRM Tips

                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                Zoho Show Resources