• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
      • Statement Format Symbols
      • Alphabetical List of Functions and Statements
      • List of Reserved Words
      • Deprecated Features
      • Declaration Statements
      • Symbol Functions
      • Item Functions
      • Array Object
      • Audio Object
      • Barcode and QR Codes
      • Case Object
      • Document Object
      • File Object
      • Freq Object
      • Geometry Object
      • HashMap Object
      • Image Object
      • List Object
      • Map Object
      • Path
      • Pff Object
      • SystemApp Object
        • SystemApp Statement
        • SystemApp.setArgument Function
        • SystemApp.exec Function
        • SystemApp.getResult Function
        • SystemApp.clear Function
      • ValueSet Object
      • Program Control Statements
      • Assignment Statements
      • Data Entry Statements and Functions
      • Batch Edit Statements
      • Numeric Functions
      • String Functions
      • Multiple Occurrence Functions
      • General Functions
      • Date and Time Functions
      • External File Functions
      • Synchronization Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

SystemApp.getResult Function

Format
s = system_app_name.getResult(argument);
Description
The SystemApp.getResult function returns a result from the system application that was executed using the SystemApp object. The function only works for system applications executed on Android devices.
Return Value
The function returns a string value with the result associated with the string expression argument. If no result exists, then the function returns a blank string.
Android Example
SystemApp fingerprint_reader;
fingerprint_reader.
setArgument("prompt", maketext("Please take the fingerprints for %s", strip(NAME)));
fingerprint_reader.
exec("com.example.entry_add_ons", "com.example.entry_add_ons.FingerPrintReaderActivity");
FINGERPRINT_FILENAME = fingerprint_reader.
getResult("filename");
See also: SystemApp Object, SystemApp.exec Function