Languages

Menu
Sites
Language
Connecting host emulator to Gear emulator

Hello, 

Samsung recently released a guildeline on how to connect a real device to a gear emulator. Since I neither have the necessary device, nor the gear, i can only work with emulators for both sides.

I'm basically following through their guideline but instead of connecting a real host device via USB, I am creating an AVD and using adb to connect to it as a localhost.

After following through all the steps, the status of the "HostManagerForEmul" app is still "Disconnected". Did anyone succeed in connecting those 2 emulators? Does anyone know why in the guildeline, the command "adb –d forward tcp:8230 tcp:8230" is necessary? and why specifically those ports? 

of course I changed the command for my purpose, instead of "-d" (usb devices), i used "-s emulator-5554" (the host emulator name).

I checked which ports my emulators are listening to, and one is on 5554, the other on 26101. None is using 8230!

 

My Environment:

- OSX Mavericks

- Host emulator: AVD with API 18 (4.3 is the minimum for gear I think)

- Gear emulator: I use the emulator provided by the tizen sdk for wearable.