Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise. Mobile platform > Communication between apps

Forum

Search UsersRules
Communication between apps
#1
Just came
Points:: 0
Joined:: Mar 23, 2016

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!

Profile
#2
Just came
Points:: 0
Joined:: Jul 10, 2017

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

Profile
#3
Interested
Points:: 0
Joined:: Dec 4, 2017

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

Profile
#4
Just came
Points:: 0
Joined:: Mar 23, 2016

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?

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.