-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
put ilarele_gsoc into root directory
- Loading branch information
1 parent
9230dc7
commit 601b012
Showing
310 changed files
with
16,145 additions
and
40,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
14 changes: 7 additions & 7 deletions
14
...e_gsoc/SensorSimulatorSettings/.classpath → SensorRecordFromDevice/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
66 changes: 33 additions & 33 deletions
66
ilarele_gsoc/SensorRecordFromDevice/.project → SensorRecordFromDevice/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.