Guides

This guide is out of date.

We are no longer supporting this mobile guide. It is still here strictly for informational purposes. We do not expect this guide to still work.

Android Native Apps

SIP.js web apps can be ported to Android using Crosswalk, which provides a WebRTC-capable WebView to display the web app without the conventional browser interface surrounding it. This guide will show you how to use Crosswalk to generate an Android app for the SIP.js Demo Phone on Mac OS X. Linux and Windows users should be able to follow along, as well.

System Setup

Project Configuration

cd sipjs-examples/demo-phone
curl -o icon.png https://raw.githubusercontent.com/onsip/sipjs-examples/crosswalk/demo-phone/icon.png
curl -o manifest.json https://raw.githubusercontent.com/onsip/sipjs-examples/crosswalk/demo-phone/manifest.json
# (or just `git checkout crosswalk`)

Native App Generation

Follow these steps from the Crosswalk docs, substituting the project’s paths/filenames in as needed: