APK(Get android version) imported in common templates

Discussions regarding 1C:Enterprise for mobile devices with Android, iOS, or Windows Phone.

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Sep 16, 2020
Company: Smart ID Dynamics

Hello everyone.

From what I saw, 1C Enterprise doesn`t have a session function/procedure which returns android version so I developed an APK which does that. Lately, I created a common template with APK in it.

My question:
Is there a way to read the APK`s output? For example, let`s say that the APK returns 7.1.1 (which is nougat). It is possible to store "7.1.1" in a variable?

Thanks,
Mihai.

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Sep 16, 2020
Company: Smart ID Dynamics

Hello guys,

I found the solution in 1C by using myVar = New SystemInfo;

Have a good day.

Thanks.

 
#3
People who like this:0Yes/0No
Administrator
Rating: 8
Joined: Oct 3, 2019
Company:

Thank you Mihai for sharing your knowledge.

 
Subscribe
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.