Communication between apps

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: Mar 23, 2016
Company: SmartID

Hello,

I'm developing an android service and I need to send data to a 1c mobile application installed on the same device without using a server or internet.

Is there any chance to do this?

Thank you!

Edited: Sebastian Dan - Mar 08, 2019 07:55 AM
 
#2
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jul 10, 2017
Company:

Hello, i think you can use SMS  :) Or QR.
Or use in you project intents/extarnal components  for bluetooth/wi-fi/ir/mail.

But normal it will be only with push notification

 
#3
People who like this:0Yes/0No
Administrator
Rating: 17
Joined: Dec 4, 2017
Company:

Dear Sebastian,

To organize data interaction between an Android service and a 1C:Enterprise mobile app running on the same device, you can implement the interaction by using the Add-in Development Technology (https://1c-dn.com/library/add_in_creation_technology/).

In your case, there are two options:
- use intent-filter; you create a custom activity in your add-in
- use BroadcastReceiver; this option is not recommended

Best regards,
Vladimir Gurov

1C Company support team
 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 23, 2016
Company: SmartID

Dear Vladimir,

I only need to send data from android native app to 1C, so the communication will not be bidirectional.

I read on some websites that using the project containing the 1C mobile platform can be modified to accept external intents. I added an intent filter and set exported to true on the LocalNotificationReceiver, I managed to generate an apk, but when I click on the add configuration button, it says that there are no templates.

Can you please help me?

 
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.