webrtc/examples/androidtests
Jonas Olsson f01d8c8d92 Add android bindings for PeerConnectionState.
This change makes it possible for android apps to use the new standards-compliant PeerConnectionState.

Bug: webrtc:9977
Change-Id: Iad19c38e664a59e86879715ec7a04a59a9894bee
Reviewed-on: https://webrtc-review.googlesource.com/c/109883
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25652}
2018-11-15 10:57:26 +00:00
..
src/org/appspot/apprtc/test Add android bindings for PeerConnectionState. 2018-11-15 10:57:26 +00:00
third_party Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
AndroidManifest.xml Set minSdkVersion to 16 for AppRTCMobile_stubbed_video_io_test_apk. 2018-10-26 09:05:01 +00:00
ant.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
build.xml Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
gradle_project_test.py Roll chromium_revision f93b8b19f2..adf969a7cb (513366:514871) and more. 2017-11-08 21:42:48 +00:00
OWNERS Add phoglund@ to various OWNERS and remove kjellander@ 2017-10-19 09:21:12 +00:00
project.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Rename rtc_instrumentation_test_apk targets to end with _test_apk. 2018-08-03 12:44:40 +00:00
video_quality_loopback_test.py Reland "Remove deprecated barcode scanning functionality" 2018-10-22 21:30:58 +00:00

This directory contains an example unit test for Android AppRTCMobile.

Example of building & using the app:

- Build Android AppRTCMobile and AppRTCMobile unit test:
cd <path/to/webrtc>/src
ninja -C out/Debug AppRTCMobile_test_apk

- Install AppRTCMobile and AppRTCMobileTest:
adb install -r out/Debug/apks/AppRTCMobile.apk
adb install -r out/Debug/apks/AppRTCMobileTest.apk

- Run unit tests:
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner