Changes between Version 3 and Version 4 of 2012/Projects/ASL/Tutorial1


Ignore:
Timestamp:
Aug 7, 2012, 2:13:00 PM (5 years ago)
Author:
xianyi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2012/Projects/ASL/Tutorial1

    v3 v4  
    22 
    33== Prerequisites == 
     4 
     5=== Required Downloads=== 
    46Before beginning and using this tutorial, you will need the following fundamental tools: 
    57 
     
    1517 * [https://summer.winlab.rutgers.edu/projects/raw-attachment/wiki/2012/Projects/ASL/ASL.jar Android Sensor Library jar file] (if it doesn't download, right click and press "Save link as..."). 
    1618 
    17 ==  
     19=== Required Code === 
     20 
     21Any use of the library will require that the following permissions are set in the !AndroidManifest.xml file: 
     22 
     23{{{ 
     24 
     25    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
     26    <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 
     27    <uses-permission android:name="android.permission.INTERNET" /> 
     28    <uses-permission android:name="android.permission.BLUETOOTH" /> 
     29    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 
     30    <uses-permission android:name="android.permission.RECORD_AUDIO" /> 
     31    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 
     32    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 
     33    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> 
     34}}} 
     35 
     36And the following services need to be placed under the <application> header in !AndroidManifest.xml: 
     37 
     38{{{ 
     39        <service 
     40            android:name="winlab.file.RunningService" 
     41            android:enabled="true" /> 
     42        <service 
     43            android:name="winlab.sql.Sensors_SQLite_Service" 
     44            android:enabled="true" /> 
     45        <service 
     46            android:name="winlab.sensoradventure.gps.GPSloggerservice" 
     47            android:enabled="true" /> 
     48 
     49}}}