This directory contains an example Android client for http://apprtc.appspot.com 

Example of building & using the app:

cd <path/to/libjingle>/trunk
ninja -C out/Debug libjingle_peerconnection_test_jar
cd talk/examples/android
cp ../../../out/Debug/libjingle_peerconnection.jar libs/
<path/to/android-ndk-r8d>/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-strip -o libs/armeabi-v7a/libjingle_peerconnection_so.so  ../../../out/Debug/libjingle_peerconnection_so.so
ant debug
adb install -r bin/AppRTCDemo-debug.apk
adb shell am force-stop org.appspot.apprtc

In desktop chrome, navigate to http://apprtc.appspot.com and note the r=NNN room
number in the resulting URL, and replace it into the following command:

adb shell am start -a android.intent.action.VIEW -d '"https://rtcami.appspot.com/?r=NNN"'

This should result in the app launching on Android and connecting to the apprtc
page displayed in the desktop browser.

As an alternative to the "am start" approach above, one can also send the apprtc
room URL to the Android device (e.g. using
https://chrome.google.com/webstore/detail/google-chrome-to-phone-ex/oadboiipflhobonjjffjbfekfjcgkhco)
and choose to open the URL with the AppRTCDemo app.
