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.


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        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 LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Intake FormsLegalMobile App
                              Form DesignerHRMobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsEncrypted Forms

                              Secure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now






                                                        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

                                                              Use cases

                                                              Make the most of Zoho Desk with the use cases.

                                                               
                                                                

                                                              eBooks

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

                                                               
                                                                

                                                              Videos

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

                                                               
                                                                

                                                              Webinar

                                                              Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                               
                                                                
                                                              • Desk Community Learning Series


                                                              • Meetups


                                                              • Ask the Experts


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner

                                                                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 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 ...
                                                                                                                        • 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 ...
                                                                                                                        • 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 ...
                                                                                                                          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