Working on mobile devices
An optimized web client and the low-speed connection mode ensure a comfortable user experience on mobile devices. The low connection speed mode provides reasonable performance on low-speed channels such as GPRS connections. The web client only requires a mobile web browser to establish connection to the infobase.
However, mobile browsers will have some limitations and specific requirements. The web client’s functionality has been enhanced to bypass the limitations introduced by the Safari browser and iPad devices.
The iPad version of the web client supports touch input. Lists do not have scrollbars because flicking is used instead, tables have increased row height for better viewing, buttons in the input fields of drop-down lists have increased width, and the calendar size has been increased. Pinch and stretch gestures for zooming in and out are supported.
Mobile 1C:Enterprise platformThe mobile 1C:Enterprise platform is the common name for technologies that allow you to create mobile applications for Android and iOS systems, which are mostly smartphones or tablet computers.
A mobile application installed on a mobile device consists of the mobile platform and an infobase. An infobase stored on a mobile device contains an equivalent of a file database (for storing user data) and a mobile application (programming code executed on the mobile device).
- mobile application;
- mobile platform;
- additional files.
The main purpose of mobile applications is to provide remote workstations capable of running applied solutions that usually run on desktop computers. Standard platform tools allow one to establish offline data exchange between the main application and mobile applications.
A mobile application is capable of working with multiple back-office applications.
The development of mobile applications is similar to that of regular applications, but with the following limitations of the mobile platform:
- some configuration object classes are not supported;
- query language and the data composition system are not supported;
- distributed infobases are not supported;
- the set of available form elements is limited;
- the start page contains a single form;
- debugging is not supported;
- and more.
Therefore, if you are developing a mobile application, it is recommended that you set the Use purposes configuration property to Mobile device. This automatically hides options that are not available on the mobile platform and switches Designer tools (such as syntax checks or configuration checks) to the mobile platform context of 1C:Enterprise script.
To build a mobile application suitable for uploading to an application store from your configuration, do the following:
- save the mobile application to an XML file;
- use the "Mobile application creation wizard" to build the mobile application distribution kit for Android and iOS from the XML file, mobile platform distribution kit, and additional files;
- then you can upload the distribution kit for Android to the Google Play store. Before uploading the distribution kit for iOS to the App Store, use Xcode to build it on a computer with Mac OS X.
Here you can see a sample of the 1C:Enterprise mobile application, which is included into the Mobile application demo kit.