Skip to content

Commit

Permalink
put ilarele_gsoc into root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
donho-tech committed Aug 19, 2012
1 parent 9230dc7 commit 601b012
Show file tree
Hide file tree
Showing 310 changed files with 16,145 additions and 40,286 deletions.
46 changes: 23 additions & 23 deletions ilarele_gsoc/HowToAddASensor.txt → HowToAddASensor.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
In Java Application (server)
0. in SensorModel class, add constants for the new server: POZ_X, TYPE_X, X
1. describe sensor:
add classes:
XModel
XView
XController
2. add sensor in the code:
in SensorSimulatorModel add sensors.add(new XModel())
in SensorSimulatorView add sensors.add(new XView(xmodel))
in SensorSimulatorController add sensors.add(new XController(xmodel, xview))
3. add sensor in communication:
add (in model.sensor.SensorServerThread class) code in the method getSensorModelFromName, getSensorCtrlFromName
in SettingsActivity
1. in Sensor class, add TYPE_X
2. in SensorNames class:
add TYPE_X
add code for the new sensor in getSensorName, getSensorInteger, getNumSensorValues
3. if it is a new sensor in android api:
increment SensorNames.SENSOR_MAX_BIT
In Java Application (server)
0. in SensorModel class, add constants for the new server: POZ_X, TYPE_X, X
1. describe sensor:
add classes:
XModel
XView
XController
2. add sensor in the code:
in SensorSimulatorModel add sensors.add(new XModel())
in SensorSimulatorView add sensors.add(new XView(xmodel))
in SensorSimulatorController add sensors.add(new XController(xmodel, xview))
3. add sensor in communication:
add (in model.sensor.SensorServerThread class) code in the method getSensorModelFromName, getSensorCtrlFromName


in SettingsActivity
1. in Sensor class, add TYPE_X
2. in SensorNames class:
add TYPE_X
add code for the new sensor in getSensorName, getSensorInteger, getNumSensorValues

3. if it is a new sensor in android api:
increment SensorNames.SENSOR_MAX_BIT
increment SensorSimulatorClient.MAX_SENSOR
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SensorRecordFromDevice</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SensorRecordFromDevice</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 601b012

Please sign in to comment.