= 1.Linux = A few example applications and utilities are available both pre-compiled and in the source repository. == Pre-Compiled Applications via Debian Packages == [[CollapsibleStart(Make sure you have appropriate package repository configured.)]][[Include(Documentation/Other/RepositoryConfig)]][[Include(Documentation/Other/RepositoryConfigOml)]][[CollapsibleEnd]] The MF host protocol stack is installed with: {{{ sudo apt-get install mfapps }}} The package contains the following applications: * mfping: an application that behaves like ICMP's ping. * file mfsender/mfreceiver: a basic file sender and receiver. * iperf: a Mobilityfirst port of the original [https://iperf.fr/ iperf] application. == 1.2. Download Application Sources == Git: The development versions of the prototype components can be checked out from the [https://mobilityfirst.orbit-lab.org/browser/mf MobilityFirst git repository host on orbit-lab]: {{{ git clone ssh://username@external1.orbit-lab.org/common/git/mf }}} '''Note: cloning the git repository requires setting your ssh agent to use your orbit-lab key pair.'' = 2. Android Development = == 2.1. Android Requirements == All the following sections assume that the ''jmfapi.jar'' file (JFMAPI library) has been already created following the instructions found in the [https://bitbucket.org/nkiran/mobilityfirst/wiki/Network_Service_API_Library_Installation Library Installation] section. Only the aspects concerning the usage of the MobilityFirst libraries will be covered in this documentation page. Additional information regarding setting up and Android Development environment can be found at the [http://developer.android.com/sdk/index.html Android Developer Page]. == 2.2. Android Studio Setup == Create a new Android Project following the wizard. Copy the ''jmfapi.jar'' that you created into the libs folder that you will find inside the folder named after the module you just created. In the project manager on the left, right click on the jar file and select '''Add As Library...'''. The current version of Android Studio (0.5.1) will report an error. If this happens close and reopen the project and it will be solved. Now you can import the classes you need to use from the JMFAPI library by doing: {{{#!java import edu.rutgers.winlab.jmfapi.*; }}}