- Reference
- Client API
- UX
- UX methods
- phoneGapRemoveDirectoryRecurse Method
- _delayTillPhoneGapReady Method
- _filterList Method
- _findRepeatingSection Method
- _fixAllRepeatingSectionHeaders Method
- _getDirtyLists Method
- _getListForDetailViewControl Method
- _getOnlineStatus Method
- _getRepeatingSectionRowCount Method
- _hasDirtyLists Method
- _isControlInDetailView Method
- _listFetchMore Method
- _listFetchRecordsByKey Method
- _listGetElement Method
- _listMoveAllRows Method
- _listMoveCurrentSelection Method
- _listNavigate Method
- _listNavigateRecord Method
- _listNavigateToPage Method
- _listRefreshCascadingLists Method
- _listRefreshRecordsByKey Method
- _listRefreshRow Method
- _listRemoveAllRows Method
- _listRemoveSelectedRows Method
- _listShiftPositionSelectedRows Method
- _ls_deleteKeys Method
- _ls_getData Method
- _persistFolder Method
- _persistFS Method
- _persistToLocalStorageInitializeKeys Method
- _populateSourceComponent Method
- _prepareRepeatingSection Method
- _primaryKeyListSetKey Method
- _refreshListData Method
- _repeatingSectionLogicalToPhysicalRow Method
- _restoreVariablesFromLocalStorage Method
- _setRepeatingSectionRowCount Method
- _setSimulatedOnlineStatus Method
- _tabInfo Method
- _updateAjaxURL Method
- accordionControl Method
- actionSheet Method
- activateControlContainer Method
- addCustomSchemeForAlphaWkWebView Method
- addRepeatingSectionRow Method
- ajaxCallback Method
- ajaxCallbackCrossDomain Method
- argumentValue Method
- buttonClick Method
- clearLoginErrors Method
- clientSideValidateField Method
- closeContainerWindow Method
- closeCurrentTabbedUIPane Method
- closeWindow Method
- computeSearchFromMetaDataAndFilterList Method
- copyRepeatingSectionRow Method
- copyTextToClipboard Method
- countRecordsToSynch Method
- customSetting Method
- debugInfoToFile Method
- debugInfoToS3 Method
- deleteRecord Method
- deleteRepeatingSectionRow Method
- destroyChildComponent Method
- dropDownMessage Method
- dropDownMessageHide Method
- duplicateRepeatingSectionRow Method
- editorCancel Method
- editorCommit Method
- editorFromControl Method
- editorFromValue Method
- exportChart Method
- fireLayoutRule Method
- formViewClearErrors Method
- formViewCommit Method
- formViewData Method
- formViewGetState Method
- formViewGetViewBox Method
- formViewInvokeEditor Method
- formViewIsDirty Method
- formViewNavigate Method
- formViewNewRecord Method
- formViewRefresh Method
- formViewRow Method
- formViewSetLayout Method
- formViewSetStateVariables Method
- formViewUpdate Method
- formViewValidate Method
- frameOpenStateChange Method
- getChildObject Method
- getConnectionType Method
- getControl Method
- getCurrentEditorSettings Method
- getData Method
- getDateValue Method
- getFromDataCache Method
- getInstanceNumber Method
- getKey Method
- getListClientSideSummaryValue Method
- getListData Method
- getListServerSideSummaryValue Method
- getOrientation Method
- getPanelObject Method
- getParentObject Method
- getPointer Method
- getRepeatingSectionActiveRow Method
- getSessionVariable Method
- getSize Method
- getStateInfo Method
- getStripeResults Method
- getTopParentObject Method
- getValue Method
- getValueDisplay Method
- getWindow Method
- graphQLQuery Method
- graphQLQueryPromise Method
- harvestRepeatingSectionColumn Method
- hideContainerWindow Method
- hideRepeatingSectionColumn Method
- hideWaitMessage Method
- httpFetch Method
- imageIsEmpty Method
- IndexedDB
- inkIsEmpty Method
- instantUpdateCheckForUpdate Method
- instantUpdateRefresh Method
- instantUpdateUseAutoUpdate Method
- jsChartRedraw Method
- jsChartRefreshData Method
- jsChartResize Method
- jsChartSetProperties Method
- json_to_excel Method
- listColumnSelector Method
- listGetValue Method
- loadCSSFile Method
- loadDataFromRepository Method
- loadJavascriptFile Method
- loggedInUserNameFriendly Method
- login Method
- loginStage2 Method
- logout Method
- moveDownRepeatingSectionRow Method
- moveUpRepeatingSectionRow Method
- networkSpeedTest Method
- newRecord Method
- onTimerEventStart Method
- onTimerEventStop Method
- openLookup Method
- panelGet Method
- panelGetActive Method
- panelGetId Method
- panelHeight Method
- panelNavigate Method
- panelRemove Method
- panelSetActive Method
- panelWidth Method
- pdfViewerLoad Method
- persistListColumnLayout Method
- persistListToLocalStorage Method
- persistVariablesToLocalStorage Method
- phoneGapCopyFileURL Method
- phoneGapCreateDirectory Method
- phoneGapCreateDirectoryRecurse Method
- phoneGapCreateFile Method
- phoneGapDeleteFile Method
- phoneGapDeleteFilesNotInListURL Method
- phoneGapDeleteFileURL Method
- phoneGapDownloadManifestFiles Method
- phoneGapEnsureDirPathURL Method
- phoneGapFileExists Method
- phoneGapFileExistsURL Method
- phoneGapFilesAvailable Method
- phoneGapGetDirectory Method
- phoneGapGetDirectoryRecurse Method
- phoneGapGetLocalDirURL Method
- phoneGapListFilesRecurseURL Method
- phoneGapListFilesURL Method
- phoneGapLoaded Method
- phoneGapMoveFileURL Method
- phoneGapReadFile Method
- phoneGapReadFileURL Method
- phoneGapRemoveDirectory Method
- phoneGapRemoveDirectoryRecurse Method
- phoneGapRemoveDirectoryRecurseURL Method
- phoneGapUnzipFiles Method
- phoneGapWriteFileURL Method
- populateControlsFromTable Method
- populateDropdownBox Method
- populateDropdownBoxRepeatingSection Method
- populateExpandingMenuControl Method
- populateMultiSelectTokensControl Method
- populateUXControls Method
- Progress Bar
- readDataCacheItems Method
- refreshCaptcha Method
- refreshChart Method
- refreshClientSideComputations Method
- refreshDataCacheItem Method
- refreshDataSeries Method
- refreshDropdownBoxChoices Method
- refreshExpandingMenuData Method
- refreshListData Method
- refreshListsIncremental Method
- refreshPrimaryKeyList Method
- refreshViewBoxData Method
- resetForm Method
- restoreListColumnLayout Method
- runAction Method
- saveDataInRepository Method
- saveListEdits Method
- selectTabPane Method
- serverIsAvailable Method
- setArgumentValue Method
- setChannel Method
- setClean Method
- setControlDisplay Method
- setCSS Method
- setDirty Method
- setDisabled Method
- setErrors Method
- setFocus Method
- setKey Method
- setListColumnsAndPopulate Method
- setListTemplateAndPopulate Method
- setRepeatingSectionActiveLogicalRow Method
- setRepeatingSectionActiveRow Method
- setRepeatingSectionColumnWidth Method
- setStateInfo Method
- setValue Method
- setValueFrom Method
- showContainerWindow Method
- showWaitMessage Method
- signatureIsEmpty Method
- sortPrimaryKeyList Method
- sortRepeatingSection Method
- stripCustomSchemeForAlphaWkWebView Method
- submit Method
- submitListDataAndMediaFiles Method
- swapRepeatingSectionRows Method
- synchronizeEmbeddedUX Method
- synchronizeLists Method
- tabTimerGoto Method
- tabTimerStart Method
- tabTimerStop Method
- transientMessage Method
- unZoomPanelCard Method
- validate Method
JavaScript
{dialog.object}phoneGapRemoveDirectoryRecurse Method
Syntax
{dialog.object}.phoneGapRemoveDirectoryRecurse(dirName,onSuccess,onError);
Arguments
- dirName
Name of directory to remove.
- onComplete
A javascript function to call if deleting the directory succeeds.
- onError
A javascript function to call if an error occurs when trying to delete the directory.
Description
Removes directories recursively in the file system of the mobile device.
Discussion
The phoneGapRemoveDirectoryRecurse method removes directories recursively in the file system of the mobile device. The method is asynchronous. Calls the onComplete function if the method succeeded. Calls the onError function is the method failed.
Example
// {dialog.object}.phoneGapRemoveDirectoryRecurse(dirName,onSuccess,onError);