Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise. Mobile platform > "push" paradigm for mobile platform

Forum

Search UsersRules
"push" paradigm for mobile platform
#1
Just came
Points:: 0
Joined:: May 11, 2013

With reverence to all, may i ask a simple question.

it is not a secret, that if you need wrire a good mobile application with good interective with users you need impelement "push" padadigm for integration events in your app.

but i have a litle problem - in he mobile platform, there is no objects and instruments to do what features for my apps

web services is not implements (there is only web referense): it is clear why - SOAP protocol is very heavy

i have trying to search information about ExternEventProcessing - but NativeAPI does not allow to build component for mobile platform

after all this time as a crutch i think about BackgrounsJobs - but it is also not implements (native Android for example have threads Processes and threads)

Thats why i'm ask - is there a way to create:

1. sheduled task on mobile platform for integration features
or
2. process the external event in the mobile platform.

If you ask me a case, i answer: in the central ERP system there is more event notifications time-critical to deliver for employee mobile device. Whats why pattern with BUTTON "Load data from server" is unacceptable

Profile
#2
Interested
Points:: 0
Joined:: Apr 5, 2012

Hi Alexey

If I understood you, you should reflect changes from Central ERP to Mobile Application? For example, the price of an Item is changed in Central ERP system, u need to dynamically change in Mobile Application?

Similar system I need to realize too. I need to realize like notification mechanism between Mobile Device users and central ERP system.
I am planning realize it so: OnStart of Mobile Application I will AttachIdleHandler in 60 seconds interval (example) and control via Web-Service published from Central ERP system is there any changes or messages to users.

I am planning realize it so, but it will be good to ask it to 1C Company Support team too.

Profile
#3
Just came
Points:: 0
Joined:: May 11, 2013

Murat Yazlıyev, Yes you are absolutely right.

Where is many cases as an example of this feature - push new price, request an discount (reuest for reply on client discount), push "client canceled order" in ecommerce

Idle handler - it is crutch i think, but alternative of what is write app in on another framework - for example PhoneGap

Profile
#4
Guest
Points::
Joined::

You should understand that a mobile application is a client and should not publish services, but request the data from server. That is for web services/references.
As for critical data in background jobs, a mobile device may have a poor connection and can be overloaded with periodical requests, so you could not rely that it will be completed successfully in background.
As for integration, I will double check with developers.

Profile
#5
Just came
Points:: 0
Joined:: May 11, 2013

Timofey Bugaevsky, you should understand that ...

i'm understand, and thats why i start this topic.
ant thats why i'm ask about "push" Push technology
how to implemets this tech in 1C:Enterprise Mobile platform

may be in the plans for the platform is the realization of Google Cloud Managing and Apple Push Notification Service?
or there analogs

Profile
#6
Guest
Points::
Joined::

Thank you for information, I have sent it to developers.

Profile
#7
Just came
Points:: 0
Joined:: Jul 7, 2013

Quote
Thank you for information, I have sent it to developers.
And that answered the developers?

Profile
#8
Guest
Points::
Joined::

They accepted an enhancement request. There's no additional information.

Profile
#9
Just came
Points:: 0
Joined:: May 11, 2013

news from the platform developers, published in russian:

in new version of mobile platform, will be impleented not blocked threads (background jobs)

Code
Job = BackgrounsJobs.Execute("SyncDataWithServer");


original link - <removed as rules violation>

Profile
#10
Interested
Points:: 0
Joined:: Apr 5, 2012

How I get news, instead of using AttachIdleHandler("UdateFromCentralDb", 1, True) method, we can use BackgroundJobs.

The main question is, BackgroundJob execution how will use charge of device? I should check it firstly.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.