Build webRTC for android on windows - android

I am working with webRTC. I want to build it for android to do peer to peer streaming. I think i can do that using that webRTC-android-app, right? So my question how can i build it on windows because if you go to the link the first line says "Android development is only supported on Linux."
So it's possible to build that on windows or i have to switch to Linux for that project?

I would recommend you to try use Cygwin (https://www.cygwin.com/). Please be sure that you are using x64 version. I would also recommend you to setup "devel" package during installation process. apt-cyg (https://code.google.com/p/apt-cyg/) will be also helpful for you.
The build steps will be similar with build steps for Linux, but all operations will be done under cygwin console.
The main advantage of this way is that you can easily integrate Cygwin bash with your IDE on windows (e.g. eclipse) and build WebRTC library as a part of your project build process.

Related

how to build android apk in non-gui linux server

Want to set up a linux server only to build and test, and I found Android does not offer sdk only package anymore.
Previous sdk download page was redirect to studio download page.
I need android sdk package. but now Android only supply the sdk-tool, in my mind sdk-tool/ is under sdk/, like path-to-sdk/tools. When android project builds, I need to set env $ANDROID_HOME, and $ANDROID_HOME is the directory of the sdk/ not the sdk/tool/
I try the android-studio-linux, but the pack I unzipped can not found android sdk, it seems android download sdk on first run.
I try the to find the android-sdk, but only get the older releas.
Please give me some suggestion, how to build android apk in non-gui linux server, the server is Ubuntu 64bit.
Well they still offer, they just have moved it to bottom to promote Android Studio more over other other IDEs.
Check the bottom of the page or just use this link to download it for linux. You can very well use gradle to build and package your app so if there is actually no compulsion of using Android Studio.
Update Also this document explains how to develop Android apps/libs from commandline.

How to install JXcore with Visual Studio and Cordova

I am working on a small project, and I am new to Cordova. I am reusing some old scripts I made for use with Node.JS but Cordova is missing many of the functions they require. I read about is and learned JXcore may be the solution to this problem, however I cannot comprehend the installation directions. I was hoping someone could dumb it down for me. I plan on releasing this application on Windows and Android, if that is important.
Please check the instructions on jxcore-cordova repository. It has been just updated for Visual Studio installation.
https://github.com/jxcore/jxcore-cordova#visual-studio
Yes, you can use your nodejs libraries in phone using JXcore cordova plugin. It's easy to create sample JXcore cordova project this way:
Download and install JXcore (For windows)
Run install_and_run.bat. You can find it here.
This bash script automates installation process. First it creates sample cordova project, then downloads and adds JXcore cordova plugin, adds platforms to project and finally runs app.

Compile Android project in Continuous Integration System Hudson?

I'm setting up a Continuous Integrations System with Hudson and it's just amazing.
I got a SVN repository and integrated a post-commit hook that notifies Hudson when someone commits to the repository. This part is working splendid.
The general idea is, that if the project fails, with unit-tests or anything else, it should tell the collaborator(i'm using a simple e-mail notifier atm). But if it successes I want it to compile the project and build either an unsigned or a signed .apk file.
What's the easiest or smartest way to do this?
I've read you can use a Shell Command to build the .apk but I can't seem to figure out how this works? Can anyone tell me how I can do this or should I go for another solution?
Thanks in advance
Finn Larsen
There is a guide on the Jenkins wiki about building Android apps with Hudson or Jenkins, including building and running a test app, obtaining code coverage and static analysis stats.
Essentially you can use the Ant support built-in to build your application.
If you want to run automated tests, you can also use the Android Emulator Plugin.
Since you're just starting out with Hudson, I would say now is a good time to upgrade to Jenkins. ;)
As far as I remeber hudson supports ant's builds. And android apps can be built using ant use this link for more info about building android apps with ant. Be aware that you'll have to install Android SDK on your build agent.
Android provides ant build script. So, you can make apk easily.
install android-sdk in hudson server
install ant in hudson server ( ant version should be > 1.8 )
in hudson, call cmd android update project -p <PATH to your project>
in hudson, call ant debug. debug target generates debug apk build

Building android application using platform tools

Does anybody know sources in internet where described how to build an android application using it's native components such as aapt, aidl, dex, apkbuilder, etc.? Because in this link there is only description of how to build an application using ant tool.
Ant uses the native tools. There are very few guides available on how to actually run the aapt/aidl/dex/etc tools at a command prompt, and in general Ant performs all the tasks you'd like here. Is there a specific reason you don't want to use Ant?

Android NDK on Mac OSX - quick install w/o Developer Tools

I was just suggested to port some signal processing code to use the Android NDK to speed up the process, but I'm wondering 1. where to install it to and 2. what tool-chain to use
I'd prefer not downloading the 3.5GB Mac Developer Tools if possible. I don't have access to an install cd that has it. Want to try and get this done asap. Does anyone know a way to get NDK development running quickly on OSX(snow leopard)?
A version of make is included with the Android NDK. Simply add {NDK install dir}/prebuilt/darwin-x86/bin to your PATH and you'll be able to build with the NDK.
Unzip the NDK package for Mac OS X anywhere, then add it to your path. That's all you need to build code with the NDK. The NDK includes its own GCC-based toolchain, so you don't even need to have Xcode installed.
Go to the samples in the NDK and type ndk-build in the console to build them.
If you install Xcode, that will install Make.

Categories

Resources