close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Proto/cModules/d0NetworkServiceAPI/c0Applications


Ignore:
Timestamp:
Nov 30, 2014, 5:17:55 AM (9 years ago)
Author:
wontoniii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/d0NetworkServiceAPI/c0Applications

    v1 v1  
     1== 2. Application Development ==
     2
     3=== 2.1. Android Requirements ===
     4
     5All 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.
     6
     7Only 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].
     8
     9=== 2.2. Android Studio Setup ===
     10
     11Create a new Android Project following the wizard.
     12
     13Copy the ''jmfapi.jar'' that you created into the libs folder that you will find inside the folder named after the module you just created.
     14
     15In 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.
     16
     17Now you can import the classes you need to use from the JMFAPI library by doing:
     18
     19{{{#!java
     20
     21import edu.rutgers.winlab.jmfapi.*;
     22}}}