Mendix allows you to quickly build apps for mobile devices. This document gives an overview of mobile app development with Mendix and points to relevant documentation pages.
Every app starts at the home page. You can specify different home pages for phones and tablets in the Navigation document. The mobile profiles can be added and removed separately. If you add a profile, you also have to provide its home page. Apart from the home page, different home page for different user roles can be specified. Also, there is a default menu that can be used in menu widgets.
In theory, you can show the whole desktop site on mobile devices but you probably want to have optimized pages with simpler layout and less information. Layouts, introduced in Mendix 5, help you to create pages that suit a device. For mobile device you might want to have a layout that hides the menu in a collapsible side bar. You will need at least one layout per supported device type (desktop, tablet, phone) to optimize your app but you can create as many as you like.
Some widgets are more suitable to mobile use than others. The data grid, for example, is not very well suited because of its reliance on multiple columns and multiple search fields. The list view is a simpler, more compact widget for showing a list of objects. Data views lend themselves equally to mobile and desktop usage but it, of course, depends on all the widgets you place inside. Some custom widgets can only be used in hybrid mobile apps, because they access native features of the device. And that is the topic of the next section.
Hybrid Mobile Apps
Hybrid Mobile Widgets
To access native functions of the device, we provide a number of PhoneGap widgets on the App Store. And, of course, you can build your own custom widgets that use native features. PhoneGap widgets can be recognized by their special icon. You can also search for them by using Edit > Find Advanced (Ctrl+Shift+F).
The documentation in this section describes a new feature that is still in beta, and is subject to change before the final release.
Separate profiles are available for building offline apps. These apps can run even when there is no network connection available, because they store their data on the device itself. When the device connects to the network, the user can synchronize with the main application. Note that there are some restrictions compared to connected apps.