{"action":"created","issue":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/39","labels_url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/39/comments","events_url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/39/events","html_url":"https://github.com/EricssonResearch/openwebrtc-examples/issues/39","id":54591416,"number":39,"title":"Android Demo App","user":{"login":"anikravesh","id":2496982,"avatar_url":"https://avatars.githubusercontent.com/u/2496982?v=3","gravatar_id":"","url":"https://api.github.com/users/anikravesh","html_url":"https://github.com/anikravesh","followers_url":"https://api.github.com/users/anikravesh/followers","following_url":"https://api.github.com/users/anikravesh/following{/other_user}","gists_url":"https://api.github.com/users/anikravesh/gists{/gist_id}","starred_url":"https://api.github.com/users/anikravesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anikravesh/subscriptions","organizations_url":"https://api.github.com/users/anikravesh/orgs","repos_url":"https://api.github.com/users/anikravesh/repos","events_url":"https://api.github.com/users/anikravesh/events{/privacy}","received_events_url":"https://api.github.com/users/anikravesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T16:01:40Z","updated_at":"2015-01-16T21:48:50Z","closed_at":null,"body":"I am trying to use Android Native app. Some questions:\r\n1. I have built openwebrtc for android. I am wondering how I can include that in to the demo app? Where is the generated .so files? Is that an Android library that I should include?\r\n2. Is the server address hard coded in the app? can I change the address of server?"},"comment":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/comments/70327937","html_url":"https://github.com/EricssonResearch/openwebrtc-examples/issues/39#issuecomment-70327937","issue_url":"https://api.github.com/repos/EricssonResearch/openwebrtc-examples/issues/39","id":70327937,"user":{"login":"Rugvip","id":4984472,"avatar_url":"https://avatars.githubusercontent.com/u/4984472?v=3","gravatar_id":"","url":"https://api.github.com/users/Rugvip","html_url":"https://github.com/Rugvip","followers_url":"https://api.github.com/users/Rugvip/followers","following_url":"https://api.github.com/users/Rugvip/following{/other_user}","gists_url":"https://api.github.com/users/Rugvip/gists{/gist_id}","starred_url":"https://api.github.com/users/Rugvip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rugvip/subscriptions","organizations_url":"https://api.github.com/users/Rugvip/orgs","repos_url":"https://api.github.com/users/Rugvip/repos","events_url":"https://api.github.com/users/Rugvip/events{/privacy}","received_events_url":"https://api.github.com/users/Rugvip/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T21:48:50Z","updated_at":"2015-01-16T21:48:50Z","body":"1. To use the native OpenWebRTC API on Android, you just need to add `openwebrtc.jar` from `openwebrtc/out/arm-linux-androideabi/jar/` to your project libraries. The needed .so files are included in the jar and loaded when Owr.init() is run.\r\n\r\nIf you're using gradle, you need to make sure you add this to your config:\r\n```\r\nndk {\r\n    abiFilter \"armeabi\"\r\n}\r\n```\r\n\r\nThe [native example application](https://github.com/EricssonResearch/openwebrtc-examples/tree/master/android/Native) is configured so that you should be able to import and build the project straight away, as long as openwebrtc and openwebrtc-examples are in the same folder.\r\n\r\n2. Are you referring to #31? in that case you just need to press the wrench icon in the top right and you can enter a different server address. If you're referring to [this](https://github.com/EricssonResearch/openwebrtc-examples/tree/master/android/Native) example there's no server to configure, it's just a simple self-view app."}}