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:
callingActivity | Activity instance which has to be used to invoke the next activity. |
zcApplication | An 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:
callingActivity | Activity instance which has to be used to invoke the next activity. |
zcApplication | An object that holds the details of the specified application. |
zcComponent | An 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:
zcApplication | An object which holds the application info. |
zcComponent | An object that holds the details of the specified application. |
zcComponent | An object which holds the details of the component(form, page or report). |
Returns:
Fragment | Fragment 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:
callingActivity | Activity instance which has to be used to invoke the next activity. |
skipConfirmDialog | Set value as 'true' if you don't want to show logout confirmation dialog to user, else set value 'false'. |
logoutListener | Callback after the logout. |