Wednesday, March 26, 2014

Communication between apk


Apk as the title shows, the development of relations between the two did not (run on the same phone), and how to achieve communication between the two apk? For example, to send a message to apk2 apk1 and get return values ​​after treatment. What treatment? Thank you
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Activity is also the only one of two in the foreground
Broadcast can send each other or communicate with each other to get what both Service bar
Reply:
Agree upstairs. .
Reply:
With aidl ah, inter-process communication
Reply:
A variety of ways, the simplest of which is to broadcast, as well as socket, write documents, etc.
Reply:
The simplest way is to deal with the broadcast, then complicated by the processed aidl
Reply:
Use aidl or Messenager or broadcast
Reply:
You can run a service on a server apk as another apk as a client and as a previous apk aidl server interact, the desire to help you. If you do not understand, then you can send mail to me: 252019161@qq.com
Reply:
APK aidl be used for communication between the bridge on it, you can also use ContentProvider
Reply:
Ah, aidl can, thank you

No comments:

Post a Comment