Uno Android Application Source Code Readme Sept. 30, 2013 ------------------------------------------ Source Code Directory: - / - assets/ - bin/ - gen/ - res/ - src/ .classpath .project AndroidManifest.xml proguard.cfg project.properties This is a standard directory generated by Eclipse Android Plugin. ------------------------------------------- Java Source Code Files: In the /src/com/uno/demo directory, you will see the following Java files related to Uno Android application. - imgPreview.java - LocalHome.java - LocalResourceDatabaseHelper.java - LocalSensor.java - LoginPage.java - MainPage.java - pdfPreview.java - PinDatabaseHelper.java - RegisterPage.java - Search.java - txtPreview.java - UnoConstant.java - UnoNetwork.java - UnoService.java Among the files, LocalHome.java is the place to handle all local data, which includes list all resources on the device and publish or update the sharing previliges. LocalResourceDatabaseHelper.java is the helper function to access the SQLite database on Android, where a local copy of sharing data is stored. These two Java files are used in Uno@Home application. In addition, LocalSensor.java file is responsible to display and share sensor objects. For example, if a user wants to share his gyroscope sensor, he can interact with Uno through this Java file. This file is widely used in Uno@Sense application. UnoNetwork.java is the place for the user to look at objects shared from other devices. For example, a user may want to access a TXT file, then if this device has the privilege to access, then the file will be copied and displayed using txtPreview.java file. The same thing for sensor objects, which support remote view and remote logging. Finally, UnoService.java is the core service in the Uno android architecture which process the UI events such as the sharing, sensor control and file preview. In addition, the service is responsible to communicate with metadata stored in the cloud. ----------------------------------------- Usage: We strong recommend you to setup your Android build environment and SDK tools from Google's official site: http://developer.android.com/sdk/index.html Then you can import this dictory into Eclipse. The MainPage. java is the place to start the whole project. ------------------------------------------ Installation: Normally, Eclipse helps compile and deploy the application into your Android phone, but if you would like to install the APK file manually from commandline, you may use the following commands: $ adb install uno.apk or if you want your application in SD card, use the following commands: $ adb install -s uno.apk