Publishing of 1C mobile application



<h4><i>Attention! This instruction is for Android devices only.</i></h4>
There are two ways to install a 1C application on your mobile device.
<p>
     The first one is to use the special Mobile application builder is a small application that creates mobile application distribution kits ready for uploading to application stores. For Android, it will be a finished apk file, which can already be installed on your device. The mobile application builder is a part of the mobile platform.
</p>
<p>
     This path is more complicated - as in this case, you need to first configure the Mobile application builder program, but it allows get a ready-made mobile application.
</p>
<p>
     The second way easier to configure and use - therefore, this method is recommended to be used in the process of writing and testing your program on the 1C mobile platform. The following describes the procedure for the second method.
</p>
<p>
     First, a configured web server: IIS or Apache. (You can read how to configure a web server for working with 1C <a href="https://1c-dn.com/library/publishing_1c_configuration_to_web_on_windows">here</a>).<br>
</p>
<p>
     Secondly, we need a special application - 1C Mobile Platform for the developer. To do this, we need to download and unzip the mobile platform. We will see several files in the Android catalog, among them there is the 1C Mobile Platform for the developer we need.
</p>
<p>
     For example, in my case, this is the file “1cem-arm.apk” (If you have a mobile device with an Intel processor - then you need the “1cem-x86.apk ”).
</p>
<p>
<img width="590" alt="1.png" src="/upload/medialibrary/680/6800d1d7f79e515754c17ad20f6b943e.png" height="302" title="1.png"><br>
</p>
<p>
</p>
<p>
     This file must be downloaded to your mobile device and then installed as a regular application.
</p>
<p>
<img width="344" alt="2.png" src="/upload/medialibrary/a6f/a6f300f307029a7d76a5da5084bbf768.png" height="474" title="2.png"> <img width="252" alt="3.png" src="/upload/medialibrary/75f/75f8839ad4dbeaefbc17ec0f06de462e.png" height="442" title="3.png"><br>
</p>
<p>
     After starting this application, you can see this screen:
</p>
<p>
<img width="380" alt="4.png" src="/upload/medialibrary/fb4/fb4b6d18c7e1db0a52adf2d14281ab62.png" height="385" title="4.png"><br>
</p>
<p>
     On this screen, a list of those mobile applications that we previously publish and add will be displayed. Now the list is empty - let's just add some kind of mobile application. Click on “+” and the add application screen opens:
</p>
<p>
</p>
<p>
<span> <img width="380" alt="5.png" src="/upload/medialibrary/7dd/7dda6055b0a6eeff8380fca0fffc1822.png" height="410" title="5.png"></span>
</p>
<p>
</p>
<p>
     Enter the path to the published mobile application in the <b>Address </b>field and click the <b>Download</b> button. After that, another screen will open:
</p>
<p>
<img width="379" alt="6.png" src="/upload/medialibrary/aaf/aaf8d537f57fbc08ad98b714ea75f4e5.png" height="673" title="6.png"><br>
</p>
<p>
     Enter in the field Application name any name that is convenient for you and click the <b>OK</b> button. After that, the mobile application is downloaded directly to the mobile device and it appears in the list of applications available for launch:
</p>
<p>
<img width="383" alt="7.png" src="/upload/medialibrary/4a4/4a4082e9badc270d853ebc0d5a2f6450.png" height="372" title="7.png"><br>
</p>
<p>
     If you tap on it now, then our application will start and it will be possible to work with it:
</p>
<p>
</p>
<p>
      <img width="384" alt="8.png" src="/upload/medialibrary/aec/aec801f05964bb38ed89491ea158b42e.png" height="526" title="8.png">
</p>
<p>
     We examined how you can install the 1C mobile application on a mobile device. But in order to do this, you must first publish this 1C mobile application on a web server.
</p>
<p>
     Run 1C with Administrator rights:
</p>
<p>
</p>
<p>
<span> <img width="316" alt="9.png" src="/upload/medialibrary/59e/59e4fcff08f77ffae244ad84f37a8953.png" height="178" title="9.png"></span>
</p>
<p>
</p>
<p>
     Then run 1C application in Design mode:
</p>
<p>
<img width="527" alt="10.png" src="/upload/medialibrary/587/587973b8c1e02a2be50b3a998b03f712.png" height="368" title="10.png"><br>
</p>
<p>
     Next, go to Configuration → Mobile application → Publish:
</p>
<p>
<img width="601" alt="11.png" src="/upload/medialibrary/0e3/0e30b6eddf25ba68cec6a76bdf469e18.png" height="645" title="11.png"><br>
</p>
<p>
     A dialog box will open:
</p>
<p>
</p>
<p>
<img width="537" alt="12.png" src="/upload/medialibrary/1da/1da88ddb722e784a63949ec17fee373b.png" height="184" title="12.png"><br>
</p>
<p>
     The<b> Name</b>
    field is the name of our publication, by this name we will connect to the published mobile application.
</p>
<p>
     Remind you that the connection string looks like this: "<a href="http://YourWebServer/MobScanner">http://YourWebServer/MobScanner"</a>. Here "YourWebServer" is the name or IP address of your web server, <b>MobScanner</b> is the name of the application, as it was published on the web server.
</p>
<p>
</p>
<p>
     Enter the same string when setting up our mobile application - as described above:
</p>
<p>
<img width="382" alt="13.png" src="/upload/medialibrary/57a/57aad2072548f0454f62882d299516ae.png" height="409" title="13.png"><br>
</p>
<p>
     In the Name field, enter the name of our application, the Directory field is the path to the directory on the web server where the published application will be located.
</p>
<p>
     Then press the Publish button and the application is published. Restart the web server and after that, you can go to your mobile device and download the mobile application you just published.
</p>
<i>
<p>
</p>
</i>


Be the first to know tips & trick on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.