the Internet Windows Android

1C Installing a mobile platform on iOS. Mobile platform device

Update mobile application Performed by app stores.

To delete a mobile application, you must start the application on your mobile device. App Store. And in it to delete a mobile application.

3. Starting a mobile application

To start a mobile application, you must find the desired application in the list and click on its picture. In most cases, the main mobile application window will open. However, if several applications are associated with this program, the list of these applications will be opened. In this case, to start the application, click on the desired application in the list.

4. Work with the list of applications

5. Update application

Mobile application is updated using the application store used. After its successful update, you must update the previously created applications. To do this, just run the application.

If the need to restructure the database will be detected during the update process, then confirmation of the execution of this operation will be requested. In case of refusal, the update will be postponed until the next start of the application.

Also makes sense to refuse to update to make backup databases (see ).

5.1. System interface

6. Entering text

To enter different information is intended screen keyboard. To activate it, as a rule, it is enough to click on the input field where you want to enter information. Button Input Causes the transition between the input fields without closing the keyboard.

Keyboard provides some additional features:

  • keyboard closing button;
  • buttons, pressing which leads to the transition to the following / previous input fields (keys analogue Tab / SHIFT + TAB on keyboard personal computer);
  • button cleaning the current input field;
  • buttons Switching Input Mode:
    • for fields displaying the date and time:
      • digital duty and time input mode;
      • input mode using "drums".
    • for fields displaying numeric data:
      • input mode numbers;
      • calculator mode: Available both input of numbers and arithmetic action with them.

As you know, one of the charms of the SaaS model is mobility and ubiquitous access. No one is surprised by the fact that with various programs you can work with mobile devices: work with mail (corporate including), from social. Networks, various chat rooms (ICQ, Skype and so on). The main thing is to have access to the Internet.

And what about 1C programs when working in them through mobile devices?

The company 1C stated that in the new release of the 1C 8.2.14 platform in the beta version, a web client operating on an iPad running was created mobile browser. And, of course, the support for sensory entry is implemented.

This was decided to check the staff of the company 1CAIR, which provides 1c products for rent in the SaaS model. At hand was iPod (2G iPod Touch. (32GB)). By the way, pretty old iPod. We decided not to postpone the test procedure and try to start 1C on it. But what if? Essentially on iPod access to the Internet there is (Wi-Fi), the Safari browser is (although it is possible to use others, but about it later). The only one, the screen is of course less than the iPad. But for testing it is quite suitable.

We started testing ...

1CAIR leases more than 30 programs 1C. We decided to use the Demobaz to 8.2.14 the product "Intralians: Corporate Management 7 + Management of the Production Enterprise". Since I was interested in the functionality of 1C product, and the possibility of working 1C release 8.2.14 on the iPod, then the above product is quite suitable.

So, let's begin.

The browser introduced a link to enter. Run takes from 1 to 3 minutes. Since the device has a processor ARM 533MHz, it is not surprising. In principle, tolerant, but I would like to-last, of course.
Tried to run 1C through 2 browser: pre-installed on iPod Safari and Operamini. It works equally. On some pictures you can see what they started through Operamini.

So, the launch passed perfectly, and we can see workspace programs

Two tasks were selected for testing: to make a management report and make an application for a ticket for a business trip.
Let's see what happened from it.
1. Management Report.
On the images below, all stages of reporting are visible. An ordinary form opens to compile a report, its fields are filled, and finally the report itself is formed. Since the screen has a small device (3.5 inches), then to view all the report fields you need to scroll to the right and down. But with this format it is possible to see necessary information. The keyboard here was not needed, all fields were filled from opening lists.

2. Application for a ticket.
In the images, all the stages of compiling an application are clearly shown. Here the keyboard was used to enter data. Pick up the text is convenient.

Plus, the charts are well displayed, the calculator works, you can see the billing plans, to form an account.

Summary.
1C through the iPod works! And it is very pleased! With 1C you can work even through the player! So, it will work on the iPad. And it will be much more convenient for a number of reasons:
1. More display. Of course, the display is less on the iPod, but the scrolling works fine. Plus will be able to train the memory so as not to scroll constantly there - see. Just know, of course, but, as you know, in every joke only the share of jokes.
2. It will work faster. It's hard to argue here, since specifications They speak for themselves. Although ... depending on which tasks you will use. If you do not need to work with large data arrays, and just track some information, it is quite suitable.
3. Internet access. Ipod only via Wi-Fi. If you want to provide, for example, your sales representatives, iPod-Ami to work with 1C is not the best idea. Not in each outlet will be Wi-Fi. But the iPad 2 can be, there will be 3G access.
As a result, it is clear that for serious work with 1C iPod is not particularly suitable. But if you already have an iPod and you need to work only to watch reports, charts, tasks and so on (what does not require a large load), then quite. In general, of course, it is better to use the iPad as the temporary and necessary substitution of a full-fledged computer.
Personally, we will repeat, pleased the fact: with 1C you can work even through the player! That's what progress came ...

Mobile platform 1C: Enterprises are a set of tools and technologies for the rapid development of applications for mobile OS, Android, Windows Phone / 8.1 / 10, using the same development environments (configurator or 1C: Entrprise Development Tools) and the same development techniques, which are used for "ordinary" applications 1C. As a result, autonomous, offline applications are obtained, but with the possibility of exchanging information with the outside world with the help of a wide range of integration tools provided by the platform: Web and HTTP services, E-Male, etc. Since the exchange protocols are platform-independent, Mobile platform 1c, among other things, is a means fast creation Mobile Front End for almost any server solution.

Prehistory

Even in the time of "1C: enterprises" version 8.0 (and subsequent versions) there was a software product "Expansion for pocket computers". The extension allowed to create products only for Windows Mobile, Windows CE, etc. The product possessed its own configurator, and the server, and maintained up to the release of "1C: Enterprises" version 8.3. Latest version Expansion (8.2.9) was released in October 2013, and complete support ceased on January 1, 2015.
The extension had limited use even during the heyday of communicators on Windows Mobile, and the care of such devices from the mobile market clearly did not add popularity to this software product. The devices on iOS and Android took almost the entire market of mobile devices, and it became apparent that the support of these OS is one of the key points for the system that should be operated in the modern mobile world. It also seemed obvious that the main approach of the existing platform "1C: Enterprise" should be used on mobile devices: the applied developer must first think about solving applied tasks, and in the second one, what the possibilities of the OS used to use it to solve these tasks . In other words, you need a tool that isolates an applied developer from the features of specific mobile operating systems and the development tool.

Mobile platform

Relying on the experience of developing and operating expansion for pocket computers, it was decided to develop specialized systemwhich would satisfy several requirements:
  • it must support modern popular mobile oS and devices under their control. First of all, this is an IOS company Apple and Android company Google.
  • this system should allow the use of developed apps in the style taken on modern mobile devices. In particular, the interface must rely on manual control (literally of the word) using touch screens.
  • the system should provide a uniform programming interface to implement various specific mechanisms, regardless of the mobile OS used.
  • the developer must use the same tool and the same approaches to the development as when developing applications for a "ordinary" computer.
  • the application developer must develop an applied solution in the usual development environment, if possible, using a single code for desktop and mobile systems.
  • the interface of the applied solution operating on a mobile device must be similar to different platforms and generally understand it in general.
The result of the development was the so-called mobile platform, which was released on May 29, 2013 in options for iOS and Android. Mobile platform "1C: Enterprises" is a set of tools and technologies that allows you to create applications for iOS, Android, Windows Phone / 8.1 / 10, using the same development environment (configurator) and the same development techniques as for ordinary applications On the 1C: Enterprise platform. As a result, autonomous, offline applications are obtained, but with the possibility of exchanging information with the outside world using a wide range of integration tools provided by the platform: Web and HTTP services, email etc.
Mobile platform was quite well perceived by the community, various articles on this topic began to appear (for example, and). In order to develop a full-featured application that operates simultaneously on the overwhelming majority of mobile devices, it has now been required to minimal time and knowledge, fundamentally not different from the knowledge of the "regular" application developer on the 1C: Enterprise platform. Of course, such a low entry threshold attracts developers who need " small blood»Provide some basic functionality of employees working on the road, bosses, and other mobile employees who need work with a corporate system.
Start developing a mobile application on the 1C: Enterprise platform simply. In the configurator, you need to set the "Assigning" property in the configuration to the "Mobile Device" value. In this case, part of the configuration objects will be unavailable (types of characteristics, account plans, etc.), but will be available specific properties specific for mobile applications (for example, built-in media and geopositioning agents mobile device etc.).


At the same time debug the main algorithms of the application (not directly related to mobile specificity) can be directly in the configurator on the developer's computer. At the same time, the sections of the code in which the "mobile" functionality appeals occurs, it is recommended to fraperate with the relevant instructions of the preprocessor to avoid errors when executing the code on a personal computer:
# If mobile enroller is then the data \u003d geopositioningReer. Pereskimyader (); # Endox
Starting with the version mobile platform 8.3.7 has become available and debugging application directly on a mobile device (more about this below).

Development on the mobile platform can follow different approaches, but several main points can be distinguished. From the point of view of building a mobile application actually, its functional saturation and role in the IT infrastructure of the enterprise:

  • mobile application can be an integral and integral part of the existing enterprise information system. The mobile application will provide an interface and other features (including data exchange), "sharpened" as an existing information system. In this case, the mobile application is very tightly connected with the "usual" information system And can not be operated in the separation from it.
  • mobile application performs specific tasks that are practically not connected with the information system of the enterprise. There is only a minimum data set that the mobile application and the information system are exchanged. In this case, most likely, the mobile application will be exchanged for some standardized protocol, which makes it possible to use this mobile application in completely different cases and situations.
The two situations described above can be considered extreme options. But these are not the only development options. Applied developer can independently choose the possibility of integration between the mobile application and the information system that is the backup office for it.
The mobile application is developed as a fully autonomous configuration, but may separate part of the source text with the "parent" configuration. By the way, the "parent" configuration may not physically exist (for example, if you develop a kind of universal application that can work with different systems on a universal protocol).

Mobile platform device

What is a mobile platform and what does she know how?
Justice for the sake of the mobile platform is just one of the components of the entire complex, thanks to which "1C: Enterprise 8" works on mobile devices. So, the application developer operates with the following components:
  1. Actually mobile platform - mobile part of the framework "1C: Enterprise". It happens the usual (which is used during an assembly of an application for publishing in the application store) and the developer's mobile platform, which is used (surprise) during the development of a mobile application.
  2. Mobile configuration is the configuration of the "1C: Enterprise" program system, recorded as an XML file.
  3. Mobile platform combination and mobile configuration Gives a mobile application.
  4. Mobile Application Collector - a specialized application solution that can make a mobile platform, configuration, screensavers, icons and other components, a ready-made mobile application file that can be downloaded to Apple AppStore Google Play., Windows Phone Apps / Windows Apps.
Why is everything so difficult? Why can not be done on a mobile device exactly as it is done in big platform? Those. To put one mobile platform on the device and download any number of configurations / applications to it? It is forbidden to make licensing restrictions on applications that apply through application stores. For example, if your application will download executable code (as a script) via the Internet, then it will never appear in the store apple applications. It should, however, understand that the possibilities for downloading any configuration that are in the mobile platform of the developer are not intended to distribute mobile applications even within one company, not to mention the distribution of developer customers.
After the mobile application turns out to be on the target mobile device, it becomes necessary to use some database (data must be stored somewhere). As a database engine, the mobile platform uses its own database engine, which is ported to a mobile platform from the platform for a personal computer. It is compact and fairly fast, but the main thing is that it provides exactly the same behavior to which the applied developers are used to working on the platform for personal computers.
It is also worth noting that inside itself the mobile application is built by the same scheme as the operation of the usual platform with the file option information base: There is a client part, there is a server part, there is a database and there is a client-server interaction.
Actually, the mobile platform is written as a Native application, compiled in binary code under the main processor architectureUsed now in the mobile world: This is an Arm V5 architecture and higher and x86.
In addition, to interact with those or other capabilities of a mobile device (telephony, GPS, work with a built-in camera, etc.) Special permissions may be required. For iOS, they are set directly during the operation of the application itself, and for Android permissions are specified when creating an application. The required permissions are specified when developing a mobile application and are used by the collector of mobile applications, but about the collector - a little later.

A little about the developer platform

While we are developing a mobile application - we are not related to licensed restrictions imposed on mobile applications distributed through application stores. So, we can use 1C mobile platform as well as using a "big" platform on a personal computer - install the mobile platform to the smartphone / tablet itself and load mobile application configurations into it. After starting, the platform will show us a list of applications registered in it:

To add a new application to the platform, you need to place an XML file with its description on the resource available from the Mobile device using the HTTP protocol. It is convenient to do this from the configurator, through the "Configuration \\ Mobile App to publish" menu. At the same time, the XML file with the application configuration is posted on a web server on a developer's computer (respectively, this computer must have a web server - IIS or Apache).

If you specify the "Restart from the Configurator" option for the application, the application on the mobile device will be automatically updated from the developer's computer every time the developer will update the locked on a web server XML file. Configuration.
When the "Debug is enabled" is enabled, step by step debugging application on a mobile device from the configurator on the developer's computer (in the configurator, the Option "Debug via HTTP protocol" in the "Service \\ parameters" menu must be selected. If you put the stop in the stopping point in the stop code and select the "Mobile application - start debugging" command, the mobile application on the device will stop when the executable code comes to the stop point, and in the configurator you can see the values \u200b\u200bof the variables, the chalk stack, etc.

What can?

So, what can Mobile Platform? Enough:)
If you do not operate with specific terms "1C: enterprises", the mobile platform provides an opportunity to work with regulatory information, draw up documents describing some external actions, view reports, contact the outside world with the help of Internet services and much more. Those. It provides an applied developer to write a fairly functional application, such as home finance accounting program, a program for field trading and the like.
But besides the usual functionality, which is on the platform for a personal computer, the mobile platform should provide work with specific capabilities that are inherent in only mobile devices:
  • working with calls and call log;
  • work with short messages (SMS) and their list;
  • contacts;
  • calendars;
  • geopositioning (without laying routes);
  • allows you to take photos, as well as carry out video and audio recording;
  • respond to changing the orientation of the screen;
  • work with notifications (local and push, both directly and through a special service intermediary);
  • scan barcode and QR codes with the camera
  • Monetization of mobile applications (i.e., the way to make the developer of mobile applications opportunities for additional earnings):
    • Work with Apple In-App Purchase Shopping Services (for IOS OS) and Google Play In-App Billing (for Android OS), with which you can organize in a mobile application of various kinds of subscriptions, purchase of functionality, etc.
    • Advertising display in mobile applications (while IAD services are supported for IOS and Admob OS for Android OS).
  • etc.
It is clear that some possibilities may not be available on each specific devicetherefore, to determine what can be done on the device on which the mobile application is executed, special methods are provided that allow you to find out, available on this device, for example, the ability to set the number or not. Thus, approximately this use scheme is being implemented: check, you can use some possibility or cannot be used and if you can - use:
If the means of funds. Contributor meter () then the means of heart disease. Promptomer (number telephone, calls therapist); Ended;
Hide from the application developer details about the mobile OS used, provide him with unified mechanisms for using mobile functionality - an important task for us. We believe that the task is successfully solved by us. Differences in implemented mechanisms or absent or minimized. In addition, of course, cases when functionality in one of the OS is not at all.
For example, technique work with push-notifications is very different from Google and Apple. We have made a lot of effort to unify the mechanism of working with push-notifications from the application code. In the case of a mobile application, we managed to almost 100%: the same application code on the mobile device processes the reception of push notifications and on iOS, and on Android. And the Push-notification distribution code in the server application also looks the same. But to achieve such a unification, we had to develop a special proxy server https://pushnotifications.1c.com/, which hides from the developer to different work techniques with apple services Push Notification Service (APNS) and Google Cloud Messaging (GCM). The whole difference is different settings directly on the proxy site https://pushnotifications.1c.com/; To work with APNS to the site you need to download the SSL certificate (which Apple displays for the application on the application of the developer), to work with GCM, specify the unique identifier of the application.
Obviously, it is immediately impossible to implement all the features you want to have in a mobile application. And always have to search for a compromise between several very useful things. And if you miss something - write to us about what business tasks (after all, the platform is first of all a tool for realizing business tasks!) You can't solve and what mechanism would help you for this.

What does it look like?

The graphical interface of the mobile platform is a separate topic. In 1C: the enterprise, as you know, the interface is described declaratively. This, on the one hand, imposes some restrictions on the development of UI (for example, there is no possibility of pixel positioning), but on the other hand, allows the platform to draw the interface on the screens of different sizes, in a thin and web client. The same principle, we tried to stick to the mobile platform. How well did we succeed? Let's try to figure out.
In the first versions of the mobile platform (up to 8.3.5 inclusive), the application graphical interface looked very familiar for sophisticated users 1C; In fact, he transferred a friend to the "desktop" versions of 1C interface in mobile world. But from the point of view of users, earlier with 1C not acquaintances, the interface looked several archaic.
Consider comments and wishes, we have fundamentally revised your approach to the mobile interface in version 8.3.6. We can say that we made a brand new mobile interface for our applications. It has a lot in common with our "Taxi" interface. The development model for mobile application developers corresponds to a development model in Taxi. At the same time, the mobile interface fully complies with the approaches adopted in mobile applications and. The interface fully takes into account the specifics of the mobile world: a small screen size (and therefore the design of graphic elements should become more ascetic - without shadows, gradients), there is support for finger gestures, etc. Interesting fact: The new platform mechanism responsible for placing elements in the form (layouuter) was so successful and timely for the mobile platform, which was released in it before (in version 8.3.6) than in the PC platform (in version 8.3.7), for which he first was intended.
In the picture you can see how our interface has changed.
Application "Management of a small company" on the version of the mobile platform 8.3.5:


It is on version 8.3.6:

And this is what the mobile platform interface is in a lively:

The collector - and what is this beast?

As mentioned earlier, the mobile application consists of several components (actually mobile platform, configuration, various resources), which must be a single integer for the placement of the application to the store. To facilitate the transformation of components into the application, a mobile application collector was developed. This configuration (application) created on the 1C: Enterprise platform, which stores all the components required to form a mobile application in its database. In order for the collector to perform its work, you need to download and install various software packages that are needed for its operation (Java and Android SDK, etc.), then specify the paths to these packages in the settings of the collector and set some additional parameters (developer keys etc.).


After setting, the collector is ready for work. In general, work with the collector looks like this:
  1. Load the version of the mobile platform 1c, on which we will collect the application
  2. We load the configuration from which we will collect a mobile application
  3. Create a mobile application in which you specify which platforms (Android, iOS, Windows) must be used, which configuration and platform should be used (in particular, specify which certificate to build under iOS to use if the application works with Push- Notifications).
  4. We carry out the "one click" to build a mobile application under all selected platforms
  5. "Another click" send collected mobile applications to application stores (if this is an application for iOS or Android). IN shops Windows Apps / Windows Phone Apps application must be loaded manually, because Microsoft does not yet provide an API to place the application in the store.
It should be noted separately that the collector is not needed to develop and debug a mobile application. To do this, you can use the developer's mobile platform and configurator tools to transfer the configuration to the mobile device. But to distribute a mobile application - you need a collector.

Applications on a mobile platform

The company "1C" produces a number of applications on a mobile platform, which are mobile clients of 1C server applications (1C: Document Drive, 1C: Control of a small company, etc.). These applications implement some subset of the functionality of "ordinary" customers. When mobile version "1C: management of a small firm" functionality is enough for full use Programs, and we often saw the situation when customers for doing business is enough mobile version of the application.
Our partners use a mobile platform for both the development of circulation mobile applications distributed through application stores and for custom applications created by requests for specific customers. Among the circulation applications there are applications that use not 1Cth back-end as a central data warehouse.
Among mobile applications created by customer request can be mentioned mobile client For "1C: Management of the manufacturing enterprise", created by order of a large machine-building holding. About a hundred employees of the holding use a mobile application in hot shops, where for reasons of safety, put stationary computers It is impossible. The built-in mobile camera camera is used to read the barcodes of products and search them in the Handbook of the Nomenclature, the mobile application allows you to understand at what stage of the technological chain is this product, note the passage of another operation, etc.

Conclusion

We tried very superficially describing the mobile platform, what it allows you to do and why it turned out to be the one. In this article, practically nothing is said about mobile windows. There are several reasons for that: first, the version of the mobile platform under Windows came out relatively recently ("1C: Enterprise" version 8.3.7), secondly, this version of the mobile platform does not have any significant differences from the implementation for other mobile OS . Naturally, we will build up functionality for Windows. Equally, how to build the functionality of the mobile platform as a whole. So, in the nearest plans we have support in the mobile platform of external components; This mechanism (a long-affordable platform is available in the "big" platform) will allow developers to implement functionality, inaccessible due to any reasons in the mobile platform.
Traditionally, the strongest parties to the 1C: Enterprise technological platform are ease of development for the developer and the speed of creating and modifying business applications. Mobile platform 1C transferred both of these trumps into the mobile world. 1C mobile platform is an opportunity to quickly develop an application running on the three most massive mobile platforms (IOS, Android, Windows Phone / 8.1 / 10). And thanks wide spectrum Available platform-independent integration tools (Web and HTTP services, etc.) Mobile 1c mobile platform is the ability to quickly create a mobile client for three mobile platforms for almost any server application that supports any of the integration methods available in the 1C platform ( Web and HTTP services, file exchange, etc.).

Only registered users can participate in the survey. , you are welcome.

Comrades, welcome!

I hope someone will need. If there is more simply fashion, I will be glad to learn about this.

It took to deploy your mobile application on Android and iOS. With Android, "OR problems did not arise. But with iOS it turned out that this is not a simple task.

But accidentally managed to find a way to enable the developer mode at a mobile application 1c without dances with a tambourine.

1. Download the application "1C: orders" from the AppStore (I tried it on it, but I suspect that you can and others). It is for us to receive a mobile platform;

2. Run the application "1C: orders";

3. On the left pane of the partitions, click "Application List" - Let's go to the list of databases;

4. Hold your finger on the basis, choose the item "Change", i.e. We go into the properties of the base - as we see the field "Restart from the configurator" and "update address" are hidden;
5. In the "Advanced Run Settings" field, specify any incorrect text, and click ready (by the way, on the iPhone 4 these fields are visible immediately!);

6. Go to the "Change" - Voila, "restart from the configurator" and "update address" appeared again.
6.1 We put a "restart from the configurator" duck - that when you enter the database, the configuration is automatically updated from our source;
6.2 Indicate our Mobile Configuration update address published on the web server;

7. We save. Run the base again. Now we have our mobile base on iOS!

True, the icon on the table, of course, still remains "1C: orders", but in addition to the base "1C: orders" you can add yours.

Verified on the iPhone 4, 5 and 7. Successfully works.