Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amezin/hello-android-zmq
https://github.com/amezin/hello-android-zmq
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amezin/hello-android-zmq
- Owner: amezin
- Created: 2016-01-07T13:39:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-07T14:40:40.000Z (about 9 years ago)
- Last Synced: 2024-11-06T23:06:47.264Z (2 months ago)
- Language: C++
- Size: 9.77 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Requirements:
- CMake
- Android SDK
- Android NDK
- Ant (preferrably in PATH)
- ZeroMQInstallation on Mac OS X:
```
$ brew install cmake android-ndk ant zeromq
```ZeroMQ for host machine should be [built and] installed manually.
ZeroMQ for Android will be downloaded&compiled automagically.Build:
```
$ git clone [email protected]:amezin/hello-android-zmq.git
$ cd hello-android-zmq
$ git submodule init
$ git submodule update
$ cd ..$ mkdir hello-android-zmq-build
$ cd hello-android-zmq-build
$ cmake ../hello-android-zmq
$ make
```Run:
- Launch Android emulator (x86 or ARM)
- `$ make install`
- `$ adb forward tcp:4653 tcp:4653`
- Launch 'HelloAndroidZMQ' in the emulator.```
$ client/client tcp://localhost:4653 com.android.calculator2
Connecting to tcp://localhost:4653
Sending com.android.calculator2
Waiting for response
OK
```