Communication between Connext Applications on Emulator Android and Host

4 posts / 0 new
Last post
Offline
Last seen: 4 years 3 months ago
Joined: 03/17/2015
Posts: 10
Communication between Connext Applications on Emulator Android and Host

Hi All,

I need to implement the scenario in while Apps Android are deployed both Android Eclipse Emulator and Smarth phone. I have follow the Android manual to understand how i could send data from emulator to other real smartphone. On page 10-2 "Getting started Android Addendum" i have understand how to reach communication between emulator and mobile devices, and implement it, but i have no communication between them.
Someone could help me??


Thanx
Manuel

harish's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 09/17/2014
Posts: 11

Hi Manuel,

Chapter 10.2 talks about running DDS applications between an emulator and the host machine. Hence both the DDS applications will be running on the same physical device. If this is the case, then you can first test the connectivity by running rtiddsspy and rtiddsping at the two endpoints. If QoS settings such as the initial_peers is configured via a QoS XML file, then the location of this file must be mentioned in the application code. A sample code for doing this is provided in RTI Core Libraries and Utilities Users Manual, section 8.4.2 "Profile QosPolicy".

If you are trying to run DDS applications between an emulator on host A and a Smartphone (host B), then it would be a two step process. You will need a third entity to receive the data on host A from the emulator via loopback interface and forward this data to the Smartphone via a wifi interface. You can achieve this by running RTI's Routing Service on Host A and configure it to forward the packets to the Smartphone.

 

 

Offline
Last seen: 2 years 2 months ago
Joined: 06/07/2017
Posts: 1

One can get al latest emulators for free on your Android and iOS devices using Vshare app store. You just need to download the latest version of it from this official website.

Offline
Last seen: 10 months 3 weeks ago
Joined: 11/03/2018
Posts: 1

you can use emulators always. There are lots of emulators available over the internet. You can download olpair from this official website