Permalink
Browse files

Wireless networks project, first commit

  • Loading branch information...
mziccard committed Dec 21, 2012
0 parents commit 13c3e21cd6b8f76f8ed43cf1ce864f1ea984f6bf
Showing with 4,263 additions and 0 deletions.
  1. +26 −0 .gitignore
  2. +4 −0 .settings/org.eclipse.jdt.core.prefs
  3. +40 −0 AndroidManifest.xml
  4. BIN libs/Androidplot-core-0.5.0-release.jar
  5. BIN libs/android-support-v4.jar
  6. +15 −0 project.properties
  7. BIN res/drawable-hdpi/ic_action_search.png
  8. BIN res/drawable-hdpi/ic_launcher.png
  9. BIN res/drawable-ldpi/ic_launcher.png
  10. BIN res/drawable-mdpi/ic_action_search.png
  11. BIN res/drawable-mdpi/ic_launcher.png
  12. BIN res/drawable-xhdpi/ic_action_search.png
  13. BIN res/drawable-xhdpi/ic_launcher.png
  14. +7 −0 res/drawable/back.xml
  15. BIN res/drawable/backtx.bmp
  16. +8 −0 res/drawable/black_white_gradient.xml
  17. BIN res/drawable/fronttx.bmp
  18. +7 −0 res/drawable/red_back.xml
  19. +37 −0 res/layout/accelerometer_fragment.xml
  20. +21 −0 res/layout/activity_monitor.xml
  21. +239 −0 res/layout/activity_start.xml
  22. +43 −0 res/layout/camera_fragment.xml
  23. +28 −0 res/layout/empty_fragment.xml
  24. +23 −0 res/layout/microphone_fragment.xml
  25. +6 −0 res/menu/monitor_activity.xml
  26. +33 −0 res/raw/per_pixel_fragment_shader.glsl
  27. +32 −0 res/raw/per_pixel_vertex_shader.glsl
  28. +5 −0 res/values-v11/styles.xml
  29. +5 −0 res/values-v14/styles.xml
  30. +69 −0 res/values/strings.xml
  31. +5 −0 res/values/styles.xml
  32. +80 −0 src/me/ziccard/secureit/MicrophoneVolumePicker.java
  33. +121 −0 src/me/ziccard/secureit/MonitorActivity.java
  34. +222 −0 src/me/ziccard/secureit/Preview.java
  35. +148 −0 src/me/ziccard/secureit/SecureItPreferences.java
  36. +261 −0 src/me/ziccard/secureit/StartActivity.java
  37. +50 −0 src/me/ziccard/secureit/VolumeDynamicSeries.java
  38. +188 −0 src/me/ziccard/secureit/async/AuthenticatorTask.java
  39. +117 −0 src/me/ziccard/secureit/async/BluetoothServerTask.java
  40. +184 −0 src/me/ziccard/secureit/async/DataUploaderTask.java
  41. +70 −0 src/me/ziccard/secureit/async/MicRecorderTask.java
  42. +23 −0 src/me/ziccard/secureit/async/MicRecorderTaskFactory.java
  43. +64 −0 src/me/ziccard/secureit/async/MicSamplerTask.java
  44. +104 −0 src/me/ziccard/secureit/async/MotionAsyncTask.java
  45. +51 −0 src/me/ziccard/secureit/bluetooth/ObjectBluetoothSocket.java
  46. +57 −0 src/me/ziccard/secureit/codec/AudioCodec.java
  47. +75 −0 src/me/ziccard/secureit/codec/ImageCodec.java
  48. +23 −0 src/me/ziccard/secureit/config/Remote.java
  49. +162 −0 src/me/ziccard/secureit/fragment/AccelerometerFragment.java
  50. +68 −0 src/me/ziccard/secureit/fragment/CameraFragment.java
  51. +69 −0 src/me/ziccard/secureit/fragment/EmptyFragment.java
  52. +147 −0 src/me/ziccard/secureit/fragment/MicrophoneFragment.java
  53. +9 −0 src/me/ziccard/secureit/messages/BluetoothMessage.java
  54. +9 −0 src/me/ziccard/secureit/messages/BluetoothMessageData.java
  55. +14 −0 src/me/ziccard/secureit/messages/HelloMessage.java
  56. +32 −0 src/me/ziccard/secureit/messages/KeyRequest.java
  57. +19 −0 src/me/ziccard/secureit/messages/KeyResponse.java
  58. +9 −0 src/me/ziccard/secureit/messages/MessageType.java
  59. +19 −0 src/me/ziccard/secureit/motiondetection/IMotionDetector.java
  60. +74 −0 src/me/ziccard/secureit/motiondetection/LuminanceMotionDetector.java
  61. +617 −0 src/me/ziccard/secureit/opengl/AccelerometerGLRenderer.java
  62. +21 −0 src/me/ziccard/secureit/opengl/AccelerometerGLSurfaceView.java
  63. +40 −0 src/me/ziccard/secureit/opengl/RawResourceReader.java
  64. +103 −0 src/me/ziccard/secureit/opengl/ShaderHelper.java
  65. +46 −0 src/me/ziccard/secureit/opengl/TextureHelper.java
  66. +314 −0 src/me/ziccard/secureit/service/BluetoothService.java
@@ -0,0 +1,26 @@
# gedit temporary
*~
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# Local configuration file (sdk path, etc)
local.properties
# Eclipse project files
.classpath
.project
# Proguard folder generated by Eclipse
proguard/
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.source=1.5
@@ -0,0 +1,40 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.ziccard.secureit"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".StartActivity"
android:label="@string/title_activity_start" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/app_name" android:name=".MonitorFragment"/>
<activity
android:label="@string/app_name"
android:name=".MonitorActivity"
android:screenOrientation="portrait"/>
<service android:name=".service.BluetoothService"/>
</application>
</manifest>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,15 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-16
android.library.reference.1=../Android-ViewPagerIndicator/library
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="#ffffff" />
<stroke android:width="2dip" android:color="#000000"/>
<padding android:left="7dp" android:top="7dp"
android:right="7dp" android:bottom="7dp" />
<corners android:radius="4dp" />
</shape>
Binary file not shown.
@@ -0,0 +1,8 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#00000000"
android:centerColor="#FFFFFFFF"
android:endColor="#00000000"
android:angle="0" />
</shape>
Binary file not shown.
@@ -0,0 +1,7 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="#ffffff" />
<stroke android:width="2dip" android:color="#FF0000"/>
<padding android:left="7dp" android:top="7dp"
android:right="7dp" android:bottom="7dp" />
<corners android:radius="4dp" />
</shape>
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:orientation="vertical"
android:layout_height="wrap_content">
<TextView
android:id="@+id/accelerometer_text"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/magnetic_field_text"
android:layout_below="@id/accelerometer_text"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/orientation_text"
android:layout_below="@id/magnetic_field_text"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<FrameLayout android:id="@+id/opengl"
android:layout_below="@id/orientation_text"
android:layout_centerHorizontal="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</FrameLayout>
</RelativeLayout>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.viewpagerindicator.TitlePageIndicator
android:id="@+id/indicator"
android:padding="10dip"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
/>
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1"
/>
</LinearLayout>
Oops, something went wrong.

0 comments on commit 13c3e21

Please sign in to comment.