Browse Source

Seperated and renamed modules

master
yigido 6 years ago
parent
commit
0bee23e466
166 changed files with 433 additions and 5647 deletions
  1. +0
    -0
      .gitignore
  2. +418
    -359
      .idea/workspace.xml
  3. +0
    -0
      Barcode_Reader_Python/.gitkeep
  4. +0
    -12
      Barcode_Reader_Python/.idea/Barcode_Reader_Python.iml
  5. +0
    -5
      Barcode_Reader_Python/.idea/codeStyles/codeStyleConfig.xml
  6. +0
    -14
      Barcode_Reader_Python/.idea/deployment.xml
  7. +0
    -7
      Barcode_Reader_Python/.idea/misc.xml
  8. +0
    -8
      Barcode_Reader_Python/.idea/modules.xml
  9. +0
    -7
      Barcode_Reader_Python/.idea/vagrant.xml
  10. +0
    -6
      Barcode_Reader_Python/.idea/vcs.xml
  11. +0
    -15
      Barcode_Reader_Python/.idea/webServers.xml
  12. +0
    -621
      Barcode_Reader_Python/.idea/workspace.xml
  13. +0
    -34
      Barcode_Reader_Python/arduino-i2c/arduino-i2c.ino
  14. +0
    -295
      Barcode_Reader_Python/database_append.py
  15. +0
    -12
      Barcode_Reader_Python/database_read.py
  16. +0
    -132
      Barcode_Reader_Python/generate_moves.py
  17. +0
    -112
      Barcode_Reader_Python/main.py
  18. +0
    -118
      Barcode_Reader_Python/sort_date.py
  19. +0
    -6
      Barcode_Reader_Python/test3.py
  20. +0
    -24
      Barcode_Reader_Python/tst2.py
  21. +3
    -2
      DataServer/DataServer.iml
  22. +0
    -0
      Ev3_Code/.idea/vcs.xml
  23. BIN
      FoodCloud.apk
  24. +0
    -10
      FoodCloud/.gitignore
  25. +0
    -19
      FoodCloud/.idea/assetWizardSettings.xml
  26. BIN
      FoodCloud/.idea/caches/build_file_checksums.ser
  27. +0
    -29
      FoodCloud/.idea/codeStyles/Project.xml
  28. +0
    -5
      FoodCloud/.idea/codeStyles/codeStyleConfig.xml
  29. +0
    -18
      FoodCloud/.idea/gradle.xml
  30. +0
    -34
      FoodCloud/.idea/misc.xml
  31. +0
    -12
      FoodCloud/.idea/runConfigurations.xml
  32. +0
    -17
      FoodCloud/.project
  33. +0
    -2
      FoodCloud/.settings/org.eclipse.buildship.core.prefs
  34. +0
    -6
      FoodCloud/app/.classpath
  35. +0
    -1
      FoodCloud/app/.gitignore
  36. +0
    -23
      FoodCloud/app/.project
  37. +0
    -2
      FoodCloud/app/.settings/org.eclipse.buildship.core.prefs
  38. +0
    -37
      FoodCloud/app/build.gradle
  39. +0
    -51
      FoodCloud/app/google-services.json
  40. BIN
      FoodCloud/app/libs/GenAsync.jar
  41. +0
    -21
      FoodCloud/app/proguard-rules.pro
  42. +0
    -26
      FoodCloud/app/src/androidTest/java/gq/yigit/foodcloud/ExampleInstrumentedTest.java
  43. +0
    -46
      FoodCloud/app/src/main/AndroidManifest.xml
  44. +0
    -285
      FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentIntegrator.java
  45. +0
    -67
      FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentResult.java
  46. +0
    -60
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/FarmPop.java
  47. +0
    -28
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/GetInfo.java
  48. +0
    -139
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/LearnMore.java
  49. +0
    -84
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/MainActivity.java
  50. +0
    -97
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/PHPComm.java
  51. +0
    -67
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/PackagePop.java
  52. +0
    -79
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans1.java
  53. +0
    -79
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans2.java
  54. +0
    -72
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProcessPop.java
  55. +0
    -188
      FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProductInfo.java
  56. +0
    -34
      FoodCloud/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  57. +0
    -29
      FoodCloud/app/src/main/res/drawable/buttonshape.xml
  58. +0
    -74
      FoodCloud/app/src/main/res/drawable/ic_launcher_background.xml
  59. +0
    -12
      FoodCloud/app/src/main/res/drawable/process_bg.xml
  60. +0
    -130
      FoodCloud/app/src/main/res/layout/activity_farm_pop.xml
  61. +0
    -41
      FoodCloud/app/src/main/res/layout/activity_get_info.xml
  62. +0
    -237
      FoodCloud/app/src/main/res/layout/activity_learn_more.xml
  63. +0
    -68
      FoodCloud/app/src/main/res/layout/activity_main.xml
  64. +0
    -129
      FoodCloud/app/src/main/res/layout/activity_package_pop.xml
  65. +0
    -189
      FoodCloud/app/src/main/res/layout/activity_pop_trans1.xml
  66. +0
    -190
      FoodCloud/app/src/main/res/layout/activity_pop_trans2.xml
  67. +0
    -113
      FoodCloud/app/src/main/res/layout/activity_process_pop.xml
  68. +0
    -294
      FoodCloud/app/src/main/res/layout/activity_product_info.xml
  69. +0
    -5
      FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  70. +0
    -5
      FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  71. BIN
      FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher.png
  72. BIN
      FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  73. BIN
      FoodCloud/app/src/main/res/mipmap-hdpi/icon.png
  74. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/arrow_left.png
  75. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/arrow_right.png
  76. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/check.png
  77. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/factory.png
  78. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/farm.png
  79. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher.png
  80. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  81. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/icon.png
  82. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/market.png
  83. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/packaging.png
  84. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/truck.png
  85. BIN
      FoodCloud/app/src/main/res/mipmap-mdpi/warning.png
  86. BIN
      FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  87. BIN
      FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  88. BIN
      FoodCloud/app/src/main/res/mipmap-xhdpi/icon.png
  89. BIN
      FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  90. BIN
      FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  91. BIN
      FoodCloud/app/src/main/res/mipmap-xxhdpi/icon.png
  92. BIN
      FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  93. BIN
      FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  94. BIN
      FoodCloud/app/src/main/res/mipmap-xxxhdpi/icon.png
  95. +0
    -3
      FoodCloud/app/src/main/res/values-round/strings.xml
  96. +0
    -6
      FoodCloud/app/src/main/res/values/colors.xml
  97. +0
    -15
      FoodCloud/app/src/main/res/values/dimens.xml
  98. +0
    -13
      FoodCloud/app/src/main/res/values/strings.xml
  99. +0
    -15
      FoodCloud/app/src/main/res/values/styles.xml
  100. +0
    -17
      FoodCloud/app/src/test/java/gq/yigit/foodcloud/ExampleUnitTest.java

+ 0
- 0
.gitignore View File


+ 418
- 359
.idea/workspace.xml View File

@ -1,42 +1,229 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="7b5ef56c-2d3e-44d9-be69-b414f166f99b" name="Default" comment="" />
<list default="true" id="f77644b5-4f2e-4632-a6f5-17e6501befbf" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/.idea/gradle.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/modules/FoodCloud.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/DataServer/DataServer.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/GUI/src/Main.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Robot_Server/Robot_Server.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/settings.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.gitkeep" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/Barcode_Reader_Python.iml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/codeStyles/codeStyleConfig.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/deployment.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/modules.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/vagrant.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/webServers.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/arduino-i2c/arduino-i2c.ino" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/database_append.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/database_read.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/generate_moves.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/main.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/sort_date.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/test3.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Barcode_Reader_Python/tst2.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud.apk" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/assetWizardSettings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/caches/build_file_checksums.ser" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/codeStyles/Project.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/codeStyles/codeStyleConfig.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/gradle.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/runConfigurations.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.idea/vcs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/Ev3_Code/.idea/vcs.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.project" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/.settings/org.eclipse.buildship.core.prefs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/.classpath" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/.project" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/.settings/org.eclipse.buildship.core.prefs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/build.gradle" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/google-services.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/libs/GenAsync.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/proguard-rules.pro" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/androidTest/java/gq/yigit/foodcloud/ExampleInstrumentedTest.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/AndroidManifest.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentIntegrator.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentResult.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/FarmPop.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/GetInfo.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/LearnMore.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/MainActivity.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/PHPComm.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/PackagePop.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans1.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans2.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProcessPop.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProductInfo.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/drawable-v24/ic_launcher_foreground.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/drawable/buttonshape.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/drawable/ic_launcher_background.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/drawable/process_bg.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_farm_pop.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_get_info.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_learn_more.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_main.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_package_pop.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_pop_trans1.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_pop_trans2.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_process_pop.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/layout/activity_product_info.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher_round.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-hdpi/icon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/arrow_left.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/arrow_right.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/check.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/factory.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/farm.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher_round.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/icon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/market.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/packaging.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/truck.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-mdpi/warning.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xhdpi/icon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxhdpi/icon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/mipmap-xxxhdpi/icon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/values-round/strings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/values/colors.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/values/dimens.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/values/strings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/main/res/values/styles.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/app/src/test/java/gq/yigit/foodcloud/ExampleUnitTest.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/build.gradle" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/gradle.properties" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/gradle/wrapper/gradle-wrapper.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/gradle/wrapper/gradle-wrapper.properties" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/gradlew" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/gradlew.bat" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/FoodCloud/settings.gradle" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/_config.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/.idea/communication.iml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/.idea/modules.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/.idea/php.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/communication/comm.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/1.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/10.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/11.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/12.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/13.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/14.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/15.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/16.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/17.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/18.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/19.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/2.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/20.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/21.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/22.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/23.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/24.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/25.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/3.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/4.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/5.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/6.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/7.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/8.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Processes/9.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/1.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/10.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/11.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/12.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/13.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/14.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/15.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/16.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/17.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/18.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/19.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/2.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/20.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/21.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/22.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/23.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/24.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/25.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/3.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/4.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/5.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/6.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/7.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/8.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/database/content/Products/9.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/move_apk.sh" beforeDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$move.coverage" NAME="move Coverage Results" MODIFIED="1529670744750" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$RUN.coverage" NAME="RUN Coverage Results" MODIFIED="1529584815747" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/WRO_QR$pydevd.coverage" NAME="pydevd Coverage Results" MODIFIED="1529693199893" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$APPLICATION_HOME_DIR$/helpers/pydev" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$generate_moves.coverage" NAME="generate_moves Coverage Results" MODIFIED="1529665788763" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$raspberry_live.coverage" NAME="raspberry_live Coverage Results" MODIFIED="1529585357099" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$sort_date.coverage" NAME="sort_date Coverage Results" MODIFIED="1529590504238" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$main.coverage" NAME="main Coverage Results" MODIFIED="1529672838644" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$Unnamed.coverage" NAME="raspberry_live Coverage Results" MODIFIED="1529543452123" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$database_append.coverage" NAME="database_append Coverage Results" MODIFIED="1529689670654" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$database_actions.coverage" NAME="database_actions Coverage Results" MODIFIED="1529692830827" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<component name="CheckStyle-IDEA-workspace">
<option name="configuration">
<map>
<entry key="last-active-plugin-version" value="5.23.0" />
</map>
</option>
</component>
<component name="ExternalProjectsData">
<projectState path="$PROJECT_DIR$/FoodCloud">
<ProjectState />
</projectState>
</component>
<component name="ExternalProjectsManager">
<system id="GRADLE">
<state>
<projects_view />
</state>
</system>
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="pydevd.py" pinned="false" current-in-tab="false">
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/GUI/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="319">
<caret line="1077" column="30" selection-start-line="1077" selection-start-column="30" selection-end-line="1077" selection-end-column="30" />
<state relative-caret-position="30">
<caret line="2" selection-start-line="2" selection-end-line="2" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="database_append.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Barcode_Reader_Python/database_append.py">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/DataServer/content/Processes/2.json">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/FoodCloud/app/build.gradle">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/FoodCloud/gradle.properties">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="204">
<caret line="37" column="4" selection-start-line="37" selection-start-column="4" selection-end-line="37" selection-end-column="4" />
<state relative-caret-position="165">
<caret line="11" selection-start-line="11" selection-end-line="11" />
</state>
</provider>
</entry>
@ -46,92 +233,76 @@
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Python Script" />
<option value="Class" />
</list>
</option>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find />
<find>cam.read</find>
<find>dates_orig</find>
<find>dates</find>
<find>shelf_new</find>
<find>database_</find>
</findStrings>
</component>
<component name="Git.Settings">
<option name="PREVIOUS_COMMIT_AUTHORS">
<list>
<option value="Yiğit Çolakoğlu &lt;yigitcolakoglu@hotmail.com&gt;" />
</list>
</option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/run.py" />
<option value="$PROJECT_DIR$/zbar_live.py" />
<option value="$PROJECT_DIR$/raspberry_zbar.py" />
<option value="$PROJECT_DIR$/sort_date.py" />
<option value="$PROJECT_DIR$/generate_moves.py" />
<option value="$PROJECT_DIR$/move.py" />
<option value="$PROJECT_DIR$/database_actions.py" />
<option value="$PROJECT_DIR$/database_append.py" />
<option value="$PROJECT_DIR$/main.py" />
<option value="$PROJECT_DIR$/database_read.py" />
<option value="$PROJECT_DIR$/Barcode_Reader_Python/database_append.py" />
<option value="$PROJECT_DIR$/FoodCloud/app/build.gradle" />
<option value="$PROJECT_DIR$/FoodCloud/gradle.properties" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="NodePackageJsonFileManager">
<packageJsonPaths />
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="327" />
<option name="y" value="28" />
<option name="width" value="1356" />
<option name="height" value="768" />
<option name="x" value="105" />
<option name="width" value="1890" />
<option name="height" value="1027" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<pane id="AndroidView" />
<pane id="PackagesPane">
<subPane>
<expand>
<path>
<item name="WRO_QR" type="b2602c69:ProjectViewProjectNode" />
<item name="WRO_QR" type="462c0819:PsiDirectoryNode" />
<item name="WRO_QR" type="58d84e3e:PackageViewProjectNode" />
<item name="GUI" type="616d4139:PackageViewModuleNode" />
</path>
<path>
<item name="WRO_QR" type="b2602c69:ProjectViewProjectNode" />
<item name="WRO_QR" type="462c0819:PsiDirectoryNode" />
<item name="Barcode_Reader_Python" type="462c0819:PsiDirectoryNode" />
<item name="WRO_QR" type="58d84e3e:PackageViewProjectNode" />
<item name="GUI" type="616d4139:PackageViewModuleNode" />
<item name="Libraries" type="5c3f07af:PackageViewLibrariesNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="WRO_QR" type="b2602c69:ProjectViewProjectNode" />
<item name="GUI" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
</panes>
</component>
<component name="PropertiesComponent">
<property name="SearchEverywhereHistoryKey" value="keymap&#9;ACTION&#9;ChangeKeymap" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/Barcode_Reader_Python" />
<property name="android.sdk.path" value="$USER_HOME$/Android/Sdk" />
<property name="aspect.path.notification.shown" value="true" />
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542747534969" />
<property name="jdk.selected.PYTHON_MODULE" value="Python 2.7 (WRO_QR)" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/FoodCloud" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="preferences.keymap" />
<property name="project.structure.last.edited" value="Modules" />
<property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.2" />
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
<property name="show.migrate.to.gradle.popup" value="false" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
@ -145,333 +316,221 @@
</list>
</option>
</component>
<component name="RunManager" selected="Python.pydevd">
<configuration name="RUN" type="PythonConfigurationType" factoryName="Python">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="/usr/bin/python2.7" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/run.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="database_actions" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/database_read.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="database_append" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/database_append.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<component name="RunManager">
<configuration default="true" type="AndroidJUnit">
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="main" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/main.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<configuration name="app" type="AndroidRunConfigurationType" factoryName="Android App">
<module name="app" />
<option name="DEPLOY" value="true" />
<option name="ARTIFACT_NAME" value="" />
<option name="PM_INSTALL_OPTIONS" value="" />
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
<option name="MODE" value="default_activity" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
<option name="FORCE_STOP_RUNNING_APP" value="true" />
<option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
<option name="USE_LAST_SELECTED_DEVICE" value="false" />
<option name="PREFERRED_AVD" value="" />
<option name="DEBUGGER_TYPE" value="Java" />
<Java />
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
</Profilers>
<option name="DEEP_LINK" value="" />
<option name="ACTIVITY_CLASS" value="" />
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
<option name="com.android.instantApps.provision.BeforeRunTask" enabled="true" clearCache="false" clearProvisionedDevices="false" />
</method>
</configuration>
<configuration name="move" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/move.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="pydevd" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$APPLICATION_HOME_DIR$/helpers/pydev" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="raspberry_live" type="PythonConfigurationType" factoryName="Python">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="/usr/bin/python2.7" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/raspberry_zbar.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<list>
<item itemvalue="Python.raspberry_live" />
<item itemvalue="Python.RUN" />
<item itemvalue="Python.main" />
<item itemvalue="Python.database_actions" />
<item itemvalue="Python.move" />
<item itemvalue="Python.database_append" />
<item itemvalue="Python.pydevd" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python.pydevd" />
<item itemvalue="Python.database_actions" />
<item itemvalue="Python.database_append" />
<item itemvalue="Python.main" />
<item itemvalue="Python.move" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="7b5ef56c-2d3e-44d9-be69-b414f166f99b" name="Default" comment="" />
<created>1529543214918</created>
<changelist id="f77644b5-4f2e-4632-a6f5-17e6501befbf" name="Default Changelist" comment="" />
<created>1542745290180</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1529543214918</updated>
</task>
<task id="LOCAL-00001" summary="completed the algorithm">
<created>1529689633554</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1529689633554</updated>
</task>
<task id="LOCAL-00002" summary="refactored,improved design">
<created>1529690495712</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1529690495712</updated>
<updated>1542745290180</updated>
<workItem from="1542745291535" duration="135000" />
<workItem from="1542745454678" duration="117000" />
<workItem from="1542745606184" duration="340000" />
<workItem from="1542745981355" duration="265000" />
<workItem from="1542746287319" duration="815000" />
<workItem from="1542747128494" duration="276000" />
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="1948000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="24" width="1920" height="1030" extended-state="6" />
<editor active="true" />
<frame x="0" y="23" width="1920" height="1031" extended-state="6" />
<layout>
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.5007587" side_tool="true" weight="0.4638365" />
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="7" />
<window_info anchor="bottom" id="Python Console" order="7" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.49924126" weight="0.28426966" />
<window_info anchor="bottom" id="Terminal" order="7" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.19284189" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="right" id="Database" order="3" />
<window_info anchor="right" id="SciView" order="3" weight="0.32928678" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2588047" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4033708" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.24962063" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info id="Designer" order="2" />
<window_info id="Image Layers" order="3" />
<window_info id="Capture Tool" order="4" />
<window_info id="Favorites" order="5" side_tool="true" />
<window_info id="UI Designer" order="6" />
<window_info id="Learn" order="7" />
<window_info id="Build Variants" order="8" side_tool="true" />
<window_info id="Captures" order="9" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32911393" />
<window_info anchor="bottom" id="Messages" order="7" />
</layout>
<layout-to-restore>
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.24962063" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.26783004" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Terminal" order="7" />
<window_info anchor="bottom" id="Docker" order="8" show_stripe_button="false" />
<window_info anchor="bottom" id="CheckStyle" order="9" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
<window_info anchor="bottom" id="Database Changes" order="11" />
<window_info anchor="bottom" id="Version Control" order="12" />
<window_info anchor="bottom" id="Android Profiler" order="13" show_stripe_button="false" />
<window_info anchor="bottom" id="Logcat" order="14" />
<window_info anchor="bottom" id="Build" order="15" visible="true" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Version Control" order="8" />
<window_info active="true" anchor="bottom" id="Run" order="2" sideWeight="0.49924126" visible="true" weight="0.27056962" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32911393" />
<window_info anchor="bottom" id="Python Console" order="10" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39873418" />
<window_info anchor="right" id="Database" order="4" />
<window_info anchor="bottom" id="Terminal" order="11" />
<window_info anchor="bottom" id="Event Log" order="12" sideWeight="0.5007587" side_tool="true" weight="0.4638365" />
<window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="right" id="SciView" order="3" weight="0.32928678" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info id="Favorites" order="2" side_tool="true" />
</layout-to-restore>
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="Maven" order="3" />
<window_info anchor="right" id="Palette" order="4" />
<window_info anchor="right" id="Flutter Inspector" order="5" />
<window_info anchor="right" id="Flutter Outline" order="6" />
<window_info anchor="right" id="SciView" order="7" />
<window_info anchor="right" id="Database" order="8" />
<window_info anchor="right" id="Palette&#9;" order="9" />
<window_info anchor="right" id="Theme Preview" order="10" />
<window_info anchor="right" id="Capture Analysis" order="11" />
<window_info anchor="right" id="Device File Explorer" order="12" side_tool="true" />
<window_info anchor="right" id="Gradle" order="13" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="completed the algorithm" />
<MESSAGE value="refactored,improved design" />
<option name="LAST_COMMIT_MESSAGE" value="refactored,improved design" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<option name="time" value="4" />
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="16005">
<caret line="1067" selection-start-line="1067" selection-end-line="1067" />
</state>
</provider>
<entry file="file://$PROJECT_DIR$/FoodCloud/.project">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/zbar_live.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file:///usr/lib/python2.7/dist-packages/serial/serialposix.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="214">
<caret line="270" column="12" lean-forward="true" selection-start-line="270" selection-start-column="12" selection-end-line="270" selection-end-column="12" />
</state>
</provider>
<entry file="file://$PROJECT_DIR$/GUI/Main.java" />
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<entry file="file://$PROJECT_DIR$/Robot_Server/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="169">
<caret line="1067" selection-start-line="1067" selection-end-line="1067" />
<state relative-caret-position="-840">
<caret line="28" column="15" lean-forward="true" selection-start-line="28" selection-start-column="15" selection-end-line="28" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/zbar_live.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file:///usr/lib/python2.7/dist-packages/serial/serialposix.py">
<entry file="file://$PROJECT_DIR$/GUI/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="214">
<caret line="270" column="12" lean-forward="true" selection-start-line="270" selection-start-column="12" selection-end-line="270" selection-end-column="12" />
<state relative-caret-position="30">
<caret line="2" selection-start-line="2" selection-end-line="2" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="319">
<caret line="1077" column="30" selection-start-line="1077" selection-start-column="30" selection-end-line="1077" selection-end-column="30" />
</state>
</provider>
<entry file="file://$PROJECT_DIR$/DataServer/content/Processes/2.json">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$PROJECT_DIR$/Barcode_Reader_Python/database_append.py">
<entry file="file://$PROJECT_DIR$/FoodCloud/app/build.gradle">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/FoodCloud/gradle.properties">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="204">
<caret line="37" column="4" selection-start-line="37" selection-start-column="4" selection-end-line="37" selection-end-column="4" />
<state relative-caret-position="165">
<caret line="11" selection-start-line="11" selection-end-line="11" />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
<state key="ArtifactsStructureConfigurable.UI">
<settings>
<artifact-editor />
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="FacetStructureConfigurable.UI">
<settings>
<last-edited>Android</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="GlobalLibrariesConfigurable.UI">
<settings>
<last-edited>Python 3.7 interpreter library</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="JdkListConfigurable.UI">
<settings>
<last-edited>10.0.2+13 (2)</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ModuleStructureConfigurable.UI">
<settings>
<last-edited>GUI.project</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
<option value="0.6" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ProjectLibrariesConfigurable.UI">
<settings>
<last-edited>Gradle: __local_aars__:/home/yigido/projects/WRO_QR/FoodCloud/app/libs/GenAsync.jar:unspecified@jar</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

+ 0
- 0
Barcode_Reader_Python/.gitkeep View File


+ 0
- 12
Barcode_Reader_Python/.idea/Barcode_Reader_Python.iml View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="projectConfiguration" value="py.test" />
<option name="PROJECT_TEST_RUNNER" value="py.test" />
</component>
</module>

+ 0
- 5
Barcode_Reader_Python/.idea/codeStyles/codeStyleConfig.xml View File

@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

+ 0
- 14
Barcode_Reader_Python/.idea/deployment.xml View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PublishConfigData" serverName="home">
<serverData>
<paths name="home">
<serverdata>
<mappings>
<mapping deploy="/WRO_QR" local="$PROJECT_DIR$" web="/" />
</mappings>
</serverdata>
</paths>
</serverData>
</component>
</project>

+ 0
- 7
Barcode_Reader_Python/.idea/misc.xml View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
</project>

+ 0
- 8
Barcode_Reader_Python/.idea/modules.xml View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Barcode_Reader_Python.iml" filepath="$PROJECT_DIR$/.idea/Barcode_Reader_Python.iml" />
</modules>
</component>
</project>

+ 0
- 7
Barcode_Reader_Python/.idea/vagrant.xml View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VagrantProjectSettings">
<option name="instanceFolder" value="" />
<option name="provider" value="" />
</component>
</project>

+ 0
- 6
Barcode_Reader_Python/.idea/vcs.xml View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

+ 0
- 15
Barcode_Reader_Python/.idea/webServers.xml View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WebServers">
<option name="servers">
<webServer id="d7f02542-2c7d-4458-8ad5-b74cafb752ab" name="home" url="http://yigit.gq">
<fileTransfer host="yigit.gq" port="2121">
<advancedOptions>
<advancedOptions dataProtectionLevel="Private" />
</advancedOptions>
<option name="port" value="2121" />
</fileTransfer>
</webServer>
</option>
</component>
</project>

+ 0
- 621
Barcode_Reader_Python/.idea/workspace.xml View File

@ -1,621 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="7b5ef56c-2d3e-44d9-be69-b414f166f99b" name="Default" comment="refactored,improved design">
<change afterPath="$PROJECT_DIR$/.idea/deployment.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vagrant.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/webServers.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/database_append.py" beforeDir="false" afterPath="$PROJECT_DIR$/database_append.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$move.coverage" NAME="move Coverage Results" MODIFIED="1529670744750" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$RUN.coverage" NAME="RUN Coverage Results" MODIFIED="1529584815747" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/WRO_QR$pydevd.coverage" NAME="pydevd Coverage Results" MODIFIED="1529693199893" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$APPLICATION_HOME_DIR$/helpers/pydev" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$generate_moves.coverage" NAME="generate_moves Coverage Results" MODIFIED="1529665788763" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$raspberry_live.coverage" NAME="raspberry_live Coverage Results" MODIFIED="1529585357099" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$sort_date.coverage" NAME="sort_date Coverage Results" MODIFIED="1529590504238" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$main.coverage" NAME="main Coverage Results" MODIFIED="1529672838644" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$Unnamed.coverage" NAME="raspberry_live Coverage Results" MODIFIED="1529543452123" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$database_actions.coverage" NAME="database_actions Coverage Results" MODIFIED="1529835364313" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Barcode_Reader_Python$database_append.coverage" NAME="database_append Coverage Results" MODIFIED="1530187395357" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
</component>
<component name="DatabaseView">
<option name="SHOW_INTERMEDIATE" value="true" />
<option name="GROUP_DATA_SOURCES" value="true" />
<option name="GROUP_SCHEMA" value="true" />
<option name="GROUP_CONTENTS" value="false" />
<option name="SORT_POSITIONED" value="false" />
<option name="SHOW_EMPTY_GROUPS" value="false" />
<option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
<option name="HIDDEN_KINDS">
<set />
</option>
<expand />
<select />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="database_read.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/database_read.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="23" selection-start-line="3" selection-start-column="23" selection-end-line="3" selection-end-column="23" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="generate_moves.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/generate_moves.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
</file>
<file leaf-file-name="main.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="16" column="37" selection-start-line="16" selection-start-column="37" selection-end-line="16" selection-end-column="37" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="sort_date.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/sort_date.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="47" selection-start-line="5" selection-start-column="47" selection-end-line="5" selection-end-column="47" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="database_append.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="360">
<caret line="137" selection-start-line="137" selection-end-line="137" />
<folding>
<element signature="e#3332#3667#0" />
<element signature="e#3683#4019#0" />
<element signature="e#4035#4321#0" />
<element signature="e#4337#4624#0" />
<element signature="e#4640#4927#0" />
<element signature="e#4943#5230#0" />
<element signature="e#5246#5533#0" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Python Script" />
<option value="Gherkin feature file" />
</list>
</option>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find />
<find>cam.read</find>
<find>dates_orig</find>
<find>dates</find>
<find>shelf_new</find>
<find>database_</find>
</findStrings>
</component>
<component name="Git.Settings">
<option name="PREVIOUS_COMMIT_AUTHORS">
<list>
<option value="Yiğit Çolakoğlu &lt;yigitcolakoglu@hotmail.com&gt;" />
</list>
</option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/run.py" />
<option value="$PROJECT_DIR$/zbar_live.py" />
<option value="$PROJECT_DIR$/raspberry_zbar.py" />
<option value="$PROJECT_DIR$/sort_date.py" />
<option value="$PROJECT_DIR$/generate_moves.py" />
<option value="$PROJECT_DIR$/move.py" />
<option value="$PROJECT_DIR$/database_actions.py" />
<option value="$PROJECT_DIR$/main.py" />
<option value="$PROJECT_DIR$/Barcode_Reader_Python/database_append.py" />
<option value="$PROJECT_DIR$/database_read.py" />
<option value="$PROJECT_DIR$/database_append.py" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="NodePackageJsonFileManager">
<packageJsonPaths />
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="114" />
<option name="y" value="28" />
<option name="width" value="1326" />
<option name="height" value="774" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="Barcode_Reader_Python" type="b2602c69:ProjectViewProjectNode" />
<item name="Barcode_Reader_Python" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="SearchEverywhereHistoryKey" value="servers&#9;ACTION&#9;RemoteServersViewToolbar&#10;plugin&#9;null&#9;null&#10;keymap&#9;ACTION&#9;ChangeKeymap" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="preferences.sourceCode.Python" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager" selected="Python.database_append">
<configuration name="RUN" type="PythonConfigurationType" factoryName="Python">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="/usr/bin/python2.7" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/run.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="database_actions" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/database_read.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="database_append" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/database_append.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="main" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/main.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="move" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/move.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="pydevd" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$APPLICATION_HOME_DIR$/helpers/pydev" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<configuration name="raspberry_live" type="PythonConfigurationType" factoryName="Python">
<module name="Barcode_Reader_Python" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="/usr/bin/python2.7" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/raspberry_zbar.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
</configuration>
<list>
<item itemvalue="Python.raspberry_live" />
<item itemvalue="Python.RUN" />
<item itemvalue="Python.main" />
<item itemvalue="Python.database_actions" />
<item itemvalue="Python.move" />
<item itemvalue="Python.database_append" />
<item itemvalue="Python.pydevd" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python.database_append" />
<item itemvalue="Python.database_actions" />
<item itemvalue="Python.pydevd" />
<item itemvalue="Python.main" />
<item itemvalue="Python.move" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="7b5ef56c-2d3e-44d9-be69-b414f166f99b" name="Default" comment="" />
<created>1529543214918</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1529543214918</updated>
</task>
<task id="LOCAL-00001" summary="completed the algorithm">
<created>1529689633554</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1529689633554</updated>
</task>
<task id="LOCAL-00002" summary="refactored,improved design">
<created>1529690495712</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1529690495712</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
<is-autoscroll-to-source value="true" />
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="0" y="24" width="1920" height="1030" extended-state="6" />
<layout>
<window_info active="true" anchor="bottom" id="TODO" order="6" visible="true" weight="0.32921347" />
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.5007587" side_tool="true" weight="0.4638365" />
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="7" />
<window_info anchor="bottom" id="Python Console" order="7" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.49924126" weight="0.28426966" />
<window_info anchor="bottom" id="Terminal" order="7" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.22329059" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="right" id="Database" order="3" weight="0.32959402" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32911393" />
<window_info anchor="right" id="SciView" order="3" weight="0.32905984" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4033708" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.24962063" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="bottom" id="Messages" order="7" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
</layout>
<layout-to-restore>
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.24962063" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.26783004" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info active="true" anchor="bottom" id="Run" order="2" sideWeight="0.49924126" visible="true" weight="0.27056962" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39873418" />
<window_info anchor="right" id="Database" order="4" />
<window_info anchor="bottom" id="Terminal" order="11" />
<window_info anchor="bottom" id="Event Log" order="12" sideWeight="0.5007587" side_tool="true" weight="0.4638365" />
<window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" />
<window_info anchor="right" id="SciView" order="3" weight="0.32928678" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32911393" />
<window_info anchor="bottom" id="Python Console" order="10" />
</layout-to-restore>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="completed the algorithm" />
<MESSAGE value="refactored,improved design" />
<option name="LAST_COMMIT_MESSAGE" value="refactored,improved design" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<option name="time" value="4" />
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/sort_date.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="47" lean-forward="true" selection-start-line="5" selection-start-column="47" selection-end-line="5" selection-end-column="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" selection-start-line="14" selection-end-line="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_read.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" selection-start-line="4" selection-end-line="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_read.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="765">
<caret line="51" column="70" lean-forward="true" selection-start-line="51" selection-start-column="70" selection-end-line="51" selection-end-column="70" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="16275">
<caret line="1085" column="21" lean-forward="true" selection-start-line="1085" selection-start-column="21" selection-end-line="1085" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="16155">
<caret line="1077" column="30" lean-forward="true" selection-start-line="1077" selection-start-column="30" selection-end-line="1077" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="16005">
<caret line="1067" selection-start-line="1067" selection-end-line="1067" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/zbar_live.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file:///usr/lib/python2.7/dist-packages/serial/serialposix.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="214">
<caret line="270" column="12" lean-forward="true" selection-start-line="270" selection-start-column="12" selection-end-line="270" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="169">
<caret line="1067" selection-start-line="1067" selection-end-line="1067" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/main.py" />
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$PROJECT_DIR$/generate_moves.py" />
<entry file="file://$PROJECT_DIR$/sort_date.py" />
<entry file="file://$PROJECT_DIR$/database_read.py" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/run.py" />
<entry file="file://$PROJECT_DIR$/barcodes.csv" />
<entry file="file://$PROJECT_DIR$/raspberry_zbar.py" />
<entry file="file://$PROJECT_DIR$/zbar_live.py" />
<entry file="file:///usr/lib/python2.7/dist-packages/serial/serialposix.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="214">
<caret line="270" column="12" lean-forward="true" selection-start-line="270" selection-start-column="12" selection-end-line="270" selection-end-column="12" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/move.py" />
<entry file="file://$APPLICATION_HOME_DIR$/helpers/pydev/pydevd.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="484">
<caret line="1085" column="21" selection-start-line="1085" selection-start-column="21" selection-end-line="1085" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Barcode_Reader_Python/database_append.py" />
<entry file="file:///usr/lib/python2.7/dist-packages/pluggy/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-9">
<caret line="632" column="47" selection-start-line="632" selection-start-column="47" selection-end-line="632" selection-end-column="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_read.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="23" selection-start-line="3" selection-start-column="23" selection-end-line="3" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/generate_moves.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="16" column="37" selection-start-line="16" selection-start-column="37" selection-end-line="16" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sort_date.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="5" column="47" selection-start-line="5" selection-start-column="47" selection-end-line="5" selection-end-column="47" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/database_append.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="360">
<caret line="137" selection-start-line="137" selection-end-line="137" />
<folding>
<element signature="e#3332#3667#0" />
<element signature="e#3683#4019#0" />
<element signature="e#4035#4321#0" />
<element signature="e#4337#4624#0" />
<element signature="e#4640#4927#0" />
<element signature="e#4943#5230#0" />
<element signature="e#5246#5533#0" />
</folding>
</state>
</provider>
</entry>
</component>
</project>

+ 0
- 34
Barcode_Reader_Python/arduino-i2c/arduino-i2c.ino View File

@ -1,34 +0,0 @@
#include <Wire.h>
#define SLAVE_ADDRESS 0x04
void setup()
{
Serial.begin(115200); // start serial for output
Wire.begin(SLAVE_ADDRESS);
Wire.onReceive(receiveData);
Wire.onRequest(sendData);
}
int val,flag=0;
void loop()
{
if(flag==1)
{
Serial.print(val);
flag=0;
}
}
void receiveData(int byteCount)
{
while(Wire.available()>0)
{
val=Wire.read();
flag=1;
}
}
// callback for sending data
void sendData()
{
char a = Serial.read();
if(a > 0){
Wire.write(a);
}
}

+ 0
- 295
Barcode_Reader_Python/database_append.py View File

@ -1,295 +0,0 @@
import json
data_format_prod = {
'Prod_Name': "None", 'BBD': "None", 'Nutrients': [], 'Calories': 0, 'Cooked': False, 'Allergens': [], 'Problematic': False, 'Process': "None", 'ED': "None"
}
data_format_proc = {
'Harvested': {'Date': '', 'Location': '', 'Product': '','Problematic':False},
'Transport1': {'Duration': 0, 'Moved to,from': '-', 'Condition': True, 'Stopped': False,'Problematic':False},
'Process': {'Location': '', 'Processes': '','Problematic':False},
'Transport2': {'Duration': 0, 'Moved to,from': '-', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': '', 'Material': '', 'Cancerogen': True,'Problematic':False}
}
data_1_prod = {
'Prod_Name': "Delitos", 'BBD': "19.12.2018", 'Nutrients': ['Protein(1.52g)', 'Carbohydrate(14.6g)', 'Fibre(1.1g)', 'Soduium(0.18g)', 'Fat(10.2g)', 'Salt(2.3g)'],
'Calories': 160, 'Cooked': True, 'Allergens': ['Lactose','Gluten', 'Nuts'], 'Problematic': False,
'Process': 'Fried', 'ED': "02.09.2018"
}
data_2_prod = {
'Prod_Name': "Delitos", 'BBD': "18.02.2018", 'Nutrients': ['Protein(1.52g)', 'Carbohydrate(14.6g)', 'Fibre(1.1g)', 'Soduium(0.18g)', 'Fat(10.2g)', 'Salt(2.3g)'], 'Calories': 153, 'Cooked': True, 'Allergens': ['Lactose','Gluten', 'Nuts'], 'Problematic': True, 'Process': 'Fried', 'ED': "12.03.2018"
}
data_3_prod = {
'Prod_Name': "Delitos", 'BBD': "10.01.2019", 'Nutrients': ['Protein(1.52g)', 'Carbohydrate(14.6g)', 'Fibre(1.1g)', 'Soduium(0.18g)', 'Fat(10.2g)', 'Salt(2.3g)'], 'Calories': 155, 'Cooked': True, 'Allergens': ['Lactose','Gluten', 'Nuts'], 'Problematic': False, 'Process':'Fried' , 'ED': "20.02.2019"
}
data_4_prod = {
'Prod_Name': "Delitos", 'BBD': "12.12.2018", 'Nutrients': ['Protein(1.52g)', 'Carbohydrate(14.6g)', 'Fibre(1.1g)', 'Soduium(0.18g)', 'Fat(10.2g)', 'Salt(2.3g)'], 'Calories': 161, 'Cooked': True, 'Allergens': ['Lactose','Gluten', 'Nuts'], 'Problematic': False, 'Process': 'Fried', 'ED': "12.02.2019"
}
data_5_prod = {
'Prod_Name': "Delitos", 'BBD': "12.05.2018", 'Nutrients': ['Protein(1.52g)', 'Carbohydrate(14.6g)', 'Fibre(1.1g)', 'Soduium(0.18g)', 'Fat(10.2g)', 'Salt(2.3g)'], 'Calories': 167, 'Cooked': True, 'Allergens': ['Lactose','Gluten', 'Nuts'], 'Problematic': True, 'Process':'Fried', 'ED': "12.06.2018"
}
data_6_prod = {
'Prod_Name': "Gullon Sugar Free Shortbread Biscuits", 'BBD': "02.11.2018", 'Nutrients': ['Protein(6g)', 'Carbohydrate(6.8g)', 'Fibre(4g)', 'Sodium(2g)', 'Fat(18g)', 'Sugar(0.5)', 'Salt(0.40g)'],
'Calories': 439, 'Cooked': True, 'Allergens': ['Lactose', 'Wheat', 'Soya'], 'Problematic': False,
'Process': 'Baked', 'ED': "08.12.2018"
}
data_7_prod = {
'Prod_Name': "Gullon Sugar Free Shortbread Biscuits", 'BBD': "20.07.2018", 'Nutrients': ['Protein(6g)', 'Carbohydrate(6.8g)', 'Fibre(4g)', 'Sodium(2g)', 'Fat(18g)', 'Sugar(0.5)', 'Salt(0.40g)'], 'Calories': 430, 'Cooked': True, 'Allergens': ['Lactose', 'Wheat', 'Soya'], 'Problematic': False, 'Process': 'Baked', 'ED': "20.09.2018"
}
data_8_prod = {
'Prod_Name': "Gullon Sugar Free Shortbread Biscuits", 'BBD': "31.07.2018", 'Nutrients': ['Protein(6g)', 'Carbohydrate(6.8g)', 'Fibre(4g)', 'Sodium(2g)', 'Fat(18g)', 'Sugar(0.5)', 'Salt(0.40g)'], 'Calories': 441, 'Cooked': True, 'Allergens': ['Lactose', 'Wheat', 'Soya'], 'Problematic': False, 'Process': 'Baked', 'ED': "25.10.2018"
}
data_9_prod = {
'Prod_Name': "Gullon Sugar Free Shortbread Biscuits", 'BBD': "11.06.2018", 'Nutrients': ['Protein(6g)', 'Carbohydrate(6.8g)', 'Fibre(4g)', 'Sodium(2g)', 'Fat(18g)', 'Sugar(0.5)', 'Salt(0.40g)'], 'Calories': 444, 'Cooked': True, 'Allergens': ['Lactose', 'Wheat', 'Soya'], 'Problematic': True, 'Process': 'Baked', 'ED': "12.07.2018"
}
data_10_prod = {
'Prod_Name': "Gullon Sugar Free Shortbread Biscuits", 'BBD': "20.12.2018", 'Nutrients': ['Protein(6g)', 'Carbohydrate(6.8g)', 'Fibre(4g)', 'Sodium(2g)', 'Fat(18g)', 'Sugar(0.5)', 'Salt(0.40g)'], 'Calories': 429, 'Cooked': True, 'Allergens': ['Lactose', 'Wheat', 'Soya'], 'Problematic': False, 'Process': 'Baked', 'ED': "25.02.2019"
}
data_11_prod = {
'Prod_Name': "Gluten Free Penne Rigate", 'BBD': "18.02.2019", 'Nutrients': ['Protein(6.5g)', 'Carbohydrate(78.7g)', 'Fiber(1.1g)', 'Fat(1.8g)', 'Salt(0.003g)'], 'Calories': 359,'Cooked': False, 'Allergens': ['Wheat'],
'Problematic': False, 'Process': 'Klining', 'ED': '18.02.2020'
}
data_12_prod = {
'Prod_Name': "Gluten Free Penne Rigate" , 'BBD': "15.05.2019", 'Nutrients': ['Protein(6.5g)', 'Carbohydrate(78.7g)', 'Fiber(1.1g)', 'Fat(1.8g)', 'Salt(0.003g)'], 'Calories': 351, 'Cooked': False, 'Allergens': ['Wheat'], 'Problematic': False, 'Process': 'Klining', 'ED': "19.11.2019"
}
data_13_prod = {
'Prod_Name': "Gluten Free Penne Rigate", 'BBD': "21.01.2019", 'Nutrients': ['Protein(6.5g)', 'Carbohydrate(78.7g)', 'Fiber(1.1g)', 'Fat(1.8g)', 'Salt(0.003g)'], 'Calories': 362, 'Cooked': False, 'Allergens': ['Wheat'], 'Problematic': False, 'Process': 'Klining', 'ED': "26.08.2019"
}
data_14_prod = {
'Prod_Name': "Gluten Free Penne Rigate", 'BBD': "22.11.2018", 'Nutrients': ['Protein(6.5g)', 'Carbohydrate(78.7g)', 'Fiber(1.1g)', 'Fat(1.8g)', 'Salt(0.003g)'], 'Calories': 350, 'Cooked': False, 'Allergens': ['Wheat'], 'Problematic': False, 'Process': 'Klining', 'ED': "22.11.2019"
}
data_15_prod = {
'Prod_Name': "Gluten Free Penne Rigate", 'BBD': "30.01.2019", 'Nutrients': ['Protein(6.5g)', 'Carbohydrate(78.7g)', 'Fiber(1.1g)', 'Fat(1.8g)', 'Salt(0.003g)'], 'Calories': 359, 'Cooked': False, 'Allergens': ['Wheat'], 'Problematic': False, 'Process': 'Klining', 'ED': "20.01.2020"
}
data_16_prod = {
'Prod_Name': "EGE Gluten Free Corn Starch", 'BBD': '27.03.2019', 'Nutrients': ['Fat(0.3g)', 'Carbohydrate(87.9g)', 'Protein(0.3g)'], 'Calories': 360,'Cooked': False, 'Allergens': ['Corn'],
'Problematic': False, 'Process': 'Scalping', 'ED': '20.02.2020'
}
data_17_prod = {
'Prod_Name': "EGE Gluten Free Corn Starch", 'BBD': "20.01.2019", 'Nutrients': ['Fat(0.3g)', 'Carbohydrate(87.9g)', 'Protein(0.3g)'], 'Calories': 361, 'Cooked': False, 'Allergens': ['Corn'], 'Problematic': False, 'Process': 'Scalping', 'ED': "20.01.2020"
}
data_18_prod = {
'Prod_Name': "EGE Gluten Free Corn Starch", 'BBD': "12.08.2018", 'Nutrients': ['Fat(0.3g)', 'Carbohydrate(87.9g)', 'Protein(0.3g)'], 'Calories': 362, 'Cooked': False, 'Allergens': ['Corn'], 'Problematic': False, 'Process': 'Scalping', 'ED': "12.07.2019"
}
data_19_prod = {
'Prod_Name': "EGE Gluten Free Corn Starch", 'BBD': "17.07.2018", 'Nutrients': ['Fat(0.3g)', 'Carbohydrate(87.9g)', 'Protein(0.3g)'], 'Calories': 364, 'Cooked': False, 'Allergens': ['Corn'], 'Problematic': False, 'Process': 'Scalping', 'ED': "19.07.2019"
}
data_20_prod = {
'Prod_Name': "EGE Gluten Free Corn Starch", 'BBD': "25.07.2018", 'Nutrients': ['Fat(0.3g)', 'Carbohydrate(87.9g)', 'Protein(0.3g)'], 'Calories': 360, 'Cooked': False, 'Allergens': ['Corn'], 'Problematic': False, 'Process': 'Scalping', 'ED': "26.07.2019"
}
data_21_prod = {
'Prod_Name': "Tropical Heat Peanuts", 'BBD': '04.02.2019', 'Nutrients': ['Protein(25.9g)', 'Carbohydrate(27.2g)', 'Sugar(10.8g)', 'Saturated Fat(8.3g)', 'Mono-unsaturated Fat(24.4g)', 'Poly-unsaturated Fat(14.4g)', 'Fibre(6.5g)','Salt(2.25g)'], 'Calories': 602,'Cooked': False, 'Allergens': ['Peanuts'],
'Problematic': False, 'Process': 'Roasted', 'ED': '09.03.2020'
}
data_22_prod = {
'Prod_Name': "Tropical Heat Peanuts", 'BBD': "19.01.2019", 'Nutrients': ['Protein(25.9g)', 'Carbohydrate(27.2g)', 'Sugar(10.8g)', 'Saturated Fat(8.3g)', 'Mono-unsaturated Fat(24.4g)', 'Poly-unsaturated Fat(14.4g)', 'Fibre(6.5g)','Salt(2.25g)'], 'Calories': 602, 'Cooked': False, 'Allergens': ['Peanuts'], 'Problematic': False, 'Process': 'Roasted', 'ED': "19.05.2019"
}
data_23_prod = {
'Prod_Name': "Tropical Heat Peanuts", 'BBD': "15.04.2018", 'Nutrients': ['Protein(25.9g)', 'Carbohydrate(27.2g)', 'Sugar(10.8g)', 'Saturated Fat(8.3g)', 'Mono-unsaturated Fat(24.4g)', 'Poly-unsaturated Fat(14.4g)', 'Fibre(6.5g)','Salt(2.25g)'], 'Calories': 610, 'Cooked': False, 'Allergens': ['Peanuts'], 'Problematic': True, 'Process': 'Roasted', 'ED': "19.07.2018"
}
data_24_prod = {
'Prod_Name': "Tropical Heat Peanuts", 'BBD': "14.04.2018", 'Nutrients': ['Protein(25.9g)', 'Carbohydrate(27.2g)', 'Sugar(10.8g)', 'Saturated Fat(8.3g)', 'Mono-unsaturated Fat(24.4g)', 'Poly-unsaturated Fat(14.4g)', 'Fibre(6.5g)','Salt(2.25g)'], 'Calories': 608, 'Cooked': False, 'Allergens': ['Peanuts'], 'Problematic': False, 'Process': 'Roasted', 'ED': "16.08.2018"
}
data_25_prod = {
'Prod_Name': "Tropical Heat Peanuts", 'BBD': "24.03.2018", 'Nutrients': ['Protein(25.9g)', 'Carbohydrate(27.2g)', 'Sugar(10.8g)', 'Saturated Fat(8.3g)', 'Mono-unsaturated Fat(24.4g)', 'Poly-unsaturated Fat(14.4g)', 'Fibre(6.5g)','Salt(2.25g)'], 'Calories': 604, 'Cooked': False, 'Allergens': ['Peanuts'], 'Problematic': True, 'Process': 'Roasted', 'ED': "20.06.2018"
}
data_1_proc = {
'Harvested': {'Date': '06.05.2018', 'Location': 'India', 'Product': 'Potatoe','Problematic':False},
'Transport1': {'Duration': 19, 'Moved to,from': 'India-Gee Tee Industries', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Gee Tee Industries', 'Processes': 'Peeling, Slicing, Frying','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Gee Tee Industries-Gee Tee Industries', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Gee Tee Industries', 'Material': 'Polypropylene', 'Cancerogen': False,'Problematic': False}
}
data_2_proc = {
'Harvested': {'Date': '14.08.2017', 'Location': 'China', 'Product': 'Potatoe','Problematic':False},
'Transport1': {'Duration': 24, 'Moved to,from': 'China-Gee Tee Industries', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Gee Tee Industries', 'Processes': 'Peeling, Slicing, Frying','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Gee Tee Industries-Gee Tee Industries', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Gee Tee Industries', 'Material': 'Polypropylene', 'Cancerogen': True,'Problematic':True}
}
data_3_proc = {
'Harvested': {'Date': '15.06.2018', 'Location': 'India', 'Product': 'Potatoe','Problematic':False},
'Transport1': {'Duration': 25, 'Moved to,from': 'India-Gee Tee Industries', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Gee Tee Industries', 'Processes': 'Peeling, Slicing, Frying','Problematic':False},
'Transport2': {'Duration': 2, 'Moved to,from': 'Gee Tee Industries-Gee Tee Industries', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Gee Tee Industries', 'Material': 'Polypropylene', 'Cancerogen':False,'Problematic':False}
}
data_4_proc = {
'Harvested': {'Date': '19.06.2017', 'Location': 'Turkey', 'Product': 'Potatoe','Problematic':False},
'Transport1': {'Duration': 19, 'Moved to,from': 'Turkey-Gee Tee Industries', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Gee Tee Industries', 'Processes': 'Peeling, Slicing, Frying','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Gee Tee Industries-Gee Tee Industries', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Gee Tee Industries', 'Material': 'Polypropylene', 'Cancerogen': False,'Problematic':False}
}
data_5_proc = {
'Harvested': {'Date': '27.07.2017', 'Location': 'Turkey', 'Product': 'Potatoe','Problematic':False},
'Transport1': {'Duration': 16, 'Moved to,from': 'Turkey-Gee Tee Industries', 'Condition': False, 'Stopped': True,'Problematic': True},
'Process': {'Location': 'Gee Tee Industries', 'Processes': 'Peeling, Slicing, Frying','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Gee Tee Industries-Gee Tee Industries', 'Condition':True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Gee Tee Industries', 'Material': 'Polypropylene', 'Cancerogen': False,'Problematic':False}
}
data_6_proc = {
'Harvested': {'Date': '14.05.2017', 'Location': 'Turkey', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 23, 'Moved to,from': 'Turkey-Galletas Gullon SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Galletas Gullon SA', 'Processes': 'Kneading, Moulding, Baking, Cooling','Problematic':False},
'Transport2': {'Duration': 7, 'Moved to,from': 'Galletas Gullon SA-Greif Packaging Spain SA', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Greif Packaging Spain SA', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_7_proc = {
'Harvested': {'Date': '15.05.2018', 'Location': 'China', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 21, 'Moved to,from': 'China-Galletas Gullon SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Galletas Gullon SA', 'Processes': 'Kneading, Moulding, Baking, Cooling','Problematic':True},
'Transport2': {'Duration': 0, 'Moved to,from': 'Galletas Gullon SA-Galletas Gullon SA', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Galletas Gullon SA', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_8_proc = {
'Harvested': {'Date': '17.04.2018', 'Location': 'Russia', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 24, 'Moved to,from': 'Russia-Galletas Gullon SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Galletas Gullon SA', 'Processes': 'Kneading, Moulding, Baking, Cooling','Problematic':False},
'Transport2': {'Duration': 6, 'Moved to,from': 'Galletas Gullon SA-Greif Packaging Spain SA', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Greif Packaging Spain SA', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_9_proc = {
'Harvested': {'Date': '12.03.2018', 'Location': 'India', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 26, 'Moved to,from': 'India-Galletas Gullon SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Galletas Gullon SA', 'Processes': 'Kneading, Moulding, Baking, Cooling','Problematic':False},
'Transport2': {'Duration': 8, 'Moved to,from': 'Galletas Gullon SA-Greif Packaging Spain SA', 'Condition': False, 'Stopped': False,'Problematic':True},
'Packaging': {'Location': 'Greif Packaging Spain SA', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_10_proc = {
'Harvested': {'Date': '14.06.2018', 'Location': 'Ukraine', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 14, 'Moved to,from': 'Ukraine-Galletas Gullon SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Galletas Gullon SA', 'Processes': 'Kneading, Moulding, Baking, Cooling','Problematic':False},
'Transport2': {'Duration': 9, 'Moved to,from': 'Galletas Gullon SA-Greif Packaging Spain SA', 'Condition': True, 'Stopped': True,'Problematic':False},
'Packaging': {'Location': 'Greif Packaging Spain SA', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_11_proc = {
'Harvested': {'Date': '15.06.2017', 'Location': 'Russia', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 29, 'Moved to,from': 'Russia-Barilla', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Barilla', 'Processes': 'Pressing, Moulding, Klining, Ensiling ','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Barilla-Barilla', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Barilla', 'Material': 'Carton', 'Cancerogen': True,'Problematic':True}
}
data_12_proc = {
'Harvested': {'Date': '12.08.2018', 'Location': 'India', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 25, 'Moved to,from': 'India-Barilla', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Barilla', 'Processes': 'Pressing, Moulding, Klining, Ensiling','Problematic':True},
'Transport2': {'Duration': 0.5, 'Moved to,from': 'Barilla-Barilla', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Barilla', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_13_proc = {
'Harvested': {'Date': '23.03.2018', 'Location': 'Turkey', 'Product': 'Wheat','Problematic':True},
'Transport1': {'Duration': 24, 'Moved to,from': 'Turkey-Barilla', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Barilla', 'Processes': 'Pressing, Moulding, Klining, Ensiling','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Barilla-Barilla', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Barilla', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_14_proc = {
'Harvested': {'Date': '24.06.2018', 'Location': 'Russia', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 31, 'Moved to,from': 'Russia-Barilla', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Barilla', 'Processes': 'Pressing, Moulding, Klining, Ensiling','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Barilla-Barilla', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Barilla', 'Material': 'Carton', 'Cancerogen': False,'Problematic':False}
}
data_15_proc = {
'Harvested': {'Date': '12.07.2018', 'Location': 'Russia', 'Product': 'Wheat','Problematic':False},
'Transport1': {'Duration': 23, 'Moved to,from': 'Russia-Barilla', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Barilla', 'Processes': 'Pressing, Moulding, Klining, Ensiling','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Barilla-Barilla', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Barilla', 'Material': 'Carton', 'Cancerogen': False,'Problematic':True}
}
data_16_proc = {
'Harvested': {'Date': '16.08.2017', 'Location': 'USA', 'Product': 'Corn','Problematic':False},
'Transport1': {'Duration': 28, 'Moved to,from': 'USA-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'EGE Gluten Free Food Product Company', 'Processes': 'Cleaning, Maceration, Core Scalping, Bran Scalping, Protein Scalping, Starch Purification','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'EGE Gluten Free Food Product Company-Starpak Packaging Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Starpak Packaging Company', 'Material': 'Recyclable Plastic', 'Cancerogen': False,'Problematic':False}
}
data_17_proc = {
'Harvested': {'Date': '20.06.2018', 'Location': 'USA', 'Product': 'Corn','Problematic':False},
'Transport1': {'Duration': 29, 'Moved to,from': 'USA-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'EGE Gluten Free Food Product Company', 'Processes': 'Cleaning, Maceration, Core Scalping, Bran Scalping, Protein Scalping, Starch Purification','Problematic':False},
'Transport2': {'Duration': 0, 'Moved to,from': 'EGE Gluten Free Food Product Company-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'EGE Gluten Free Food Product Company', 'Material': 'Recyclable Plastic', 'Cancerogen': False,'Problematic':False}
}
data_18_proc = {
'Harvested': {'Date': '16.06.2018', 'Location': 'India', 'Product': 'Corn','Problematic':False},
'Transport1': {'Duration': 21, 'Moved to,from': 'India-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'EGE Gluten Free Food Product Company', 'Processes': 'Cleaning, Maceration, Core Scalping, Bran Scalping, Protein Scalping, Starch Purification','Problematic':False},
'Transport2': {'Duration': 0, 'Moved to,from': 'EGE Gluten Free Food Product Company-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'EGE Gluten Free Food Product Company', 'Material': 'Recyclable Plastic', 'Cancerogen': False,'Problematic':False}
}
data_19_proc = {
'Harvested': {'Date': '14.06.2018', 'Location': 'Turkey', 'Product': 'Corn','Problematic':True},
'Transport1': {'Duration': 4, 'Moved to,from': 'Turkey-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Process': {'Location': 'EGE Gluten Free Food Product Company', 'Processes': 'Cleaning, Maceration, Core Scalping, Bran Scalping, Protein Scalping, Starch Purification','Problematic':False},
'Transport2': {'Duration': 2, 'Moved to,from': 'EGE Gluten Free Food Product Company-Starpak Packaging Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Starpak Packaging Company', 'Material': 'Recyclable Plastic', 'Cancerogen': False,'Problematic':False}
}
data_20_proc = {
'Harvested': {'Date': '01.06.2018', 'Location': 'Turkey', 'Product': 'Corn','Problematic':False},
'Transport1': {'Duration': 8, 'Moved to,from': 'Turkey-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'EGE Gluten Free Food Product Company', 'Processes': 'Cleaning, Maceration, Core Scalping, Bran Scalping, Protein Scalping, Starch Purification','Problematic':False},
'Transport2': {'Duration': 0, 'Moved to,from': 'EGE Gluten Free Food Product Company-EGE Gluten Free Food Product Company', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'EGE Gluten Free Food Product Company', 'Material': 'Non-recyclable Plastic', 'Cancerogen': True,'Problematic':True}
}
data_21_proc = {
'Harvested': {'Date': '02.04.2018', 'Location': 'Kenya', 'Product': 'Peanuts','Problematic':False},
'Transport1': {'Duration': 8, 'Moved to,from': 'Kenya-Deepa Industries LTD', 'Condition': True, 'Stopped': True,'Problematic':False},
'Process': {'Location': 'Deepa Industries LTD', 'Processes': 'Peeling, Roasting, Salting','Problematic':False},
'Transport2': {'Duration': 0.5, 'Moved to,from': 'Deepa Industries LTD-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Deepa Industries LTD', 'Material': 'Plastic', 'Cancerogen': False,'Problematic':False}
}
data_22_proc = {
'Harvested': {'Date': '18.06.2018', 'Location': 'Kenya', 'Product': 'Peanuts','Problematic':False},
'Transport1': {'Duration': 7, 'Moved to,from': 'Kenya-Deepa Industries LTD', 'Condition': False, 'Stopped': False,'Problematic':True},
'Process': {'Location': 'Deepa Industries LTD', 'Processes': 'Peeling, Roasting, Salting','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Deepa Industries LTD-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Deepa Industries LTD', 'Material': 'Plastic', 'Cancerogen': True,'Problematic':True}
}
data_23_proc = {
'Harvested': {'Date': '19.08.2018', 'Location': 'Kenya', 'Product': 'Peanuts','Problematic':False},
'Transport1': {'Duration': 9, 'Moved to,from': 'Kenya-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Process': {'Location': 'Deepa Industries LTD', 'Processes': 'Peeling, Roasting, Salting','Problematic':True},
'Transport2': {'Duration': 1, 'Moved to,from': 'Deepa Industries LTD-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Deepa Industries LTD', 'Material': 'Plastic', 'Cancerogen': False,'Problematic':False}
}
data_24_proc = {
'Harvested': {'Date': '12.09.2017', 'Location': 'China', 'Product': 'Peanuts','Problematic':False},
'Transport1': {'Duration': 19, 'Moved to,from': 'China-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Process': {'Location': 'Deepa Industries LTD', 'Processes': 'Peeling, Roasting, Salting','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Deepa Industries LTD-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Deepa Industries LTD', 'Material': 'Plastic', 'Cancerogen': False,'Problematic':False}
}
data_25_proc = {
'Harvested': {'Date': '19.10.2017', 'Location': 'India', 'Product': 'Peanuts','Problematic':False},
'Transport1': {'Duration': 15, 'Moved to,from': 'India-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Process': {'Location': 'Deepa Industries LTD', 'Processes': 'Peeling, Roasting, Salting','Problematic':False},
'Transport2': {'Duration': 1, 'Moved to,from': 'Deepa Industries LTD-Deepa Industries LTD', 'Condition': True, 'Stopped': False,'Problematic':False},
'Packaging': {'Location': 'Deepa Industries LTD', 'Material': 'Plastic', 'Cancerogen': True,'Problematic':True}
}
Products = [data_1_prod, data_2_prod, data_3_prod, data_4_prod, data_5_prod, data_6_prod, data_7_prod, data_8_prod, data_9_prod, data_10_prod, data_11_prod, data_12_prod, data_13_prod, data_14_prod, data_15_prod, data_16_prod, data_17_prod, data_18_prod, data_19_prod, data_20_prod, data_21_prod, data_22_prod, data_23_prod, data_24_prod, data_25_prod]
Processes = [data_1_proc, data_2_proc, data_3_proc,data_4_proc, data_5_proc, data_6_proc, data_7_proc, data_8_proc, data_9_proc, data_10_proc, data_11_proc, data_12_proc, data_13_proc, data_14_proc, data_15_proc, data_16_proc, data_17_proc, data_18_proc, data_19_proc, data_20_proc, data_21_proc, data_22_proc, data_23_proc, data_24_proc, data_25_proc]
for i in range(len(Products)):
with open('../database/content/Products/'+str(i+1) + '.json', 'w') as outfile:
json.dump(Products[i], outfile)
outfile.close()
for i in range(len(Processes)):
with open('../database/content/Processes/'+str(i+1) + '.json', 'w') as outfile:
json.dump(Processes[i], outfile)
outfile.close()

+ 0
- 12
Barcode_Reader_Python/database_read.py View File

@ -1,12 +0,0 @@
import urllib2, urllib
def getDate(id):
dbdata = [('id', id), ('value', 'Products'),('content','BBD')] # The first is the var name the second is the value
dbdata = urllib.urlencode(dbdata)
path = 'http://10.10.3.81/database/communication/comm.php' # the url you want to POST to
req = urllib2.Request(path, dbdata)
req.add_header("Content-type", "application/x-www-form-urlencoded")
page = urllib2.urlopen(req).read()
return page

+ 0
- 132
Barcode_Reader_Python/generate_moves.py View File

@ -1,132 +0,0 @@
import sort_date
correct_locs = []
temp = None
moved_item = None
moved_item_loc = None
exp_date = []
shelf_new = []
repeats = 0
moves_return = None
def backArray(myArray):
global shelf_back
shelf_back = []
for i in range(len(myArray)):
shelf_back.append(myArray[i])
def eqArray(myArray):
global exp_date
exp_date = []
for i in range(len(myArray)):
exp_date.append(myArray[i])
def place():
global exp_date
global shelf_new
global repeats
global shelf_back
global moves_return
repeats += 1
backArray(exp_date)
moved_item = None
moved_item_loc = None
if (exp_date[len(exp_date) - 1] != None):
empty_loc = exp_date.index(None)
moved_item_loc = exp_date.index(shelf_new[empty_loc])
reps = 0
while True:
reps += 1
if (moved_item_loc in correct_locs):
exp_date.pop(moved_item_loc)
moved_item_loc = exp_date.index(shelf_new[empty_loc]) + reps
continue
break
eqArray(shelf_back)
moved_item = exp_date[moved_item_loc]
if (exp_date[moved_item_loc] != shelf_new[moved_item_loc]):
exp_date[moved_item_loc] = None
exp_date[empty_loc] = moved_item
correct_locs.append(empty_loc)
print " Moved item {0} to location {1}. Location {2} is now empty!".format(moved_item, empty_loc + 1,
moved_item_loc + 1)
print "============================================================================="
moves_return.append(str(moved_item_loc + 1))
moves_return.append(str(empty_loc + 1))
else:
print " Leaving item {0} in location {1}. Location {2} is still empty!".format(moved_item,
moved_item_loc + 1,
empty_loc + 1)
print "============================================================================"
correct_locs.append(moved_item_loc)
place()
else:
return
def generate(dates,date_cur):
global exp_date
global shelf_new
global repeats
global moves_return
shelf_new = []
moves_return = []
exp_date = sort_date. calcDate(dates,date_cur)
shelf_back = exp_date[:]
try:
expired = exp_date.count(-1)
for i in range(expired):
shelf_back.pop(shelf_back.index(-1))
shelf_new = sorted(shelf_back)
for i in range(expired):
shelf_new.append(-1)
except ValueError:
print('')
exp_date.append(None)
shelf_new.append(None)
repeats = 0
print "\n\n\n//////////////////////////////////////////////////////////////////////////////"
print(" {} ".format(exp_date))
print(" {} ".format(shelf_new))
print "/////////////////////////////////////////////////////////////////////////////\n\n\n"
while True:
if(repeats < len(exp_date)):
for i in range(len(exp_date)):
if(exp_date[len(exp_date)-1] == None):
if(exp_date[i] == shelf_new[i]):
continue
else:
exp_date[len(exp_date)-1] = exp_date[i]
print '\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
print ' TEMP IS EMPTY, MOVING {0} FROM LOCATION {1} TO THE TEMP'.format(exp_date[i],i+1)
print '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
print "============================================================================"
exp_date[i] = None
moves_return.append(str(i + 1))
moves_return.append(str(len(exp_date)))
else:
break
place()
try:
print('***********************************************************************************')
print(' The last {} items have expired, throwing them away.'.format(len(exp_date)-shelf_new.index(-1)-1))
print('***********************************************************************************')
for i in range(len(shelf_new)-1,len(shelf_new)-shelf_new.index(-1),-1):
print "aaa"
moves_return.append(str(i))
moves_return.append("0")
except ValueError:
print(" No items have expired")
print('***********************************************************************************')
return moves_return

+ 0
- 112
Barcode_Reader_Python/main.py View File

@ -1,112 +0,0 @@
from imutils.video import VideoStream
from pyzbar import pyzbar
import imutils
import time
import cv2
import database_read
import datetime
import generate_moves
import serial
arduino = serial.Serial('/dev/ttyACM0', 115200, timeout=.1)
def move(locations):
reps = 0
for i in range(0,len(locations),2):
print "Sending " + locations[i]
while(arduino.read() != "1"):
arduino.write(locations[i])
time.sleep(0.25)
arduino.flushInput()
arduino.flushOutput()
print "Sending " + locations[i+1]
while(arduino.read() != '1'):
arduino.write(locations[i+1])
time.sleep(0.25)
arduino.flushInput()
arduino.flushOutput()
arduino.write('-')
print("[INFO] starting video stream...")
def dateStr():
date_cur = ""
if len(str(datetime.date.today().day)) == 1:
date_cur = date_cur + "0" + str(datetime.date.today().day) + "."
else:
date_cur = date_cur + str(datetime.date.today().day) + "."
if len(str(datetime.date.today().month)) == 1:
date_cur = date_cur + "0" + str(datetime.date.today().month) + "."
else:
date_cur = date_cur + str(datetime.date.today().month) + "."
date_cur += str(datetime.date.today().year)
return date_cur
vs = VideoStream().start()
time.sleep(2.0)
dates = []
reps = 0
barcodes = None
prevcode = None
exp_date = []
current_date = dateStr()
def main():
global vs
global dates
global reps
global barcodes
global prevcode
global exp_date
global current_date
while True:
try:
while (barcodes == None or barcodes == []):
frame = vs.read()
frame = imutils.resize(frame, width=400)
barcodes = pyzbar.decode(frame)
cv2.imshow("Image", frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
try:
a = arduino.read() == "1"
if(a):
return
except:
continue
barcodes = pyzbar.decode(frame)
# loop over the detected barcodes
for barcode in barcodes:
(x, y, w, h) = barcode.rect
cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 0, 255), 2)
barcodeData = barcode.data.decode("utf-8")
barcodeType = barcode.type
if (barcodeData != prevcode):
text = "{} ({})".format(barcodeData, barcodeType)
cv2.putText(frame, text, (x, y - 10), cv2.FONT_HERSHEY_SIMPLEX,
0.5, (0, 0, 255), 2)
print("[INFO] Found {} barcode: {}".format(barcodeType, barcodeData))
dates.append(database_read.getDate(barcodeData))
reps += 1
arduino.write("1")
prevcode = barcodeData
barcodes = None
cv2.imshow("Image", frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
except KeyboardInterrupt:
break
main()
print("[INFO] cleaning up...")
arduino.write("1")
moves = generate_moves.generate(dates,current_date)
move(moves)
cv2.destroyAllWindows()
vs.stop()

+ 0
- 118
Barcode_Reader_Python/sort_date.py View File

@ -1,118 +0,0 @@
def dateComp(date_one, date_two):
date_one_id = date_one.split('.')
date_two_id = date_two.split('.')
if int(date_one_id[2]) > int(date_two_id[2]):
return True
elif int(date_one_id[2]) == int(date_two_id[2]):
if int(date_one_id[1]) > int(date_two_id[1]):
return True
elif int(date_one_id[1]) == int(date_two_id[1]):
if int(date_one_id[0]) > int(date_two_id[0]):
return True
elif int(date_one_id[0]) == int(date_two_id[0]):
return True
return False
def addItem(list_bas, item, item_loc):
new_list = list_bas[0:item_loc]
new_list.append(item)
for i in range(len(list_bas) - item_loc):
new_list.append(list_bas[item_loc + i])
return new_list
def expDate(current_date, prod_dates):
thrown_away = []
thrown_locs = []
thrown_number = 0
for i in range(len(prod_dates)):
if dateComp(current_date, prod_dates[i]):
thrown_away.append(prod_dates[i])
thrown_locs.append(i)
for i in range(len(thrown_locs)):
prod_dates.pop(thrown_locs[i] - thrown_number)
thrown_number += 1
def dateSort(current_date, prod_dates):
loc = None
sorted_dates = []
prev_placed = True
for i in range(len(prod_dates)):
if dateComp(prod_dates[i], current_date):
sorted_dates.append(prod_dates[i])
loc = i
break
for i in range(len(prod_dates)):
if (loc == i):
continue
prev_placed = True
for j in range(len(sorted_dates)):
if prev_placed:
if j == 0:
if dateComp(sorted_dates[j], prod_dates[i]):
sorted_dates = addItem(sorted_dates, prod_dates[i], 0)
prev_placed = False
continue
if j == len(sorted_dates) - 1:
if dateComp(prod_dates[i], sorted_dates[j]):
sorted_dates = addItem(sorted_dates, prod_dates[i], len(sorted_dates))
else:
sorted_dates = addItem(sorted_dates, prod_dates[i], len(sorted_dates) - 1)
continue
if dateComp(prod_dates[i], sorted_dates[j]):
if dateComp(sorted_dates[j + 1], prod_dates[i]):
sorted_dates = addItem(sorted_dates, prod_dates[i], j + 1)
prev_placed = False
continue
if dateComp(sorted_dates[j], prod_dates[i]):
if dateComp(prod_dates[i], sorted_dates[j - 1]):
sorted_dates = addItem(sorted_dates, prod_dates[i], i)
prev_placed = False
continue
return sorted_dates
def dateToint(sorted_dates, unsorted_dates, date_current):
date_num = 0
prev_date = None
sorted_dateInt = []
unsorted_dateInt = []
for i in range(len(sorted_dates)):
if (dateComp(date_current, sorted_dates[i])):
sorted_dateInt.append(-1)
continue
if (prev_date == sorted_dates[i]):
sorted_dateInt.append(date_num)
continue
date_num += 1
sorted_dateInt.append(date_num)
prev_date = sorted_dates[i]
for i in unsorted_dates:
unsorted_dateInt.append(sorted_dateInt[sorted_dates.index(i)])
return unsorted_dateInt
def listDif(list1, list2):
listOrig = list1
for i in list2:
if i in listOrig:
listOrig.pop(listOrig.index(i))
return listOrig
def calcDate(exp_dates, date_cur):
exp_dates_process = exp_dates[:]
sorted_date = dateSort(date_cur, exp_dates_process)
date_int = dateToint(sorted_date, exp_dates, date_cur)
return date_int

+ 0
- 6
Barcode_Reader_Python/test3.py View File

@ -1,6 +0,0 @@
import serial
arduino = serial.Serial('/dev/ttyACM0', 115200, timeout=.1)
arduino.write("1")
arduino.write("1")

+ 0
- 24
Barcode_Reader_Python/tst2.py View File

@ -1,24 +0,0 @@
import serial
import time
arduino = serial.Serial('/dev/ttyACM0', 115200, timeout=.1)
def move(locations):
reps = 0
for i in range(0,len(locations),2):
while(arduino.read() != "1"):
arduino.write(locations[i])
time.sleep(0.25)
arduino.flushInput()
arduino.flushOutput()
while(arduino.read() != '1'):
arduino.write(locations[i+1])
time.sleep(0.25)
arduino.flushInput()
arduino.flushOutput()
arduino.write('-')
move(['1','3','2','1','3','2'])

database/communication/.idea/communication.iml → DataServer/DataServer.iml View File


FoodCloud/.idea/vcs.xml → Ev3_Code/.idea/vcs.xml View File


BIN
FoodCloud.apk View File


+ 0
- 10
FoodCloud/.gitignore View File

@ -1,10 +0,0 @@
*.iml
.gradle
/local.properties
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
.DS_Store
/build
/captures
.externalNativeBuild

+ 0
- 19
FoodCloud/.idea/assetWizardSettings.xml View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WizardSettings">
<option name="children">
<map>
<entry key="imageWizard">
<value>
<PersistentState />
</value>
</entry>
<entry key="vectorWizard">
<value>
<PersistentState />
</value>
</entry>
</map>
</option>
</component>
</project>

BIN
FoodCloud/.idea/caches/build_file_checksums.ser View File


+ 0
- 29
FoodCloud/.idea/codeStyles/Project.xml View File

@ -1,29 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
</code_scheme>
</component>

+ 0
- 5
FoodCloud/.idea/codeStyles/codeStyleConfig.xml View File

@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>

+ 0
- 18
FoodCloud/.idea/gradle.xml View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>

+ 0
- 34
FoodCloud/.idea/misc.xml View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="javax.annotation.CheckForNull" />
<item index="3" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="4" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

+ 0
- 12
FoodCloud/.idea/runConfigurations.xml View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>

+ 0
- 17
FoodCloud/.project View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>FoodCloud</name>
<comment>Project FoodCloud created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

+ 0
- 2
FoodCloud/.settings/org.eclipse.buildship.core.prefs View File

@ -1,2 +0,0 @@
connection.project.dir=
eclipse.preferences.version=1

+ 0
- 6
FoodCloud/app/.classpath View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>

+ 0
- 1
FoodCloud/app/.gitignore View File

@ -1 +0,0 @@
/build

+ 0
- 23
FoodCloud/app/.project View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>app</name>
<comment>Project app created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

+ 0
- 2
FoodCloud/app/.settings/org.eclipse.buildship.core.prefs View File

@ -1,2 +0,0 @@
connection.project.dir=..
eclipse.preferences.version=1

+ 0
- 37
FoodCloud/app/build.gradle View File

@ -1,37 +0,0 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "gq.yigit.foodcloud"
minSdkVersion 24
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
api 'com.google.http-client:google-http-client-android:1.22.0'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.android.support:wear:27.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
api 'com.google.firebase:firebase-core:16.0.0'
compileOnly 'com.google.android.wearable:wearable:2.3.0'
implementation files('libs/GenAsync.jar')
}
apply plugin: 'com.google.gms.google-services'

+ 0
- 51
FoodCloud/app/google-services.json View File

@ -1,51 +0,0 @@
{
"project_info": {
"project_number": "554038090297",
"firebase_url": "https://foodcloud-f6eb1.firebaseio.com",
"project_id": "foodcloud-f6eb1",
"storage_bucket": "foodcloud-f6eb1.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:554038090297:android:88c7b9f7692bb439",
"android_client_info": {
"package_name": "gq.yigit.foodcloud"
}
},
"oauth_client": [
{
"client_id": "554038090297-ur5brtr21n2p50hkuiprgbct2l6q76e5.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "554038090297-ur5brtr21n2p50hkuiprgbct2l6q76e5.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBELWHmzgjrtJdUQZiITbnfSQpQgcZt7-Y"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_id": "554038090297-ur5brtr21n2p50hkuiprgbct2l6q76e5.apps.googleusercontent.com",
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}

BIN
FoodCloud/app/libs/GenAsync.jar View File


+ 0
- 21
FoodCloud/app/proguard-rules.pro View File

@ -1,21 +0,0 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

+ 0
- 26
FoodCloud/app/src/androidTest/java/gq/yigit/foodcloud/ExampleInstrumentedTest.java View File

@ -1,26 +0,0 @@
package gq.yigit.foodcloud;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("gq.yigit.foodcloud", appContext.getPackageName());
}
}

+ 0
- 46
FoodCloud/app/src/main/AndroidManifest.xml View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="gq.yigit.foodcloud">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@mipmap/icon"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ProductInfo" />
Set to true if your app is Standalone, that is, it does not require the handheld
app to run.
-->
<activity android:name=".GetInfo" />
<activity android:name=".LearnMore" />
<activity
android:name=".ProcessPop"
android:theme="@style/AppTheme.Popup" />
<activity
android:name=".FarmPop"
android:theme="@style/AppTheme.Popup" />
<activity
android:name=".PackagePop"
android:theme="@style/AppTheme.Popup" />
<activity
android:name=".PopTrans1"
android:theme="@style/AppTheme.Popup" />
<activity android:name=".PopTrans2"
android:theme="@style/AppTheme.Popup"/>
</application>
</manifest>

+ 0
- 285
FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentIntegrator.java View File

@ -1,285 +0,0 @@
package com.google.zxing.integration.android;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
public class IntentIntegrator {
public static final int REQUEST_CODE = 0x0000c0de; // Only use bottom 16 bits
private static final String TAG = IntentIntegrator.class.getSimpleName();
public static final String DEFAULT_TITLE = "Install Barcode Scanner?";
public static final String DEFAULT_MESSAGE =
"This application requires Barcode Scanner. Would you like to install it?";
public static final String DEFAULT_YES = "Yes";
public static final String DEFAULT_NO = "No";
private static final String BS_PACKAGE = "com.google.zxing.client.android";
private static final String BSPLUS_PACKAGE = "com.srowen.bs.android";
// supported barcode formats
public static final Collection<String> PRODUCT_CODE_TYPES = list("UPC_A", "UPC_E", "EAN_8", "EAN_13", "RSS_14");
public static final Collection<String> ONE_D_CODE_TYPES =
list("UPC_A", "UPC_E", "EAN_8", "EAN_13", "CODE_39", "CODE_93", "CODE_128",
"ITF", "RSS_14", "RSS_EXPANDED");
public static final Collection<String> QR_CODE_TYPES = Collections.singleton("QR_CODE");
public static final Collection<String> DATA_MATRIX_TYPES = Collections.singleton("DATA_MATRIX");
public static final Collection<String> ALL_CODE_TYPES = null;
public static final List<String> TARGET_BARCODE_SCANNER_ONLY = Collections.singletonList(BS_PACKAGE);
public static final List<String> TARGET_ALL_KNOWN = list(
BS_PACKAGE, // Barcode Scanner
BSPLUS_PACKAGE, // Barcode Scanner+
BSPLUS_PACKAGE + ".simple" // Barcode Scanner+ Simple
// What else supports this intent?
);
private final Activity activity;
private String title;
private String message;
private String buttonYes;
private String buttonNo;
private List<String> targetApplications;
private final Map<String,Object> moreExtras;
public IntentIntegrator(Activity activity) {
this.activity = activity;
title = DEFAULT_TITLE;
message = DEFAULT_MESSAGE;
buttonYes = DEFAULT_YES;
buttonNo = DEFAULT_NO;
targetApplications = TARGET_ALL_KNOWN;
moreExtras = new HashMap<String,Object>(3);
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public void setTitleByID(int titleID) {
title = activity.getString(titleID);
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public void setMessageByID(int messageID) {
message = activity.getString(messageID);
}
public String getButtonYes() {
return buttonYes;
}
public void setButtonYes(String buttonYes) {
this.buttonYes = buttonYes;
}
public void setButtonYesByID(int buttonYesID) {
buttonYes = activity.getString(buttonYesID);
}
public String getButtonNo() {
return buttonNo;
}
public void setButtonNo(String buttonNo) {
this.buttonNo = buttonNo;
}
public void setButtonNoByID(int buttonNoID) {
buttonNo = activity.getString(buttonNoID);
}
public Collection<String> getTargetApplications() {
return targetApplications;
}
public final void setTargetApplications(List<String> targetApplications) {
if (targetApplications.isEmpty()) {
throw new IllegalArgumentException("No target applications");
}
this.targetApplications = targetApplications;
}
public void setSingleTargetApplication(String targetApplication) {
this.targetApplications = Collections.singletonList(targetApplication);
}
public Map<String,?> getMoreExtras() {
return moreExtras;
}
public final void addExtra(String key, Object value) {
moreExtras.put(key, value);
}
public final AlertDialog initiateScan() {
return initiateScan(ALL_CODE_TYPES);
}
public final AlertDialog initiateScan(Collection<String> desiredBarcodeFormats) {
Intent intentScan = new Intent(BS_PACKAGE + ".SCAN");
intentScan.addCategory(Intent.CATEGORY_DEFAULT);
// check which types of codes to scan for
if (desiredBarcodeFormats != null) {
// set the desired barcode types
StringBuilder joinedByComma = new StringBuilder();
for (String format : desiredBarcodeFormats) {
if (joinedByComma.length() > 0) {
joinedByComma.append(',');
}
joinedByComma.append(format);
}
intentScan.putExtra("SCAN_FORMATS", joinedByComma.toString());
}
String targetAppPackage = findTargetAppPackage(intentScan);
if (targetAppPackage == null) {
return showDownloadDialog();
}
intentScan.setPackage(targetAppPackage);
intentScan.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intentScan.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
attachMoreExtras(intentScan);
startActivityForResult(intentScan, REQUEST_CODE);
return null;
}
protected void startActivityForResult(Intent intent, int code) {
activity.startActivityForResult(intent, code);
}
private String findTargetAppPackage(Intent intent) {
PackageManager pm = activity.getPackageManager();
List<ResolveInfo> availableApps = pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
if (availableApps != null) {
for (ResolveInfo availableApp : availableApps) {
String packageName = availableApp.activityInfo.packageName;
if (targetApplications.contains(packageName)) {
return packageName;
}
}
}
return null;
}
private AlertDialog showDownloadDialog() {
AlertDialog.Builder downloadDialog = new AlertDialog.Builder(activity);
downloadDialog.setTitle(title);
downloadDialog.setMessage(message);
downloadDialog.setPositiveButton(buttonYes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
String packageName = targetApplications.get(0);
Uri uri = Uri.parse("market://details?id=" + packageName);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
try {
activity.startActivity(intent);
} catch (ActivityNotFoundException anfe) {
// Hmm, market is not installed
Log.w(TAG, "Google Play is not installed; cannot install " + packageName);
}
}
});
downloadDialog.setNegativeButton(buttonNo, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {}
});
return downloadDialog.show();
}
public static IntentResult parseActivityResult(int requestCode, int resultCode, Intent intent) {
if (requestCode == REQUEST_CODE) {
if (resultCode == Activity.RESULT_OK) {
String contents = intent.getStringExtra("SCAN_RESULT");
String formatName = intent.getStringExtra("SCAN_RESULT_FORMAT");
byte[] rawBytes = intent.getByteArrayExtra("SCAN_RESULT_BYTES");
int intentOrientation = intent.getIntExtra("SCAN_RESULT_ORIENTATION", Integer.MIN_VALUE);
Integer orientation = intentOrientation == Integer.MIN_VALUE ? null : intentOrientation;
String errorCorrectionLevel = intent.getStringExtra("SCAN_RESULT_ERROR_CORRECTION_LEVEL");
return new IntentResult(contents,
formatName,
rawBytes,
orientation,
errorCorrectionLevel);
}
return new IntentResult();
}
return null;
}
public final AlertDialog shareText(CharSequence text, CharSequence type) {
Intent intent = new Intent();
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setAction(BS_PACKAGE + ".ENCODE");
intent.putExtra("ENCODE_TYPE", type);
intent.putExtra("ENCODE_DATA", text);
String targetAppPackage = findTargetAppPackage(intent);
if (targetAppPackage == null) {
return showDownloadDialog();
}
intent.setPackage(targetAppPackage);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
attachMoreExtras(intent);
activity.startActivity(intent);
return null;
}
private static List<String> list(String... values) {
return Collections.unmodifiableList(Arrays.asList(values));
}
private void attachMoreExtras(Intent intent) {
for (Map.Entry<String,Object> entry : moreExtras.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
// Kind of hacky
if (value instanceof Integer) {
intent.putExtra(key, (Integer) value);
} else if (value instanceof Long) {
intent.putExtra(key, (Long) value);
} else if (value instanceof Boolean) {
intent.putExtra(key, (Boolean) value);
} else if (value instanceof Double) {
intent.putExtra(key, (Double) value);
} else if (value instanceof Float) {
intent.putExtra(key, (Float) value);
} else if (value instanceof Bundle) {
intent.putExtra(key, (Bundle) value);
} else {
intent.putExtra(key, value.toString());
}
}
}
}

+ 0
- 67
FoodCloud/app/src/main/java/com/google/zxing/integration/android/IntentResult.java View File

@ -1,67 +0,0 @@
package com.google.zxing.integration.android;
public final class IntentResult {
private final String contents;
private final String formatName;
private final byte[] rawBytes;
private final Integer orientation;
private final String errorCorrectionLevel;
IntentResult() {
this(null, null, null, null, null);
}
IntentResult(String contents,
String formatName,
byte[] rawBytes,
Integer orientation,
String errorCorrectionLevel) {
this.contents = contents;
this.formatName = formatName;
this.rawBytes = rawBytes;
this.orientation = orientation;
this.errorCorrectionLevel = errorCorrectionLevel;
}
public String getContents() {
return contents;
}
public String getFormatName() {
return formatName;
}
public byte[] getRawBytes() {
return rawBytes;
}
public Integer getOrientation() {
return orientation;
}
public String getErrorCorrectionLevel() {
return errorCorrectionLevel;
}
@Override
public String toString() {
StringBuilder dialogText = new StringBuilder(100);
dialogText.append("Format: ").append(formatName).append('\n');
dialogText.append("Contents: ").append(contents).append('\n');
int rawBytesLength = rawBytes == null ? 0 : rawBytes.length;
dialogText.append("Raw bytes: (").append(rawBytesLength).append(" bytes)\n");
dialogText.append("Orientation: ").append(orientation).append('\n');
dialogText.append("EC level: ").append(errorCorrectionLevel).append('\n');
return dialogText.toString();
}
}

+ 0
- 60
FoodCloud/app/src/main/java/gq/yigit/foodcloud/FarmPop.java View File

@ -1,60 +0,0 @@
package gq.yigit.foodcloud;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import org.json.JSONException;
import org.json.JSONObject;
public class FarmPop extends Activity {
public JSONObject json_farm;
public TextView date;
public TextView place;
public TextView prod;
public TextView safe_txt;
public ImageView safe_img;
public boolean proc_safe;
private static final String TAG = "MainActivity";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_farm_pop);
place = (TextView)findViewById(R.id.loc);
date = (TextView)findViewById(R.id.Date);
safe_txt = (TextView)findViewById(R.id.safe_txt);
prod = (TextView)findViewById(R.id.prod);
safe_img = (ImageView) findViewById(R.id.safe_img);
Bundle extras = getIntent().getExtras();
if (extras != null) {
try {
json_farm = new JSONObject(extras.getString("key"));
place.setText((String)json_farm.get("Location"));
proc_safe = (boolean)json_farm.get("Problematic");
date.setText(json_farm.get("Date").toString());
prod.setText((json_farm.get("Product").toString()));
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
}
if(proc_safe){
safe_img.setImageResource(R.mipmap.warning);
safe_txt.setText("Warning, there was an error in the harvestment of this product. We recommend that you don't consume it!");
}else{
safe_img.setImageResource(R.mipmap.check);
safe_txt.setText("This product did not have any problems during harvesting. It is safe to consume!");
}
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int width = dm.widthPixels;
int height = dm.heightPixels;
getWindow().setLayout((int)(width*0.8), (int)(height*0.55));
}
}

+ 0
- 28
FoodCloud/app/src/main/java/gq/yigit/foodcloud/GetInfo.java View File

@ -1,28 +0,0 @@
package gq.yigit.foodcloud;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.widget.Button;
public class GetInfo extends AppCompatActivity implements View.OnClickListener {
public Button back_to_main;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_get_info);
WebView myWebView = (WebView) findViewById(R.id.info);
myWebView.loadUrl("https://www.welthungerhilfe.org/our-work/approaches/food-security-standard/");
back_to_main = (Button) findViewById(R.id.back_to_main);
back_to_main.setOnClickListener(this);
}
public void onClick(View v){
onBackPressed();
//Intent i = new Intent(GetInfo.this, MainActivity.class);
//startActivity(i);
}
}

+ 0
- 139
FoodCloud/app/src/main/java/gq/yigit/foodcloud/LearnMore.java View File

@ -1,139 +0,0 @@
/*
PAUSE FOR PRAYER
Dear God,
Please help me find any malicious bugs that I've created
and ,yet, I can't spot.
Make my code free of errors.
END PRAYER
*/
package gq.yigit.foodcloud;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class LearnMore extends AppCompatActivity implements View.OnClickListener {
private static final String TAG = "MainActivity";
public String prod_loc_more;
public ImageView factory;
public ImageView farm;
public ImageView packaging;
public ImageView trans1;
public ImageView trans2;
static public ImageView factory_cond;
static public ImageView farm_cond;
static public ImageView packaging_cond;
static public ImageView trans1_cond;
static public ImageView trans2_cond;
public Button back_to_main;
public Map<String, Object> someMap;
public String prod_loc;
static public JSONObject process;
@Override
protected void onCreate(Bundle savedInstanceState) {
System.gc();
Bundle extras = getIntent().getExtras();
if (extras != null) {
prod_loc_more = extras.getString("key");
}
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_learn_more);
factory = (ImageView) findViewById(R.id.factory);
factory_cond = (ImageView) findViewById(R.id.factory_cond);
factory.setOnClickListener(this);
farm = (ImageView) findViewById(R.id.farm);
farm_cond = (ImageView) findViewById(R.id.farm_cond);
farm.setOnClickListener(this);
packaging = (ImageView) findViewById(R.id.packaging);
packaging_cond = (ImageView) findViewById(R.id.packaging_cond);
packaging.setOnClickListener(this);
trans1 = (ImageView) findViewById(R.id.trans1);
trans1_cond = (ImageView) findViewById(R.id.trans1_cond);
trans1.setOnClickListener(this);
trans2 = (ImageView) findViewById(R.id.trans2);
trans2_cond = (ImageView) findViewById(R.id.trans2_cond);
trans2.setOnClickListener(this);
back_to_main = (Button) findViewById(R.id.go_back_to_main);
back_to_main.setOnClickListener(this);
PHPComm comm = new PHPComm(this);
PHPComm.decide = "Proc";
comm.execute("get", prod_loc_more, "Processes");
}
public void onClick(View v){
try {
if (v.getId() == R.id.go_back_to_main) {
Intent i = new Intent(LearnMore.this, MainActivity.class);
startActivity(i);
} else if (v.getId() == R.id.factory) {
Intent i = new Intent(LearnMore.this, ProcessPop.class);
i.putExtra("key", process.get("Process").toString());
startActivity(i);
} else if (v.getId() == R.id.farm) {
Intent i = new Intent(LearnMore.this, FarmPop.class);
i.putExtra("key", process.get("Harvested").toString());
startActivity(i);
} else if (v.getId() == R.id.packaging) {
Intent i = new Intent(LearnMore.this, PackagePop.class);
i.putExtra("key", process.get("Packaging").toString());
startActivity(i);
} else if (v.getId() == R.id.trans1) {
Intent i = new Intent(LearnMore.this, PopTrans1.class);
i.putExtra("key", process.get("Transport1").toString());
startActivity(i);
} else if (v.getId() == R.id.trans2) {
Intent i = new Intent(LearnMore.this, PopTrans2.class);
i.putExtra("key", process.get("Transport2").toString());
startActivity(i);
}
}catch(JSONException e){
Log.d(TAG,"An error occured with json");
}
}
static public void adjustImg(ImageView comp,String stage) {
try {
if ((boolean) process.getJSONObject(stage).get("Problematic")) {
comp.setImageResource(R.mipmap.warning);
comp.bringToFront();
} else {
comp.setImageResource(R.mipmap.check);
comp.bringToFront();
}
} catch (JSONException e) {
Log.d(TAG, "An error ocuured with the json");
}
}
static public void continueProg(String result){
try {
process = new JSONObject(result);
}catch (JSONException e){
Log.d(TAG,"An error ocuured with the json");
}
Log.d(TAG,"Received JSON: " + process.toString());
adjustImg(factory_cond,"Process");
adjustImg(farm_cond,"Harvested");
adjustImg(packaging_cond,"Packaging");
adjustImg(trans1_cond,"Transport1");
adjustImg(trans2_cond,"Transport2");
}
}

+ 0
- 84
FoodCloud/app/src/main/java/gq/yigit/foodcloud/MainActivity.java View File

@ -1,84 +0,0 @@
/*
PAUSE FOR PRAYER
Dear God,
Please help me find any malicious bugs that I've created
and ,yet, I can't spot.
Make my code free of errors.
END PRAYER
*/
package gq.yigit.foodcloud;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import android.content.Intent;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import java.util.HashMap;
public class MainActivity extends AppCompatActivity implements OnClickListener{
private static final String TAG = "MainActivity";
int cnt = 0;
private Button scanBtn;
private Button infoBtn;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
System.gc();
scanBtn = (Button)findViewById(R.id.scan_button);
scanBtn.setOnClickListener(this);
infoBtn = (Button)findViewById(R.id.info_button);
infoBtn.setOnClickListener(this);
}
public void onClick(View v){
if (v.getId() == R.id.scan_button) {
IntentIntegrator scanIntegrator = new IntentIntegrator(this);
scanIntegrator.initiateScan();
}
if (v.getId() == R.id.info_button) {
startActivity(new Intent(MainActivity.this, GetInfo.class));
}
}
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
IntentResult scanningResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);
String scanContent = scanningResult.getContents();
try{
scanContent.toString();
Intent i = new Intent(MainActivity.this, ProductInfo.class);
i.putExtra("key",scanContent);
startActivity(i);
}
catch(NullPointerException e) {
Toast toast = Toast.makeText(getApplicationContext(),
"No scan data received!", Toast.LENGTH_SHORT);
toast.show();
}catch(RuntimeException e){
Toast toast = Toast.makeText(getApplicationContext(),
"No scan data received!", Toast.LENGTH_SHORT);
toast.show();
}
}
}

+ 0
- 97
FoodCloud/app/src/main/java/gq/yigit/foodcloud/PHPComm.java View File

@ -1,97 +0,0 @@
package gq.yigit.foodcloud;
import android.app.AlertDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
public class PHPComm extends AsyncTask<String,Void,String> {
private static final String TAG = "MainActivity";
public static String decide;
Context context;
AlertDialog alertDialog;
PHPComm (Context ctx) {
context = ctx;
}
static String json_return;
@Override
protected String doInBackground(String... params) {
String type = params[0];
String login_url = "http://192.168.43.125/database/communication/comm.php";
if(type.equals("get")) {
try {
Log.d(TAG,"received get");
String id = params[1];
String value = params[2];
URL url = new URL(login_url);
HttpURLConnection httpURLConnection = (HttpURLConnection)url.openConnection();
httpURLConnection.setRequestMethod("POST");
httpURLConnection.setDoOutput(true);
httpURLConnection.setDoInput(true);
OutputStream outputStream = httpURLConnection.getOutputStream();
BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(outputStream, "UTF-8"));
String post_data = URLEncoder.encode("id","UTF-8")+"="+URLEncoder.encode(id,"UTF-8")+"&"
+URLEncoder.encode("value","UTF-8")+"="+URLEncoder.encode(value,"UTF-8");
bufferedWriter.write(post_data);
bufferedWriter.flush();
bufferedWriter.close();
outputStream.close();
InputStream inputStream = httpURLConnection.getInputStream();
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream,"iso-8859-1"));
String result="";
String line="";
while((line = bufferedReader.readLine())!= null) {
result += line;
}
bufferedReader.close();
inputStream.close();
httpURLConnection.disconnect();
return result;
} catch (MalformedURLException e) {
e.printStackTrace();
Log.d(TAG,"MalformedURL");
} catch (IOException e) {
e.printStackTrace();
Log.d(TAG,"IOExcept");
}
}
return null;
}
@Override
protected void onPreExecute() {
alertDialog = new AlertDialog.Builder(context).create();
alertDialog.setTitle("Login Status");
}
@Override
protected void onPostExecute(String result) {
alertDialog.setMessage(result);
Log.d(TAG, "AlertBoxSet " + result);
Log.d(TAG,decide);
if(decide == "Prod") {
ProductInfo.continueApp(result);
}else{
LearnMore.continueProg(result);
}
}
@Override
protected void onProgressUpdate(Void... values) {
super.onProgressUpdate(values);
}
}

+ 0
- 67
FoodCloud/app/src/main/java/gq/yigit/foodcloud/PackagePop.java View File

@ -1,67 +0,0 @@
package gq.yigit.foodcloud;
import android.app.Activity;
import android.media.Image;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import org.json.JSONException;
import org.json.JSONObject;
import static android.support.constraint.Constraints.TAG;
public class PackagePop extends Activity {
public TextView material;
public TextView location;
public TextView cancerogen;
public ImageView safe_img;
public TextView safe_txt;
public boolean cancerogens;
public boolean safe;
public JSONObject json_pack;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_package_pop);
safe_txt = (TextView)findViewById(R.id.safe_txt);
material = (TextView)findViewById(R.id.material);
location = (TextView)findViewById(R.id.place);
cancerogen = (TextView)findViewById(R.id.cancerogen);
safe_img = (ImageView) findViewById(R.id.safe_img);
Bundle extras = getIntent().getExtras();
if (extras != null) {
try {
json_pack = new JSONObject(extras.getString("key"));
location.setText((String)json_pack.get("Location"));
safe = (boolean)json_pack.get("Problematic");
material.setText(json_pack.get("Material").toString());
cancerogens = (boolean) json_pack.get("Cancerogen");
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
}
if(cancerogens){
cancerogen.setText("Yes");
}else{
cancerogen.setText("No");
}
if(safe){
safe_img.setImageResource(R.mipmap.warning);
safe_txt.setText("Warning, there was an error in the packaging of this product. We recommend that you don't consume it!");
}else{
safe_img.setImageResource(R.mipmap.check);
safe_txt.setText("This product did not have any problems during packaging. It is safe to consume!");
}
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int width = dm.widthPixels;
int height = dm.heightPixels;
getWindow().setLayout((int)(width*0.821), (int)(height*0.5));
}
}

+ 0
- 79
FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans1.java View File

@ -1,79 +0,0 @@
package gq.yigit.foodcloud;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import org.json.JSONException;
import org.json.JSONObject;
import static android.support.constraint.Constraints.TAG;
public class PopTrans1 extends Activity {
public TextView duration;
public TextView from;
public TextView to;
public TextView stop;
public TextView cond;
public TextView safe_txt;
public ImageView safe_img;
public boolean safe;
public boolean stop_cond;
public boolean cond_cond;
public JSONObject json_trans1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_pop_trans1);
duration = (TextView)findViewById(R.id.duration);
from = (TextView)findViewById(R.id.from);
safe_txt = (TextView)findViewById(R.id.safe_txt);
to = (TextView)findViewById(R.id.to);
stop = (TextView)findViewById(R.id.stop);
cond = (TextView)findViewById(R.id.cond);
safe_img = (ImageView) findViewById(R.id.safe_img);
Bundle extras = getIntent().getExtras();
if (extras != null) {
try {
json_trans1 = new JSONObject(extras.getString("key"));
duration.setText(json_trans1.get("Duration").toString() + " hours");
safe = (boolean)json_trans1.get("Problematic");
to.setText(json_trans1.get("Moved to,from").toString().split("-")[1]);
from.setText(json_trans1.get("Moved to,from").toString().split("-")[0]);
stop_cond = (boolean)json_trans1.get("Stopped");
cond_cond = (boolean)json_trans1.get("Condition");
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
}
if(safe){
safe_img.setImageResource(R.mipmap.warning);
safe_txt.setText("Warning, there was an error in the harvestment of this product. We recommend that you don't consume it!");
}else{
safe_img.setImageResource(R.mipmap.check);
safe_txt.setText("This product did not have any problems during harvesting. It is safe to consume!");
}
if(stop_cond){
stop.setText("Yes");
}else{
stop.setText("No");
}
if(cond_cond){
cond.setText("Yes");
}else{
cond.setText("No");
}
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int width = dm.widthPixels;
int height = dm.heightPixels;
getWindow().setLayout((int)(width*0.8), (int)(height*0.72));
}
}

+ 0
- 79
FoodCloud/app/src/main/java/gq/yigit/foodcloud/PopTrans2.java View File

@ -1,79 +0,0 @@
package gq.yigit.foodcloud;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import org.json.JSONException;
import org.json.JSONObject;
import static android.support.constraint.Constraints.TAG;
public class PopTrans2 extends Activity {
public TextView duration;
public TextView from;
public TextView to;
public TextView stop;
public TextView cond;
public TextView safe_txt;
public ImageView safe_img;
public boolean safe;
public boolean stop_cond;
public boolean cond_cond;
public JSONObject json_trans2;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_pop_trans2);
duration = (TextView)findViewById(R.id.duration);
from = (TextView)findViewById(R.id.from);
safe_txt = (TextView)findViewById(R.id.safe_txt);
to = (TextView)findViewById(R.id.to);
stop = (TextView)findViewById(R.id.stop);
cond = (TextView)findViewById(R.id.cond);
safe_img = (ImageView) findViewById(R.id.safe_img);
Bundle extras = getIntent().getExtras();
if (extras != null) {
try {
json_trans2 = new JSONObject(extras.getString("key"));
duration.setText(json_trans2.get("Duration").toString() + " hours");
safe = (boolean)json_trans2.get("Problematic");
to.setText(json_trans2.get("Moved to,from").toString().split("-")[1]);
from.setText(json_trans2.get("Moved to,from").toString().split("-")[0]);
stop_cond = (boolean)json_trans2.get("Stopped");
cond_cond = (boolean)json_trans2.get("Condition");
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
}
if(safe){
safe_img.setImageResource(R.mipmap.warning);
safe_txt.setText("Warning, there was an error in the harvestment of this product. We recommend that you don't consume it!");
}else{
safe_img.setImageResource(R.mipmap.check);
safe_txt.setText("This product did not have any problems during harvesting. It is safe to consume!");
}
if(stop_cond){
stop.setText("Yes");
}else{
stop.setText("No");
}
if(cond_cond){
cond.setText("Yes");
}else{
cond.setText("No");
}
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int width = dm.widthPixels;
int height = dm.heightPixels;
getWindow().setLayout((int)(width*0.8), (int)(height*0.72));
}
}

+ 0
- 72
FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProcessPop.java View File

@ -1,72 +0,0 @@
package gq.yigit.foodcloud;
import android.app.Activity;
import android.app.ListActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.TextView;
import org.json.JSONException;
import org.json.JSONObject;
public class ProcessPop extends Activity {
public JSONObject json_proc;
public String[] processes;
public ListView proc_lst;
public TextView proc_place;
public TextView proc_ok;
public ImageView proc_ok_img;
public boolean proc_prob;
private static final String TAG = "MainActivity";
@Override
protected void onCreate(Bundle savedInstanceState) {
Bundle extras = getIntent().getExtras();
setContentView(R.layout.activity_process_pop);
proc_lst = (ListView)findViewById(R.id.proc_lst);
proc_place = (TextView)findViewById(R.id.processed_in);
proc_ok = (TextView)findViewById(R.id.proc_ok);
proc_ok_img = (ImageView) findViewById(R.id.proc_ok_img);
if (extras != null) {
try {
json_proc = new JSONObject(extras.getString("key"));
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
}
super.onCreate(savedInstanceState);
try {
processes = json_proc.get("Processes").toString().split(",");
proc_place.setText((String)json_proc.get("Location"));
proc_prob = (boolean)json_proc.get("Problematic");
}catch(JSONException e){
Log.d(TAG,"An error occured with json!");
}
String process_print = new String();
for (int i=0; i<processes.length;i++){
process_print += ((i+1) +". " + processes[i] + "\n");
}
ArrayAdapter<String> proc_adapter = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,processes);
proc_lst.setAdapter(proc_adapter);
Log.d(TAG,process_print);
if(proc_prob){
proc_ok_img.setImageResource(R.mipmap.warning);
proc_ok.setText("Warning, there was an error in the processing of this product. We recommend that you don't consume it!");
}else{
proc_ok_img.setImageResource(R.mipmap.check);
proc_ok.setText("This product did not have any problems during processing. It is safe to consume!");
}
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int width = dm.widthPixels;
int height = dm.heightPixels;
getWindow().setLayout((int)(width*0.8), (int)(height*0.53));
}
}

+ 0
- 188
FoodCloud/app/src/main/java/gq/yigit/foodcloud/ProductInfo.java View File

@ -1,188 +0,0 @@
/*
PAUSE FOR PRAYER
Dear God,
Please help me find any malicious bugs that I've created
and ,yet, I can't spot.
Make my code free of errors.
END PRAYER
*/
package gq.yigit.foodcloud;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Button;
import android.view.View.OnClickListener;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class ProductInfo extends AppCompatActivity implements OnClickListener {
private static final String TAG = "MainActivity";
static private TextView Name;
static private TextView Cal;
static private TextView Cooked;
static private TextView Nutrients;
static private TextView BBD;
static private TextView Processed;
static private TextView Problematic;
static private TextView Allergens;
static private String name;
static private String cal;
static private String cooked;
static private String nutrients;
static private JSONArray nutrients_array;
static private String bbd;
static private String processed;
static private String expiry_date;
static private String allergens;
static private JSONArray allergens_array;
public String json_str;
public JSONObject Prod;
private Button scanBtn;
private Button jrnyBtn;
public String prod_loc;
static public String allergens_print = new String();
static public String nutrients_print = new String();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_product_info);
scanBtn = (Button)findViewById(R.id.button);
scanBtn.setOnClickListener(this);
jrnyBtn = (Button)findViewById(R.id.journey);
jrnyBtn.setOnClickListener(this);
Name = (TextView) findViewById(R.id.name);
Cal = (TextView) findViewById(R.id.Calories);
Allergens = (TextView) findViewById(R.id.allergens);
Cooked = (TextView) findViewById(R.id.cooked);
BBD = (TextView) findViewById(R.id.BBD);
Processed = (TextView) findViewById(R.id.Process);
Nutrients = (TextView) findViewById(R.id.nutrients);
Bundle extras =
getIntent().getExtras();
if (extras != null) {
prod_loc = extras.getString("key");
}
PHPComm comm = new PHPComm(this);
PHPComm.decide = "Prod";
comm.execute("get", prod_loc, "Products");
}
@Override
public void onClick(View v){
if (v.getId() == R.id.button) {
Intent i = new Intent(ProductInfo.this, MainActivity.class);
startActivity(i);
}if (v.getId() == R.id.journey) {
allergens_array = null;
nutrients_array = null;
//expiry_date = null;
nutrients = null;
allergens = null;
processed = null;
name = null;
cooked = null;
cal = null;
bbd = null;
System.gc();
Intent i = new Intent(ProductInfo.this, LearnMore.class);
i.putExtra("key", prod_loc);
startActivity(i);
}
}
static public void continueApp(String json_str){
try {
Log.d(TAG,"This is a pointer");
Log.d(TAG,"Got json str " + json_str);
JSONObject jsonObj = new JSONObject(json_str);
name = jsonObj.get("Prod_Name").toString();
cal = jsonObj.get("Calories").toString();
cooked = jsonObj.get("Cooked").toString();
nutrients = jsonObj.get("Nutrients").toString();
bbd = jsonObj.get("BBD").toString();
processed = jsonObj.get("Process").toString();
allergens_array = (JSONArray) jsonObj.get("Allergens");
nutrients_array = (JSONArray) jsonObj.get("Nutrients");
//expiry_date = jsonObj.getJSONArray("ED").toString();
allergens = jsonObj.get("Allergens").toString();
}catch (JSONException e) {
Log.d(TAG, "An error occured with the json!");
}catch (NullPointerException e){
Log.d(TAG,"Received null data!");
}
if(processed.length() < 4){
Processed.setText("None");
}
if(allergens.length() < 7) {
Allergens.setText("None");
}else{
for(int i = 0; i < allergens_array.length();i++) {
try {
allergens_print = allergens_print + allergens_array.get(i);
}catch (JSONException e){
Log.d(TAG,"An error occured with json");
}
if(i != allergens_array.length()-1){
allergens_print = allergens_print + " , ";
}
}
Allergens.setText(allergens_print);
}
nutrients_print = "";
if(nutrients.length() < 7) {
Nutrients.setText("None");
}else{
for(int i = 0; i < nutrients_array.length();i++) {
try {
nutrients_print = nutrients_print + nutrients_array.get(i);
}catch (JSONException e){
Log.d(TAG,"An error occured with json");
}
if(i != nutrients_array.length()-1){
nutrients_print = nutrients_print + " , ";
}
}
Nutrients.setText(nutrients_print);
}
try {
Cal.setText(cal);
allergens_print = "";
Cooked.setText(cooked);
BBD.setText(bbd);
Processed.setText(processed);
Name.setText(name);
}catch(NullPointerException e){
Log.d(TAG,"Failed");
}
}
}

+ 0
- 34
FoodCloud/app/src/main/res/drawable-v24/ic_launcher_foreground.xml View File

@ -1,34 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1" />
</vector>

+ 0
- 29
FoodCloud/app/src/main/res/drawable/buttonshape.xml View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<corners
android:radius="100dp"
/>
<gradient
android:gradientRadius="90dp"
android:centerX="50%"
android:centerY="50%"
android:centerColor="#FFFFFF"
android:startColor="#fa8072 "
android:endColor="#3AAA01"
android:type="radial"
/>
<padding
android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp"
/>
<size
android:width="231dp"
android:height="89dp"
/>
<stroke
android:width="5dp"
android:color="#000000"
/>
</shape>

+ 0
- 74
FoodCloud/app/src/main/res/drawable/ic_launcher_background.xml View File

@ -1,74 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#26A69A"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>

+ 0
- 12
FoodCloud/app/src/main/res/drawable/process_bg.xml View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<corners
android:radius = "14dp"
/>
<stroke
android:color="#000000"
android:width = "5dp"/>
</shape>

+ 0
- 130
FoodCloud/app/src/main/res/layout/activity_farm_pop.xml View File

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".FarmPop"
android:background="@drawable/process_bg">
<TextView
android:id="@+id/Date_const"
android:layout_width="wrap_content"
android:layout_height="29dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="8dp"
android:text="Harvestment Date: "
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.068" />
<TextView
android:id="@+id/Date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="112dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/Date_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/Date_const"
app:layout_constraintTop_toBottomOf="@+id/Date_const" />
<TextView
android:id="@+id/loc_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="84dp"
android:text="Harvestment Location:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/Date_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/Date_const"
app:layout_constraintTop_toTopOf="@+id/Date_const" />
<TextView
android:id="@+id/loc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/loc_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/loc_const"
app:layout_constraintTop_toBottomOf="@+id/loc_const" />
<TextView
android:id="@+id/prod_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="48dp"
android:text="Harvested:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/loc_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/loc_const"
app:layout_constraintTop_toBottomOf="@+id/loc_const" />
<TextView
android:id="@+id/prod"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/prod_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/prod_const"
app:layout_constraintTop_toBottomOf="@+id/prod_const" />
<ImageView
android:id="@+id/safe_img"
android:layout_width="93dp"
android:layout_height="83dp"
android:layout_marginTop="20dp"
android:src="@mipmap/check"
app:layout_constraintEnd_toEndOf="@+id/prod"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/prod"
app:layout_constraintTop_toBottomOf="@+id/prod" />
<TextView
android:id="@+id/safe_txt"
android:layout_width="183dp"
android:layout_height="80dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="@+id/safe_img"
app:layout_constraintStart_toEndOf="@+id/safe_img"
app:layout_constraintTop_toTopOf="@+id/safe_img"
app:layout_constraintVertical_bias="0.615" />
</android.support.constraint.ConstraintLayout>

+ 0
- 41
FoodCloud/app/src/main/res/layout/activity_get_info.xml View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".GetInfo"
tools:layout_editor_absoluteY="81dp">
<WebView
android:id="@+id/info"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginBottom="28dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toTopOf="@+id/back_to_main"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/back_to_main"
android:layout_width="321dp"
android:layout_height="53dp"
android:layout_marginBottom="24dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/back"
android:textColor="#000000"
android:textSize="30sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.507"
app:layout_constraintStart_toStartOf="parent" />
</android.support.constraint.ConstraintLayout>

+ 0
- 237
FoodCloud/app/src/main/res/layout/activity_learn_more.xml View File

@ -1,237 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".LearnMore"
tools:layout_editor_absoluteY="81dp">
<ImageView
android:id="@+id/trans2_cond"
android:layout_width="51dp"
android:layout_height="45dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="48dp"
app:layout_constraintBottom_toBottomOf="@+id/trans2"
app:layout_constraintEnd_toEndOf="@+id/trans2"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/trans2"
app:layout_constraintTop_toTopOf="@+id/trans2"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/check" />
<ImageView
android:id="@+id/imageView16"
android:layout_width="64dp"
android:layout_height="112dp"
android:layout_marginEnd="128dp"
android:layout_marginTop="40dp"
android:rotation="70"
app:layout_constraintBottom_toBottomOf="@+id/trans2"
app:layout_constraintEnd_toEndOf="@+id/trans2"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/trans2"
app:layout_constraintTop_toTopOf="@+id/trans2"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/arrow_left" />
<ImageView
android:id="@+id/packaging_cond"
android:layout_width="51dp"
android:layout_height="45dp"
android:layout_marginStart="64dp"
android:layout_marginTop="68dp"
app:layout_constraintBottom_toBottomOf="@+id/packaging"
app:layout_constraintEnd_toEndOf="@+id/packaging"
app:layout_constraintStart_toStartOf="@+id/packaging"
app:layout_constraintTop_toTopOf="@+id/packaging"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/check" />
<ImageView
android:id="@+id/trans2"
android:layout_width="151dp"
android:layout_height="83dp"
android:layout_marginEnd="36dp"
android:layout_marginTop="48dp"
app:layout_constraintBottom_toBottomOf="@+id/imageView13"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/imageView13"
app:layout_constraintVertical_bias="0.13"
app:srcCompat="@mipmap/truck" />
<ImageView
android:id="@+id/imageView13"
android:layout_width="184dp"
android:layout_height="62dp"
android:layout_marginStart="64dp"
android:rotation="30"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/factory"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/factory"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.481"
app:srcCompat="@mipmap/arrow_right" />
<ImageView
android:id="@+id/factory_cond"
android:layout_width="51dp"
android:layout_height="45dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="64dp"
android:layout_marginTop="96dp"
app:layout_constraintBottom_toBottomOf="@+id/factory"
app:layout_constraintEnd_toEndOf="@+id/factory"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/factory"
app:layout_constraintTop_toTopOf="@+id/factory"
app:srcCompat="@mipmap/check" />
<ImageView
android:id="@+id/trans1_cond"
android:layout_width="51dp"
android:layout_height="45dp"
android:layout_marginEnd="4dp"
android:layout_marginStart="8dp"
android:layout_marginTop="44dp"
app:layout_constraintBottom_toBottomOf="@+id/trans1"
app:layout_constraintEnd_toEndOf="@+id/trans1"
app:layout_constraintHorizontal_bias="0.954"
app:layout_constraintStart_toStartOf="@+id/trans1"
app:layout_constraintTop_toTopOf="@+id/trans1"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/check" />
<ImageView
android:id="@+id/farm"
android:layout_width="116dp"
android:layout_height="108dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.02"
app:srcCompat="@mipmap/farm" />
<ImageView
android:id="@+id/farm_cond"
android:layout_width="51dp"
android:layout_height="46dp"
android:layout_marginStart="76dp"
android:layout_marginTop="76dp"
app:layout_constraintBottom_toBottomOf="@+id/farm"
app:layout_constraintEnd_toEndOf="@+id/farm"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/farm"
app:layout_constraintTop_toTopOf="@+id/farm"
app:layout_constraintVertical_bias="0.285"
app:srcCompat="@mipmap/check" />
<ImageView
android:id="@+id/trans1"
android:layout_width="151dp"
android:layout_height="83dp"
android:layout_marginStart="200dp"
android:layout_marginTop="72dp"
app:layout_constraintBottom_toBottomOf="@+id/farm"
app:layout_constraintEnd_toEndOf="@+id/farm"
app:layout_constraintHorizontal_bias="0.08"
app:layout_constraintStart_toStartOf="@+id/farm"
app:layout_constraintTop_toTopOf="@+id/farm"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/truck" />
<ImageView
android:id="@+id/imageView7"
android:layout_width="196dp"
android:layout_height="65dp"
android:layout_marginBottom="8dp"
android:layout_marginStart="76dp"
android:layout_marginTop="20dp"
android:rotation="30"
app:layout_constraintBottom_toBottomOf="@+id/farm"
app:layout_constraintEnd_toEndOf="@+id/farm"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/farm"
app:layout_constraintTop_toTopOf="@+id/farm"
app:layout_constraintVertical_bias="1.0"
app:srcCompat="@mipmap/arrow_right" />
<ImageView
android:id="@+id/imageView10"
android:layout_width="64dp"
android:layout_height="112dp"
android:layout_marginEnd="76dp"
android:layout_marginStart="8dp"
android:layout_marginTop="72dp"
android:rotation="70"
app:layout_constraintBottom_toBottomOf="@+id/imageView7"
app:layout_constraintEnd_toEndOf="@+id/imageView7"
app:layout_constraintHorizontal_bias="0.895"
app:layout_constraintStart_toStartOf="@+id/imageView7"
app:layout_constraintTop_toTopOf="@+id/imageView7"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/arrow_left" />
<ImageView
android:id="@+id/factory"
android:layout_width="85dp"
android:layout_height="142dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="28dp"
android:layout_marginTop="124dp"
app:layout_constraintBottom_toBottomOf="@+id/farm"
app:layout_constraintEnd_toEndOf="@+id/farm"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/farm"
app:layout_constraintTop_toTopOf="@+id/farm"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/factory" />
<ImageView
android:id="@+id/packaging"
android:layout_width="103dp"
android:layout_height="103dp"
android:layout_marginEnd="64dp"
android:layout_marginTop="52dp"
app:layout_constraintBottom_toBottomOf="@+id/imageView16"
app:layout_constraintEnd_toEndOf="@+id/imageView16"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/imageView16"
app:layout_constraintTop_toTopOf="@+id/imageView16"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@mipmap/packaging" />
<Button
android:id="@+id/go_back_to_main"
android:layout_width="169dp"
android:layout_height="52dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="120dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/back"
android:textColor="#000000"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="@+id/imageView16"
app:layout_constraintEnd_toEndOf="@+id/trans2"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/packaging_cond"
app:layout_constraintTop_toBottomOf="@+id/trans2"
app:layout_constraintVertical_bias="0.0" />
</android.support.constraint.ConstraintLayout>

+ 0
- 68
FoodCloud/app/src/main/res/layout/activity_main.xml View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
tools:layout_editor_absoluteY="81dp">
<Button
android:id="@+id/scan_button"
android:layout_width="231dp"
android:layout_height="89dp"
android:layout_marginBottom="60dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/scan"
android:textColor="#000000"
android:textSize="30sp"
app:layout_constraintBottom_toTopOf="@+id/imageView"
app:layout_constraintEnd_toEndOf="@+id/imageView"
app:layout_constraintHorizontal_bias="0.485"
app:layout_constraintStart_toStartOf="@+id/imageView" />
<Button
android:id="@+id/info_button"
android:layout_width="231dp"
android:layout_height="89dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="60dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/info"
android:textColor="#000000"
android:textSize="30sp"
app:layout_constraintEnd_toEndOf="@+id/imageView"
app:layout_constraintStart_toStartOf="@+id/imageView"
app:layout_constraintTop_toBottomOf="@+id/imageView" />
<ImageView
android:id="@+id/imageView"
android:layout_width="317dp"
android:layout_height="207dp"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.507"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/icon" />
</android.support.constraint.ConstraintLayout>

+ 0
- 129
FoodCloud/app/src/main/res/layout/activity_package_pop.xml View File

@ -1,129 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PackagePop"
android:background="@drawable/process_bg">
<TextView
android:id="@+id/material_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="24dp"
android:layout_marginTop="8dp"
android:text="Packaged Using: "
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.067" />
<TextView
android:id="@+id/material"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/material_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/material_const"
app:layout_constraintTop_toBottomOf="@+id/material_const" />
<TextView
android:id="@+id/place_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="12dp"
android:text="Packaging Location:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/material"
app:layout_constraintHorizontal_bias="0.064"
app:layout_constraintStart_toStartOf="@+id/material"
app:layout_constraintTop_toBottomOf="@+id/material" />
<TextView
android:id="@+id/place"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/place_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/place_const"
app:layout_constraintTop_toBottomOf="@+id/place_const" />
<TextView
android:id="@+id/cancerogen_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="Has Cancerogens: "
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/place"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/place"
app:layout_constraintTop_toBottomOf="@+id/place" />
<TextView
android:id="@+id/cancerogen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/cancerogen_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cancerogen_const"
app:layout_constraintTop_toBottomOf="@+id/cancerogen_const" />
<ImageView
android:id="@+id/safe_img"
android:layout_width="71dp"
android:layout_height="85dp"
android:layout_marginTop="16dp"
android:src="@mipmap/check"
app:layout_constraintEnd_toEndOf="@+id/cancerogen"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cancerogen"
app:layout_constraintTop_toBottomOf="@+id/cancerogen" />
<TextView
android:id="@+id/safe_txt"
android:layout_width="217dp"
android:layout_height="81dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="@+id/safe_img"
app:layout_constraintStart_toEndOf="@+id/safe_img"
app:layout_constraintTop_toTopOf="@+id/safe_img"
app:layout_constraintVertical_bias="1.0" />
</android.support.constraint.ConstraintLayout>

+ 0
- 189
FoodCloud/app/src/main/res/layout/activity_pop_trans1.xml View File

@ -1,189 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PopTrans1"
android:background="@drawable/process_bg">
<TextView
android:id="@+id/duration_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="504dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="40dp"
android:layout_marginTop="86dp"
android:text="Duration:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="44dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/duration_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/duration_const"
app:layout_constraintTop_toBottomOf="@+id/duration_const" />
<TextView
android:id="@+id/from_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="Moved From:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/duration"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/duration"
app:layout_constraintTop_toBottomOf="@+id/duration" />
<TextView
android:id="@+id/from"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/from_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/from_const"
app:layout_constraintTop_toBottomOf="@+id/from_const" />
<TextView
android:id="@+id/to_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="Moved To:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/from"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/from"
app:layout_constraintTop_toBottomOf="@+id/from" />
<TextView
android:id="@+id/to"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/to_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/to_const"
app:layout_constraintTop_toBottomOf="@+id/to_const" />
<TextView
android:id="@+id/stop_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="12dp"
android:text="Did the Vehicle Stop:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/to"
app:layout_constraintHorizontal_bias="0.062"
app:layout_constraintStart_toStartOf="@+id/to"
app:layout_constraintTop_toBottomOf="@+id/to" />
<TextView
android:id="@+id/stop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/stop_const"
app:layout_constraintHorizontal_bias="0.175"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/stop_const" />
<TextView
android:id="@+id/cond_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Were the Conditions Right:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/stop"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/stop"
app:layout_constraintTop_toBottomOf="@+id/stop" />
<TextView
android:id="@+id/cond"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/cond_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cond_const"
app:layout_constraintTop_toBottomOf="@+id/cond_const" />
<ImageView
android:id="@+id/safe_img"
android:layout_width="64dp"
android:layout_height="60dp"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
app:layout_constraintEnd_toEndOf="@+id/cond"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cond"
app:layout_constraintTop_toBottomOf="@+id/cond"
app:srcCompat="@mipmap/check" />
<TextView
android:id="@+id/safe_txt"
android:layout_width="193dp"
android:layout_height="79dp"
android:layout_marginStart="4dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="@+id/safe_img"
app:layout_constraintStart_toEndOf="@+id/safe_img"
app:layout_constraintTop_toTopOf="@+id/safe_img"
app:layout_constraintVertical_bias="0.0" />
</android.support.constraint.ConstraintLayout>

+ 0
- 190
FoodCloud/app/src/main/res/layout/activity_pop_trans2.xml View File

@ -1,190 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PopTrans2"
android:background="@drawable/process_bg">
<TextView
android:id="@+id/duration_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="504dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="40dp"
android:layout_marginTop="86dp"
android:text="Duration:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="44dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/duration_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/duration_const"
app:layout_constraintTop_toBottomOf="@+id/duration_const" />
<TextView
android:id="@+id/from_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="Moved From:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/duration"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/duration"
app:layout_constraintTop_toBottomOf="@+id/duration" />
<TextView
android:id="@+id/from"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/from_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/from_const"
app:layout_constraintTop_toBottomOf="@+id/from_const" />
<TextView
android:id="@+id/to_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="Moved To:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/from"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/from"
app:layout_constraintTop_toBottomOf="@+id/from" />
<TextView
android:id="@+id/to"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/to_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/to_const"
app:layout_constraintTop_toBottomOf="@+id/to_const" />
<TextView
android:id="@+id/stop_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="12dp"
android:text="Did the Vehicle Stop:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/to"
app:layout_constraintHorizontal_bias="0.062"
app:layout_constraintStart_toStartOf="@+id/to"
app:layout_constraintTop_toBottomOf="@+id/to" />
<TextView
android:id="@+id/stop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/stop_const"
app:layout_constraintHorizontal_bias="0.175"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/stop_const" />
<TextView
android:id="@+id/cond_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Were the Conditions Right:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintEnd_toEndOf="@+id/stop"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/stop"
app:layout_constraintTop_toBottomOf="@+id/stop" />
<TextView
android:id="@+id/cond"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="@+id/cond_const"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cond_const"
app:layout_constraintTop_toBottomOf="@+id/cond_const" />
<ImageView
android:id="@+id/safe_img"
android:layout_width="64dp"
android:layout_height="60dp"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
app:layout_constraintEnd_toEndOf="@+id/cond"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/cond"
app:layout_constraintTop_toBottomOf="@+id/cond"
app:srcCompat="@mipmap/check" />
<TextView
android:id="@+id/safe_txt"
android:layout_width="193dp"
android:layout_height="79dp"
android:layout_marginStart="4dp"
android:text="TextView"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="@+id/safe_img"
app:layout_constraintStart_toEndOf="@+id/safe_img"
app:layout_constraintTop_toTopOf="@+id/safe_img"
app:layout_constraintVertical_bias="0.0" />
</android.support.constraint.ConstraintLayout>

+ 0
- 113
FoodCloud/app/src/main/res/layout/activity_process_pop.xml View File

@ -1,113 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/process_bg"
tools:context=".ProcessPop">
<TextView
android:id="@+id/const_processes"
android:layout_width="150dp"
android:layout_height="28dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="48dp"
android:layout_marginTop="8dp"
android:text="Processes:"
android:textColor="@color/common_google_signin_btn_text_dark_focused"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toTopOf="@+id/proc_lst"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.004"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.814" />
<ListView
android:id="@+id/proc_lst"
android:layout_width="257dp"
android:layout_height="151dp"
android:layout_marginBottom="8dp"
android:layout_marginTop="48dp"
android:footerDividersEnabled="true"
android:headerDividersEnabled="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.564"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.058" />
<TextView
android:id="@+id/processed_in_const"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="288dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="48dp"
android:text="Processed In:"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold|italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/proc_lst"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/processed_in"
android:layout_width="wrap_content"
android:layout_height="21dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginTop="6dp"
android:text="Place"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/processed_in_const"
app:layout_constraintHorizontal_bias="0.133"
app:layout_constraintStart_toStartOf="@+id/processed_in_const"
app:layout_constraintTop_toBottomOf="@+id/processed_in_const"
app:layout_constraintVertical_bias="0.0" />
<ImageView
android:id="@+id/proc_ok_img"
android:layout_width="86dp"
android:layout_height="71dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="44dp"
android:src="@mipmap/check"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.14"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/processed_in_const"
app:layout_constraintVertical_bias="0.013" />
<TextView
android:id="@+id/proc_ok"
android:layout_width="170dp"
android:layout_height="115dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="4dp"
android:textColor="#000000"
android:textSize="16sp"
android:textStyle="italic"
app:layout_constraintBottom_toBottomOf="@+id/proc_ok_img"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/proc_ok_img"
app:layout_constraintTop_toTopOf="@+id/proc_ok_img"
app:layout_constraintVertical_bias="0.0" />
</android.support.constraint.ConstraintLayout>

+ 0
- 294
FoodCloud/app/src/main/res/layout/activity_product_info.xml View File

@ -1,294 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ProductInfo"
>
<TextView
android:id="@+id/BBD"
android:layout_width="260dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/Process"
app:layout_constraintEnd_toEndOf="@+id/Process" />
<TextView
android:id="@+id/process_const"
android:layout_width="75dp"
android:layout_height="31dp"
android:layout_marginBottom="60dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Process:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/button"
app:layout_constraintStart_toStartOf="@+id/bbd_const" />
<TextView
android:id="@+id/bbd_const"
android:layout_width="40dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="BBD:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/process_const"
app:layout_constraintEnd_toStartOf="@+id/BBD"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/exp_const" />
<TextView
android:id="@+id/name_const"
android:layout_width="125dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Product Name:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/allergens_const"
app:layout_constraintEnd_toStartOf="@+id/name"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/allergens_const" />
<TextView
android:id="@+id/nutrients_const"
android:layout_width="80dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Nutrients:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/exp_const"
app:layout_constraintEnd_toStartOf="@+id/nutrients"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/cooked_const" />
<TextView
android:id="@+id/cooked_const"
android:layout_width="70dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Cooked:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/nutrients_const"
app:layout_constraintEnd_toStartOf="@+id/cooked"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/calories_const" />
<TextView
android:id="@+id/calories_const"
android:layout_width="75dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Calories:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/cooked_const"
app:layout_constraintEnd_toStartOf="@+id/Calories" />
<TextView
android:id="@+id/allergens_const"
android:layout_width="85dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Allergens:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/calories_const"
app:layout_constraintEnd_toStartOf="@+id/allergens"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/calories_const" />
<Button
android:id="@+id/journey"
android:layout_width="179dp"
android:layout_height="90dp"
android:layout_marginBottom="55dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="16dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/more"
android:textColor="#000000"
android:textSize="23sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button" />
<Button
android:id="@+id/button"
android:layout_width="179dp"
android:layout_height="90dp"
android:layout_marginBottom="55dp"
android:layout_marginStart="8dp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
android:text="@string/back"
android:textColor="#000000"
android:textSize="23sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<TextView
android:id="@+id/name"
android:layout_width="175dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="#000000"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/allergens"
app:layout_constraintEnd_toEndOf="@+id/allergens" />
<TextView
android:id="@+id/allergens"
android:layout_width="215dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/Calories"
app:layout_constraintEnd_toEndOf="@+id/Calories" />
<TextView
android:id="@+id/Calories"
android:layout_width="225dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/cooked"
app:layout_constraintEnd_toEndOf="@+id/cooked" />
<TextView
android:id="@+id/cooked"
android:layout_width="230dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/nutrients"
app:layout_constraintEnd_toEndOf="@+id/nutrients" />
<TextView
android:id="@+id/nutrients"
android:layout_width="220dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/exp_date"
app:layout_constraintEnd_toEndOf="@+id/exp_date" />
<TextView
android:id="@+id/exp_date"
android:layout_width="200dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/BBD"
app:layout_constraintEnd_toEndOf="@+id/BBD" />
<TextView
android:id="@+id/Process"
android:layout_width="225dp"
android:layout_height="31dp"
android:layout_marginBottom="60dp"
android:layout_marginEnd="35dp"
android:lineSpacingExtra="10sp"
android:text=""
android:textColor="@android:color/black"
android:textSize="18sp"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/journey"
app:layout_constraintEnd_toEndOf="@+id/journey" />
<TextView
android:id="@+id/exp_const"
android:layout_width="100dp"
android:layout_height="31dp"
android:layout_marginBottom="21dp"
android:layout_marginStart="8dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Expiry Date:"
android:textColor="#000000"
android:textSize="18sp"
android:textStyle="bold|italic"
android:typeface="sans"
app:layout_constraintBottom_toTopOf="@+id/bbd_const"
app:layout_constraintEnd_toStartOf="@+id/exp_date"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="@+id/nutrients_const" />
</android.support.constraint.ConstraintLayout>

+ 0
- 5
FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

+ 0
- 5
FoodCloud/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

BIN
FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher.png View File

Before After
Width: 72  |  Height: 72  |  Size: 3.0 KiB

BIN
FoodCloud/app/src/main/res/mipmap-hdpi/ic_launcher_round.png View File

Before After
Width: 72  |  Height: 72  |  Size: 4.9 KiB

BIN
FoodCloud/app/src/main/res/mipmap-hdpi/icon.png View File

Before After
Width: 2474  |  Height: 2424  |  Size: 567 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/arrow_left.png View File

Before After
Width: 402  |  Height: 595  |  Size: 54 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/arrow_right.png View File

Before After
Width: 600  |  Height: 430  |  Size: 43 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/check.png View File

Before After
Width: 600  |  Height: 556  |  Size: 23 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/factory.png View File

Before After
Width: 2305  |  Height: 2400  |  Size: 123 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/farm.png View File

Before After
Width: 2000  |  Height: 1329  |  Size: 225 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher.png View File

Before After
Width: 48  |  Height: 48  |  Size: 2.0 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/ic_launcher_round.png View File

Before After
Width: 48  |  Height: 48  |  Size: 2.8 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/icon.png View File

Before After
Width: 2474  |  Height: 2424  |  Size: 567 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/market.png View File

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/packaging.png View File

Before After
Width: 900  |  Height: 900  |  Size: 51 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/truck.png View File

Before After
Width: 1800  |  Height: 1800  |  Size: 85 KiB

BIN
FoodCloud/app/src/main/res/mipmap-mdpi/warning.png View File

Before After
Width: 600  |  Height: 500  |  Size: 22 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File

Before After
Width: 96  |  Height: 96  |  Size: 4.5 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png View File

Before After
Width: 96  |  Height: 96  |  Size: 6.9 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xhdpi/icon.png View File

Before After
Width: 2474  |  Height: 2424  |  Size: 567 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File

Before After
Width: 144  |  Height: 144  |  Size: 6.3 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png View File

Before After
Width: 144  |  Height: 144  |  Size: 10 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxhdpi/icon.png View File

Before After
Width: 2474  |  Height: 2424  |  Size: 567 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png View File

Before After
Width: 192  |  Height: 192  |  Size: 9.0 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png View File

Before After
Width: 192  |  Height: 192  |  Size: 15 KiB

BIN
FoodCloud/app/src/main/res/mipmap-xxxhdpi/icon.png View File

Before After
Width: 2474  |  Height: 2424  |  Size: 567 KiB

+ 0
- 3
FoodCloud/app/src/main/res/values-round/strings.xml View File

@ -1,3 +0,0 @@
<resources>
<string name="hello_world">Hello Round World!</string>
</resources>

+ 0
- 6
FoodCloud/app/src/main/res/values/colors.xml View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#0e9e47</color>
<color name="colorPrimaryDark">#0e9e47</color>
<color name="colorAccent">#0e9e47</color>
</resources>

+ 0
- 15
FoodCloud/app/src/main/res/values/dimens.xml View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Because the window insets on round devices are larger than 15dp, this padding only applies
to square screens.
-->
<dimen name="box_inset_layout_padding">0dp</dimen>
<!--
This padding applies to both square and round screens. The total padding between the buttons
and the window insets is box_inset_layout_padding (above variable) on square screens and
inner_frame_layout_padding (below variable) on round screens.
-->
<dimen name="inner_frame_layout_padding">5dp</dimen>
</resources>

+ 0
- 13
FoodCloud/app/src/main/res/values/strings.xml View File

@ -1,13 +0,0 @@
<resources>
<string name="app_name">FoodCloud</string>s
<string name="scan">Scan</string>
<string name="info">Get Info</string>
<string name="more">Learn More </string>
<string name="back">Back To Main Menu</string>
<string name="title_activity_info_page">InfoPage</string>
<!--
This string is used for square devices and overridden by hello_world in
values-round/strings.xml for round devices.
-->
<string name="hello_world">Hello Square World!</string>
</resources>

+ 0
- 15
FoodCloud/app/src/main/res/values/styles.xml View File

@ -1,15 +0,0 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="AppTheme.Popup">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowCloseOnTouchOutside">true</item>
</style>
</resources>

+ 0
- 17
FoodCloud/app/src/test/java/gq/yigit/foodcloud/ExampleUnitTest.java View File

@ -1,17 +0,0 @@
package gq.yigit.foodcloud;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save