Generate Source Code for AppStore Apps

MobileTogether Code Generation

App Store Deployment Features

  • Generate native code for Android, iOS, Windows App, and Windows Phone
  • The Generate Code Wizard collects and checks external resources
  • The wizard generates complete projects ready to be compiled
  • A single MobileTogether Designer file generates native code for each platform
  • App Store Deployment and Instant Deployment are both available from a single design
  • Instant Deployment offers a real-word test opportunity before code generation
  • App Store Deployment is ideal for customer facing apps

Generate Source Code for AppStore Apps

The App Store Deployment option is ideal to make an app publicly visible and for apps where strong brand recognition is desired. The MobileTogether Designer menu command File | Generate Program Code generates program code for AppStore Apps that developers then compile and submit to the app stores for Android, iOS, Windows Phone, and Windows mobile devices. End-users will download the app from the appropriate store, install it, and run it directly without requiring the MobileTogether Client or any MobileTogether Server configuration.

The Generate Program Code menu option opens a wizard that uses dialogs to collect the required resources for each selected mobile platform, such as app icons and copyright text, and your MobileTogether Server settings for the app. The Wizard deploys the app's workflow to the MobileTogether Server, and generates program code for a small application that accesses the workflow as a library from the Server.

Program code for complete projects are generated for each platform, in target directories the user specifies in the wizard. These projects are ready for the developer to compile using the appropriate tools for each platform and submit to the corresponding app store.

The MobileTogether Designer integrated Help system includes an extensive section for guidance on generating program code and compiling AppStore Apps from MobileTogether projects.

Android App Features

The Generate Program Code wizard creates an Android Studio project in the directory assigned as the program code's destination folder.

The wizard allows you to specify privileges for your app to access the device SMS, telephone, and external storage features.

Use Android Studio to build this project into an Android app (which is a .apk file). When the build is complete, the app can be run by issuing one of the following Android Studio commands: Run <app> or Debug <app>.

The developer submits the app to the Google Play store for distribution.

iOS App Features

The generated program code for iOS apps is an XCode project in the specified directory. Developers will next use XCode to open the .xcodeproj file and build the iOS app.

In order to build, test, and publish the iOS App from the generated program code, you will need:

  • Latest version of XCode, available from Apple's Developer Platform.
  • iOS 8.1 or higher for testing the app.
  • Membership in the Apple Developer Program

The developer submits the app to the iTunes App Store for distribution.

Windows App Features

The Windows App format is for Windows touch devices (such as tablets running Windows RT) and PCs running Windows 8 or 10. The program code for Windows Apps is in C++, generated in the directory specified in the Generate Program Code Wizard. The wizard also allows developers to specify privileges for the app to access the Windows device camera.

Open the generated C++ project (the .vcxproj file) in Visual Studio and build the project into a Windows App. The output of the build process includes a file with the .XAP extension. This is a zip file that contains all the files required by the app, and is the file to be published to the Windows App Store.

The developer submits the app to the Windows App Store for distribution.

Windows Phone App Features

The program code for Windows Phone (8.0 or higher) is in C# and is generated in the directory specified by the developer. The next step is to open the C# project in Visual Studio and build the project into a Windows Phone app. The wizard allows developers to specify privileges for the app to access the Windows Phone camera and telephone features.

The output of the build process includes a file with the .XAP extension. This is a zip file that contains all the files required by the app, and it is the file to be published to the Windows Phone Store.

The developer submits the app to the Windows Phone App Store for distribution.

MobileTogether Code Generation Selections Dialog

Supported Platforms for Code Generation

Cross-platform mobile support

  • Android
  • iOS
  • Windows 8, Windows 10
  • Windows Phone

App Store Deployment Features

  • The AppStore App is downloaded from the mobile platform App Store
  • No MobileTogether Client is required. TheAppStore App provides end users with easy and straightforward access to a single workflow
  • The App is publicly visible in each platform App Store
  • Connects to backend data in relational databases, XML, HTML, Web Services, and more
  • Apps can employ mobile device features including camera, geolocation, email, SMS messaging, and telephone
  • Ideal for customer facing apps or apps where strong brand recognition is desired

Instant Deployment Features

  • The MobileTogether Client is downloaded from the mobile platform App Store
  • The user launches the MobileTogether Client to access solutions on one or more MobileTogether Servers
  • The App is only visible to authorized users via your MobileTogether Server
  • Connects to backend data in relational databases, XML, HTML, Web Services, and more
  • Apps can employ mobile device features including camera, geolocation, email, SMS messaging, and telephone
  • Best suited for in-house or enterprise apps where the user population is known in advance

SPL Source Code Templates

MobileTogether Designer uses Spy Programming Language (SPL) templates to generate the various files of the program code that is used to build AppStore Apps for Android, iOS, Windows, and Windows Phone.

The SPL templates use variables that are tied to information entered in the Generate Program Code Wizard. Developers who need to modify the program code in any way should not modify the generated code directly. Instead, the SPL templates that generate the code can be edited so the changes will not be lost if later enhancements to the app require re-generating program code.