communication

How do two android applications talk to each other?

倖福魔咒の 提交于 2020-01-12 05:55:50
问题 What is the general communication architecture for two android applications? Case 1: I have two android applications, a) One is a server that waits for client request, process the request( read data from some sqlite db) and return the results to the client. This server application runs on its own independent android phone. b) The second is the client that sends the request to the server application in (a) and it too runs on its own independent android phone. Question is, do the two

Communicate Two Jar File [closed]

瘦欲@ 提交于 2020-01-07 15:19:06
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . First of all I am new in Java. I hope that you would interest on that question, but please make your answers as obvious as possible. And I will try to tell my problem in an open way. I am using NetBeans. I want to communicate two jar files such a way that,lets i have two jars A

Architecture for communication between two microservices

冷暖自知 提交于 2020-01-06 16:19:49
问题 First of all, I'm using JHipster 4.0.x for my project. I'm using microservices architecture. For this example, I've got one gateway, one microservice for "Store" and a second one for "Skill". I want to centralise all Stores in one database and Skills in a second one. Each one is a data repository that will not evolve at the same speed. On the other hand, they will be the central point of my infrastructure in order to update, via an ESB, the other software. Jhipster is great for that, I've got

Architecture for communication between two microservices

青春壹個敷衍的年華 提交于 2020-01-06 16:18:20
问题 First of all, I'm using JHipster 4.0.x for my project. I'm using microservices architecture. For this example, I've got one gateway, one microservice for "Store" and a second one for "Skill". I want to centralise all Stores in one database and Skills in a second one. Each one is a data repository that will not evolve at the same speed. On the other hand, they will be the central point of my infrastructure in order to update, via an ESB, the other software. Jhipster is great for that, I've got

Communicate between fragment and fragment dialog

僤鯓⒐⒋嵵緔 提交于 2020-01-06 08:51:49
问题 I researched on SO about communicating between fragment and fragment dialog, and I found that setTargetFragment and an interface is an approach. But I get this error when I try to setTargetFragment. The method setTargetFragment(Fragment, int) in the type Fragment is not applicable for the arguments (SettingsDetailsFragment, int). I haven;t use fragments until now and I'm new on android. So i have this fragment: public class SettingsDetailsFragment extends Fragment implements

Communicate between fragment and fragment dialog

青春壹個敷衍的年華 提交于 2020-01-06 08:50:02
问题 I researched on SO about communicating between fragment and fragment dialog, and I found that setTargetFragment and an interface is an approach. But I get this error when I try to setTargetFragment. The method setTargetFragment(Fragment, int) in the type Fragment is not applicable for the arguments (SettingsDetailsFragment, int). I haven;t use fragments until now and I'm new on android. So i have this fragment: public class SettingsDetailsFragment extends Fragment implements

Passing data to server for computation [closed]

孤街醉人 提交于 2020-01-06 08:21:40
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How do I create a program in c# that runs on a desktop but on certain occasions, is able to pass variables and objects to a server. The server will then process the variables before returning the outcome to the program on the desktop for further processing. So for e.g., I want to

Communicating between a fragment and an activity - best practices

强颜欢笑 提交于 2020-01-06 07:07:38
问题 This question is mostly to solicit opinions on the best way to handle my app. I have three fragments being handled by one activity. Fragment A has one clickable element the photo and Fragment B has 4 clickable elements the buttons. The other fragment just displays details when the photo is clicked. I am using ActionBarSherlock. The forward and back buttons need to change the photo to the next or previous poses, respectively. I could keep the photo and the buttons in the same fragment, but

Angular5 manipulation Html of other component without having child/parent relation

吃可爱长大的小学妹 提交于 2020-01-06 06:04:42
问题 For my application I have to communicate with 2 components but these components don`t have a parent child relation. I use a service to set up this comminication. When I click on the button on of component1 I trigger a function in compenent2. Normaly this function makes a change in the html of component2 when i trigger it from component2. But when I trigger it from component1 nothing happens. Is there a way to reload/update the HTML when component1 triggers the function in component2? THx a

Communication between 6 ViewModels and a Messenger == AntiPattern?

最后都变了- 提交于 2020-01-05 08:54:51
问题 A common approach for communication between 2 ViewModels is this: MVVM- View Model-View Model Communications The Mediator pattern or a Messenger class. But what about 6 ViewModels in one Window? NewSchoolclassUserControl NewPupilUserControl SchoolclassListUserControl PupilListUserControl PupilsDetailUserControl AdministrationButtonBarUserControl (having buttons executing commands) All this is in ONE Window. Do "you" really tell me now I have to setup a Messenger for those 6 Views and their