Common methods | Zoho Creator Help

Common methods

The ZCUISDKUtil of Zoho Creator's Android SDK lets you manage the interface of the components of your Zoho Creator applications. Below are the methods available in it.

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

Java - Methods common to the components in your Creator applications

static void openApplication(Activity callingActivity, ZCApplication zcApplication)

Opens the application dashboard, i.e., the screen that lists the components of the specified Zoho Creator application.

Parameters:

callingActivityActivity instance which has to be used to invoke the next activity.
zcApplicationAn object which holds the application info.

 

static void openComponent(Activity callingActivity, ZCApplication zcApplication, ZCComponent zcComponent)

Opens the specified UI component (form, report, or page) of the specified Zoho Creator application.

Parameters:

callingActivityActivity instance which has to be used to invoke the next activity.
zcApplicationAn object that holds the details of the specified application.
zcComponentAn object which holds the details of the component(form, page or report).

 

static Fragment getFragmentViewForComponent(ZCApplication zcApplication, ZCComponent zcComponent)

Returns the specified UI component (form, report, or page) of the specified Zoho Creator application for embedding it in your Android app’s custom screen.

Parameters:

zcApplicationAn object which holds the application info.
zcComponentAn object that holds the details of the specified application.
zcComponentAn object which holds the details of the component(form, page or report).

Returns:

FragmentFragment instance in which you can embed in your activity.

static void logout(Activity activity, boolean skipConfirmDialog,OAuthLogoutListener logoutListener)

Logs out the logged-in user.

Parameters:

callingActivityActivity instance which has to be used to invoke the next activity.
skipConfirmDialogSet value as 'true' if you don't want to show logout confirmation dialog to user, else set value 'false'.
logoutListenerCallback after the logout.

 Note: You'll need extend your activity from ZCBaseActivity to embed the UI component in your Android app.

Kotlin - Methods common to the components in your Creator applications

fun openApplication(callingActivity: Activity, zcApplication: ZCApplication?)

Opens the application dashboard, i.e., the screen that lists the components of the specified Zoho Creator application.

Parameters:

callingActivityThe activity instance that has to be used to invoke the next activity.
zcApplicationAn object that holds the details of the specified application.

 

fun openComponent(callingActivity: Activity, zcApplication: ZCApplication?, zcComponent: ZCComponent)

Opens the specified UI component (form, report, or page) of the specified Zoho Creator application.

Parameters:

activityThe activity instance that has to be used to invoke the next activity.
zcApplicationAn object that holds the details of the specified application.
zcComponentAn object that holds the details of the specified component (form, report, or page) of the specified application.

 

fun getFragmentViewForComponent(zcApplication: ZCApplication, zcComp: ZCComponent): Fragment?

Returns the specified UI component (form, report, or page) of the specified Zoho Creator application for embedding it in your Android app’s custom screen.

Parameters:

zcApplicationAn object that holds the details of the specified application.
zcComponentAn object that holds the details of the specified component (form, report, or page) of the specified application.

Returns:

FragmentThe fragment instance that you can embed in your activity.

 

fun logout(callingActivity: Activity, skipConfirmDialog: Boolean, logoutListener: CreatorOAuthInterface.OAuthLogoutListener)

Logs out the logged-in user.

Parameters:

callingActivityThe activity instance that has to be used to invoke the next activity.
skipConfirmDialogIt controls showing the logout confirmation dialog. Set it to 'true' to skip showing the logout confirmation, else set it to 'false'.
logoutListenerCallback after the logout.

Note: You'll need extend your activity from ZCBaseActivity to embed the UI component in your Android app.


    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






                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Offline Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                                                                              • Report related methods

                                                                                                                The ZCUISDKUtil of Zoho Creator's Android SDK lets you manage the interface of the components of your Zoho Creator applications. Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production ...
                                                                                                              • Form related methods

                                                                                                                The ZCUISDKUtil of Zoho Creator's Android SDK lets you manage the interface of the components of your Zoho Creator applications. Note: You'll need extend your activity from ZCBaseActivity to embed the UI component in your Android app. Java - Methods ...
                                                                                                              • Common errors

                                                                                                                Below are some of the commonly-faced errors that users face while using Zoho Creator's SDK for iOS, and how they can resolve them. Common errors Swift Version mismatch error Form fetch error Error on building the project Error resolution Ensure ...
                                                                                                              • Page related methods

                                                                                                                The ZCUISDKUtil of Zoho Creator's Android SDK lets you manage the interface of the components of your Zoho Creator applications. Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production ...
                                                                                                              • Common and parallel transitions

                                                                                                                Note: A common transition cannot be parallel transition and vice versa. Refer here to know the limitations for common and parallel transitions. Common transition Parallel transition Common transition A transition that can be accessed from multiple ...
                                                                                                                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