zhehaowang / ndnfit

NDNFit Android OpenmHealth pilot application based on professor Jung's work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zhehao Wang zhehao@cs.ucla.edu Haitao Zhang zhtaoxiang@gmail.com Wang Yang xxyangwang@gmail.com

NDNFit Android application based on professor Jung's work. Did not fork as we don't have access to the original work on BitBucket.

Jan 20, 2015 - v0.1

What it does:

  • Capture time-location data (Use NETWORK_PROVIDER instead of GPS_PROVIDER for GPS for now)
  • Use the identity provided by Android Identity Manager to sign the captured data
  • "Upload" captured data to the DSU running on remap server memoria.ndn.ucla.edu

How to use:

  • Install ndnfit, identity manager, and nfd-android on Android device
  • Open NFD-Android (the link to github repo), and configure it. Need to connect nfd-Android to the NDN testbed (the best choice is remap server memoria.ndn.ucla.edu) and configure route.
    • Step 1: open the app, click "general"
    • Step 2: choose “faces” or “routes”
    • Step 3: click the “+” to add face after choosing "faces"
    • Step 4: click the “+” to add route after choosing "routes"

NFD-Android screenshot

  • Open identity manager, request an NDNFit identity (see the steps)
  • Open ndnfit to capture and upload data
    • Choose an identity to use with the help of Identity Manager
    • Click “start tracking” to start to capture data
    • Click “stop tracking” to stop capturing data. The captured data will be uploaded to DSU within ten minutes
    • Click “show result” to show path on google map locally
    • Click “Reset Data” to clear local cache
    • “Encrypt” and “Decrypt” function have not been added yet

Known Issues:

  • Nfd-Android stops working after about 20 minutes unless refresh it periodically
  • The DSU (which uses Repo-ng ) is not robust enough. The number of data packets it can hold is limited.

Development:

  • Open in Android Studio, SDK 21, build tools 21.1.2; sync Gradle

About

NDNFit Android OpenmHealth pilot application based on professor Jung's work

License:GNU Lesser General Public License v3.0


Languages

Language:Java 98.7%Language:Protocol Buffer 1.3%