Sample Android Application for Users | Zoho Creator Help

Sample Android Application for Users

Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage

We have created an application using our SDK for your better understanding of the different methods and their usage.

1. Prerequisites

  • The latest version of Android Studio.
  • A Zoho account. If you do not have an account, sign up for one here.

2. Create a Zoho Creator application

  1. Download this file, then extract its contents. A folder named ZohoCreatorAndroidSDKDemo will be extracted.
  2. Access the folder. It will contain a Utility.ds file (which contains the definition of a sample Creator application).
  3. Go to your Creator Home.
  4. Click the Import a File button near the top-right corner.
  5. Select Local storage, then upload the Utility.ds file you extracted in step one. You'll be redirected to the Utility application.

3. Register your Android app with Zoho


3.1 Users in Creator 5, follow the below steps:

  1. Visit Zoho’s Developer Console.
  2. On the API Credentials page, click the Add Client ID button. The Create Zoho Client ID form will appear.
  3. In this form, enter the following details:
    • Client Name: Name of your app
    • Client Domain: Website of your app
    • Authorized redirect URIs: Redirect URI for authentication. The URI must be entered in the :// format; for example,
      myappsdk://
      (The URL is case-sensitive).
  4. In the Client Type drop-down list, choose Mobile.
  5. Click the Create button. The Client ID and Client Secret will be displayed.

3.2 Users in Creator 6, follow the below steps:

  1. Click Mobile from the left pane and select the SDK pane.

  2. Click on the required row of the iOS app for which you want to configure the core framework. The  For User - SDK pane will open on the right. 

  3. Click  Generate Client. This will generate the client ID and client secret for the Android app that you want to integrate with your Creator application.

  4. Downloaded the  zcapp_info.properties file, then add it to your project's  raw folder:  "<your_project_folder>/app/src/main/res/raw". (Create a folder named  raw in this location if it doesn't exist)

4. Install the Android SDK

  1. Open Android Studio and choose Import Project.
  2. In the Import Project dialog, select the Utility folder available in the file you downloaded in the previous section.
  3. Open the  zcapp_info.properties in the  app/src/main/res/raw folder and replace the following parameters:
    AppOwnerName=<Demo App Owner Name>
    AppLinkName=<Demo App Link Name>
    CreatorDomain=creator.zoho.com
    AccountsDomain=accounts.zoho.com
  4. Open the  strings.xml file and replace the following parameters:

    <string name="c_id"> YOUR CLIENT ID </string>
    <string name="c_secret"> YOUR CLIENT SECRET </string>
    <string name="redir_url"> REGISTERED REDIRECTURI </string>
    <string name="accounts_url">https://accounts.zoho.com</string>  <!--enter the accounts URL of your respective DC. For eg: EU users use https://accounts.zoho.eu-->
    <string name="redir_url_for_manifest">REDIRECT URI WITHOUT COLON AND SLASH</string>

  5. Run the project on emulator / device.

    Access your files securely from anywhere

      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

                                                                                                              • Sample iOS Application for users

                                                                                                                We have created an application using our Mobile SDK for your better understanding of the different methods and their usage. To install the app, you need to do the following: Prerequisites Creating the Zoho Creator application Registering your app ...
                                                                                                              • Code sign Android app for users

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. Note: Refer to this page for the Android code sign prerequisites From August 1, 2021, Google mandates that newly-created ...
                                                                                                              • Sample iOS Application for customers

                                                                                                                Customers refer to people or entities who are external to your organization. For example, the vendors, retailers, logistics partners and customers that your organization does business with. By design, you'll have to create a customer portal to allow ...
                                                                                                              • Sample widget

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. Sample Widget: Playground We shall learn to add a sample widget into your Creator application. The procedure is as follows: ...
                                                                                                              • Assign permissions dynamically to users in the application

                                                                                                                Requirement When a customer is added to the application, the application is instantly shared with the user, with the required permissions. Use Case In the order management application, a customer might sign up on the go once the business is live. All ...
                                                                                                                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