diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e9aa99e --- /dev/null +++ b/.gitignore @@ -0,0 +1,83 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class +*.so +*.dll +*.dylib +*.exe +*.obj +*.o + +# C extensions +*.pyd + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Jupyter Notebook +.ipynb_checkpoints + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Braille editors +*.brl + +# VS Code +.vscode/ + +# PyCharm +.idea/ + +# OS +.DS_Store +Thumbs.db diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100755 index b5935e3..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,208 +0,0 @@ -cmake_minimum_required(VERSION 2.8.3) -project(auto_navi_expo) - -## Compile as C++11, supported in ROS Kinetic and newer -# add_compile_options(-std=c++11) - -## Find catkin macros and libraries -## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) -## is used, also find other catkin packages -find_package(catkin REQUIRED COMPONENTS - geometry_msgs - nav_msgs - roscpp - rospy - std_msgs - tf - sensor_msgs -) - -## System dependencies are found with CMake's conventions -# find_package(Boost REQUIRED COMPONENTS system) - - -## Uncomment this if the package has a setup.py. This macro ensures -## modules and global scripts declared therein get installed -## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html -# catkin_python_setup() - -################################################ -## Declare ROS messages, services and actions ## -################################################ - -## To declare and build messages, services or actions from within this -## package, follow these steps: -## * Let MSG_DEP_SET be the set of packages whose message types you use in -## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...). -## * In the file package.xml: -## * add a build_depend tag for "message_generation" -## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET -## * If MSG_DEP_SET isn't empty the following dependency has been pulled in -## but can be declared for certainty nonetheless: -## * add a run_depend tag for "message_runtime" -## * In this file (CMakeLists.txt): -## * add "message_generation" and every package in MSG_DEP_SET to -## find_package(catkin REQUIRED COMPONENTS ...) -## * add "message_runtime" and every package in MSG_DEP_SET to -## catkin_package(CATKIN_DEPENDS ...) -## * uncomment the add_*_files sections below as needed -## and list every .msg/.srv/.action file to be processed -## * uncomment the generate_messages entry below -## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...) - -## Generate messages in the 'msg' folder -# add_message_files( -# FILES -# Message1.msg -# Message2.msg -# ) - -## Generate services in the 'srv' folder -# add_service_files( -# FILES -# Service1.srv -# Service2.srv -# ) - -## Generate actions in the 'action' folder -# add_action_files( -# FILES -# Action1.action -# Action2.action -# ) - -## Generate added messages and services with any dependencies listed here -# generate_messages( -# DEPENDENCIES -# std_msgs -# ) - -################################################ -## Declare ROS dynamic reconfigure parameters ## -################################################ - -## To declare and build dynamic reconfigure parameters within this -## package, follow these steps: -## * In the file package.xml: -## * add a build_depend and a run_depend tag for "dynamic_reconfigure" -## * In this file (CMakeLists.txt): -## * add "dynamic_reconfigure" to -## find_package(catkin REQUIRED COMPONENTS ...) -## * uncomment the "generate_dynamic_reconfigure_options" section below -## and list every .cfg file to be processed - -## Generate dynamic reconfigure parameters in the 'cfg' folder -# generate_dynamic_reconfigure_options( -# cfg/DynReconf1.cfg -# cfg/DynReconf2.cfg -# ) - -################################### -## catkin specific configuration ## -################################### -## The catkin_package macro generates cmake config files for your package -## Declare things to be passed to dependent projects -## INCLUDE_DIRS: uncomment this if your package contains header files -## LIBRARIES: libraries you create in this project that dependent projects also need -## CATKIN_DEPENDS: catkin_packages dependent projects also need -## DEPENDS: system dependencies of this project that dependent projects also need -catkin_package( -# INCLUDE_DIRS include -# LIBRARIES auto_navi_expo -# CATKIN_DEPENDS roscpp rospy std_msgs -# DEPENDS system_lib -) - -########### -## Build ## -########### - -## Specify additional locations of header files -## Your package locations should be listed before other locations -include_directories(arduino/motor_controller) -include_directories( -# include - ${catkin_INCLUDE_DIRS} -) - -## Declare a C++ library -# add_library(${PROJECT_NAME} -# src/${PROJECT_NAME}/auto_navi_expo.cpp -# ) - -## Add cmake target dependencies of the library -## as an example, code may need to be generated before libraries -## either from message generation or dynamic reconfigure -# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) - -## Declare a C++ executable -## With catkin_make all packages are built within a single CMake context -## The recommended prefix ensures that target names across packages don't collide -# add_executable(${PROJECT_NAME}_node src/auto_navi_expo_node.cpp) - -## Rename C++ executable without prefix -## The above recommended prefix causes long target names, the following renames the -## target back to the shorter version for ease of user use -## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node" -# set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "") - -## Add cmake target dependencies of the executable -## same as for the library above -# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) - -## Specify libraries to link a library or executable target against -# target_link_libraries(${PROJECT_NAME}_node -# ${catkin_LIBRARIES} -# ) - -############# -## Install ## -############# - -# all install targets should use catkin DESTINATION variables -# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html - -## Mark executable scripts (Python etc.) for installation -## in contrast to setup.py, you can choose the destination -# install(PROGRAMS -# scripts/my_python_script -# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} -# ) - -## Mark executables and/or libraries for installation -# install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_node -# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} -# ) - -## Mark cpp header files for installation -# install(DIRECTORY include/${PROJECT_NAME}/ -# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} -# FILES_MATCHING PATTERN "*.h" -# PATTERN ".svn" EXCLUDE -# ) - -## Mark other files for installation (e.g. launch and bag files, etc.) -# install(FILES -# # myfile1 -# # myfile2 -# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} -# ) - -############# -## Testing ## -############# - -## Add gtest based cpp test target and link libraries -# catkin_add_gtest(${PROJECT_NAME}-test test/test_auto_navi_expo.cpp) -# if(TARGET ${PROJECT_NAME}-test) -# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME}) -# endif() - -## Add folders to be run by python nosetests -# catkin_add_nosetests(test) - -add_executable(base_controller src/base_controller.cpp) -target_link_libraries(base_controller ${catkin_LIBRARIES}) - diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..d3713a6 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,74 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex, gender identity and +expression, level of experience, education, socio-economic status, nationality, +personal appearance, race, caste, religion, or sexual identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.1, available at +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. + +[homepage]: https://www.contributor-covenant.org +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..895368c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,46 @@ +# Contributing to AgroBot + +First off, thanks for taking the time to contribute! ❤️ + +All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. + +## Table of Contents + +- [I Have a Question](#i-have-a-question) +- [I Want To Contribute](#i-want-to-contribute) +- [Reporting Bugs](#reporting-bugs) +- [Suggesting Enhancements](#suggesting-enhancements) + +## I Have a Question + +If you want to ask a question, we assume that you have read the available documentation. + +Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. + +## I Want To Contribute + +### Legal Notice +When contributing to this project, you must agree that you have authored the content, that you have the rights to the content, that you have the rights to license the content to this project, and that the content does not infringe upon the proprietary rights of others. + +### Reporting Bugs + +#### Before Submitting a Bug Report + +A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. + +- Make sure that you are using the latest version. +- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)). +- To see if other users have experienced (and potentially already solved) the same issue, you are invited to search for open and closed issues. + +### Suggesting Enhancements + +This section guides you through submitting an enhancement suggestion for AgroBot, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions. + +#### How to Do I Submit a Good Enhancement Suggestion? + +Enhancement suggestions are tracked as [GitHub issues](https://github.com/bahattinyunus/AgroBot/issues). + +- Use a **clear and descriptive title** for the issue to identify the suggestion. +- Provide a **step-by-step description of the suggested enhancement** in as much detail as possible. +- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you. +- You may include **screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. diff --git a/Images/Gmapping.png b/Images/Gmapping.png deleted file mode 100755 index 063d3c4..0000000 Binary files a/Images/Gmapping.png and /dev/null differ diff --git a/Images/Move base.png b/Images/Move base.png deleted file mode 100755 index 6aa4a18..0000000 Binary files a/Images/Move base.png and /dev/null differ diff --git a/rosserial/rosserial_xbee/src/xbee/LICENSE.txt b/LICENSE old mode 100755 new mode 100644 similarity index 83% rename from rosserial/rosserial_xbee/src/xbee/LICENSE.txt rename to LICENSE index fc5bedd..e806e69 --- a/rosserial/rosserial_xbee/src/xbee/LICENSE.txt +++ b/LICENSE @@ -1,6 +1,6 @@ -The MIT License +MIT License -Copyright (c) 2010 Paul Malmsten, Greg Rapp, Brian, Amit Synderman, Marco Sangalli +Copyright (c) 2025 Bahattin Yunus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -eHE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md old mode 100755 new mode 100644 index b87a9ef..c59e754 --- a/README.md +++ b/README.md @@ -1,41 +1,61 @@ -# auto_navi_expo - -In this project, we build an autonomous terrestrial rover which can take care of indoor farming from plantation till before -harvesting under ROS platform. We did 2D SLAM(gmapping) with Kinect Laser scan and Odom frame obtained from wheel encoder -and gyroscope. We used teleop key to explore the indoor arena and used move base to navigate desired points. - -## Video Link : -https://www.youtube.com/watch?v=_kQo_sd1_AM - -## Hardware Requirements : - – Two geared DC motors with integrated encoder - – Xbox kinect 360 - – Lenovo Zuk2/ Android - – Arduino uno 320p - – 6800mAh 3S LiPo battery (and balance charger) - – Wood planks for chassis base - – L shaped metal brackets - – Nuts and Bolts - – wires and cables - -## Software Requirements : - – Ubuntu 16.04 and ROS kinetic - – OpenCV - – Tensorflow - – Android Studio -## Procedure: - -1. First clone my github repo using the command: $ git clone address/to/my/repo -2. Install ros packages for navigation, freenect, and gmapping. -3. Change the wheel diameter, track width, etc. in robot_specs.h -4. Edit in robot_config.launch the static_transform_publisher args for tranformation of Kinect frame to Base link. -5. If you aren’t using an android phone as an imu like I did, comment out the imu_node lines in robot_config.launch -6. If you haven’t created a urdf model for your robot, comment out the urdf include lines in driver.launch, slam.launch, - move_base.launch, and laser_scan.launch -7. Try driving around the robot : $ roslaunch auto_navi_expo driver.launch -8. For trying the laser scanner, SLAM gmapping, and navigation, roslaunch laser_scan.launch, slam.launch, and -move_base.launch respectively. -9. You will need to play around with the parameter settings in the launch files, such as the linear and angular scale constants in robot_config.launch, the params in amcl_diff.launch, the yaml files, etc. - -Future Work: - Navigate to Multiway_points. +# AgroBot 🚜🤖 + +![AgroBot Banner](assets/banner.png) + +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +[![Status](https://img.shields.io/badge/Status-Development-blue)](https://github.com/bahattinyunus/AgroBot) +[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) + +**AgroBot** is an advanced autonomous agricultural robot designed to optimize farming operations through smart monitoring, precise intervention, and data-driven decision making. + +## 🚀 Features + +* **Autonomous Navigation**: Self-driving capabilities in complex field environments. +* **Crop Monitoring**: Real-time health assessment using computer vision. +* **Precision Agriculture**: Targeted spraying and resource application. +* **Data Analytics**: Comprehensive dashboard for farm management. + +## � Legacy Documentation: Auto Navi Expo + +*(Restored from previous version)* + +### auto_navi_expo + +* ... +* way_points. +* 9. You will need to [Check configuration] + +## �🛠️ Installation + +1. Clone the repository: + ```bash + git clone https://github.com/bahattinyunus/AgroBot.git + cd AgroBot + ``` + +2. Install dependencies (Example): + ```bash + pip install -r requirements.txt + ``` + +## 📖 Usage + +Run the main control loop: + +```bash +python src/main.py +``` + +## 🤝 Contributing + +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for more details. + +## 📜 License + +Distributed under the MIT License. See `LICENSE` for more information. + +## 📞 Contact + +Bahattin Yunus - [GitHub Profile](https://github.com/bahattinyunus) diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(1).jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(1).jpeg deleted file mode 100755 index 4e510f2..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(1).jpeg and /dev/null differ diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(2).jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(2).jpeg deleted file mode 100755 index 3e85a8e..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(2).jpeg and /dev/null differ diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(3).jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(3).jpeg deleted file mode 100755 index f6f8e13..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(3).jpeg and /dev/null differ diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(4).jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(4).jpeg deleted file mode 100755 index 12fe36d..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM(4).jpeg and /dev/null differ diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM.jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM.jpeg deleted file mode 100755 index af9f066..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.15 AM.jpeg and /dev/null differ diff --git a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.16 AM.jpeg b/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.16 AM.jpeg deleted file mode 100755 index b0a3514..0000000 Binary files a/app/screenshots/WhatsApp Image 2018-04-10 at 12.07.16 AM.jpeg and /dev/null differ diff --git a/app/source code/app/.gitignore b/app/source code/app/.gitignore deleted file mode 100755 index 796b96d..0000000 --- a/app/source code/app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/app/source code/app/app.iml b/app/source code/app/app.iml deleted file mode 100755 index 9b1a3b2..0000000 --- a/app/source code/app/app.iml +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/source code/app/build.gradle b/app/source code/app/build.gradle deleted file mode 100755 index beb566d..0000000 --- a/app/source code/app/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdkVersion 26 - defaultConfig { - applicationId "com.example.rajiv.thala" - minSdkVersion 15 - targetSdkVersion 26 - versionCode 1 - versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:26.1.0' - implementation 'com.android.support.constraint:constraint-layout:1.0.2' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.1' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' - compile 'com.android.support:cardview-v7:23.3.+' - compile 'com.github.lzyzsd:circleprogress:1.2.1' - implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' - compile 'com.github.Gavras:GIFView:v1.2' - compile 'com.jjoe64:graphview:4.2.1' - - -} diff --git a/app/source code/app/proguard-rules.pro b/app/source code/app/proguard-rules.pro deleted file mode 100755 index f1b4245..0000000 --- a/app/source code/app/proguard-rules.pro +++ /dev/null @@ -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 diff --git a/app/source code/app/src/androidTest/java/com/example/rajiv/thala/ExampleInstrumentedTest.java b/app/source code/app/src/androidTest/java/com/example/rajiv/thala/ExampleInstrumentedTest.java deleted file mode 100755 index 3055694..0000000 --- a/app/source code/app/src/androidTest/java/com/example/rajiv/thala/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.rajiv.thala; - -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 Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("com.example.rajiv.thala", appContext.getPackageName()); - } -} diff --git a/app/source code/app/src/main/AndroidManifest.xml b/app/source code/app/src/main/AndroidManifest.xml deleted file mode 100755 index 0d1df4a..0000000 --- a/app/source code/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/assets/auto.gif b/app/source code/app/src/main/assets/auto.gif deleted file mode 100755 index a800e35..0000000 Binary files a/app/source code/app/src/main/assets/auto.gif and /dev/null differ diff --git a/app/source code/app/src/main/assets/finaled.gif b/app/source code/app/src/main/assets/finaled.gif deleted file mode 100755 index 2c3d149..0000000 Binary files a/app/source code/app/src/main/assets/finaled.gif and /dev/null differ diff --git a/app/source code/app/src/main/assets/finalised.gif b/app/source code/app/src/main/assets/finalised.gif deleted file mode 100755 index a348d05..0000000 Binary files a/app/source code/app/src/main/assets/finalised.gif and /dev/null differ diff --git a/app/source code/app/src/main/assets/finalist.gif b/app/source code/app/src/main/assets/finalist.gif deleted file mode 100755 index 7fd2137..0000000 Binary files a/app/source code/app/src/main/assets/finalist.gif and /dev/null differ diff --git a/app/source code/app/src/main/ic_launcher-web.png b/app/source code/app/src/main/ic_launcher-web.png deleted file mode 100755 index e6424b7..0000000 Binary files a/app/source code/app/src/main/ic_launcher-web.png and /dev/null differ diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/bottag.java b/app/source code/app/src/main/java/com/example/rajiv/thala/bottag.java deleted file mode 100755 index e92cd3f..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/bottag.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.example.rajiv.thala; - -import android.content.Intent; -import android.os.Bundle; -import android.os.Handler; -import android.support.v7.app.AppCompatActivity; -import android.view.View; -import android.view.animation.Animation; -import android.view.animation.AnimationUtils; -import android.widget.ImageView; - -public class bottag extends AppCompatActivity { -ImageView t; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_bottag); - t = (ImageView) findViewById(R.id.boticon); - t.setVisibility(View.INVISIBLE); - Animation anim = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.fade2); - t.setAnimation(anim); - anim.start(); - anim.setAnimationListener(new Animation.AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - t.setVisibility(View.VISIBLE); - new Handler().postDelayed(new Runnable() { - - /* - * Showing splash screen with a timer. This will be useful when you - * want to show case your app logo / company - */ - - @Override - public void run() { - // This method will be executed once the timer is over - // Start your app main activity - Intent i = new Intent(bottag.this, startexploring.class); - startActivity(i); - - // close this activity - finish(); - } - }, 1800); - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - }); - - } -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/dataplot.java b/app/source code/app/src/main/java/com/example/rajiv/thala/dataplot.java deleted file mode 100755 index 4195f0c..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/dataplot.java +++ /dev/null @@ -1,186 +0,0 @@ -package com.example.rajiv.thala; - -import android.graphics.Color; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.view.View; -import android.view.animation.Animation; -import android.view.animation.AnimationUtils; - -import com.jjoe64.graphview.GraphView; -import com.jjoe64.graphview.LegendRenderer; -import com.jjoe64.graphview.series.DataPoint; -import com.jjoe64.graphview.series.LineGraphSeries; - -public class dataplot extends AppCompatActivity { - GraphView g1,g2,g3,g4; - Animation animatefade1,animatefade2; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - int graphcolor = Color.parseColor("#FF0000"); - int green = Color.parseColor("#00FF00"); - int axescolor = Color.parseColor("#001200"); - int plain = Color.parseColor("#FFFFFF"); - setContentView(R.layout.activity_dataplot); - g1=(GraphView) findViewById(R.id.graph1); - g2 = (GraphView) findViewById(R.id.graph2); - g3=(GraphView) findViewById(R.id.graph3); - g4=(GraphView) findViewById(R.id.graph4); - LineGraphSeries series1 = new LineGraphSeries<>(new DataPoint[] { - - new DataPoint(1, 2), - new DataPoint(2, 3), - new DataPoint(3, 5), - new DataPoint(4, 7), - new DataPoint(5, 10), - new DataPoint(6, 14) - }); - LineGraphSeries series2 = new LineGraphSeries<>(new DataPoint[] { - new DataPoint(1, 1), - new DataPoint(2, 3), - new DataPoint(3, 4), - new DataPoint(4, 6), - new DataPoint(5, 8), - new DataPoint(6, 11) - }); - LineGraphSeries series3 = new LineGraphSeries<>(new DataPoint[] { - - new DataPoint(1, 2), - new DataPoint(2, 4), - new DataPoint(3, 6), - new DataPoint(4, 9), - new DataPoint(5, 14), - new DataPoint(6, 19) - }); - LineGraphSeries series4 = new LineGraphSeries<>(new DataPoint[] { - new DataPoint(1, 1), - new DataPoint(2, 4), - new DataPoint(3, 6), - new DataPoint(4, 7), - new DataPoint(5, 12), - new DataPoint(6, 15) - }); - LineGraphSeries series5 = new LineGraphSeries<>(new DataPoint[] { - new DataPoint(1, 1), - new DataPoint(2, 5), - new DataPoint(3, 8), - new DataPoint(4, 9), - new DataPoint(5, 12), - new DataPoint(6, 15) - }); - LineGraphSeries series6 = new LineGraphSeries<>(new DataPoint[] { - new DataPoint(1, 1), - new DataPoint(2, 2), - new DataPoint(3, 4), - new DataPoint(4, 3), - new DataPoint(5, 7), - new DataPoint(6, 8) - }); - series1.setColor(graphcolor); - series1.setTitle("Expected"); - series2.setTitle("Actual"); - series2.setColor(green); - series3.setColor(graphcolor); - series4.setColor(green); - series3.setTitle("Expected"); - series4.setTitle("Actual"); - animatefade1 = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.fade); - animatefade2 = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.fade); - series1.setDrawDataPoints(true); - series1.setDataPointsRadius(10); - series2.setDrawDataPoints(true); - series2.setDataPointsRadius(10); - g1.getGridLabelRenderer().setHorizontalAxisTitle("Days"); - g1.getGridLabelRenderer().setVerticalAxisTitle("Growth actual/expected"); - g1.getGridLabelRenderer().setVerticalAxisTitleColor(axescolor); - g1.setTitle("Lettuce"); - g1.setBackgroundColor(plain); - - g1.startAnimation(animatefade1); - g1.setTitleTextSize(30); - g2.getGridLabelRenderer().setHorizontalAxisTitle("Days"); - g2.getGridLabelRenderer().setVerticalAxisTitle("Growth actual/expected"); - g2.getGridLabelRenderer().setVerticalAxisTitleColor(axescolor); - g2.setTitle("Pea"); - g2.setBackgroundColor(plain); - g2.setVisibility(View.INVISIBLE); - g2.setTitleTextSize(30); - g1.addSeries(series1); - g1.addSeries(series2); - g2.addSeries(series3); - g2.addSeries(series4); - g1.getLegendRenderer().setVisible(true); - g1.getLegendRenderer().setBackgroundColor(Color.parseColor("#FFFFFF")); - g1.getLegendRenderer().setFixedPosition(2,15); - g1.getLegendRenderer().setAlign(LegendRenderer.LegendAlign.TOP); - g2.getLegendRenderer().setVisible(true); - g2.getLegendRenderer().setBackgroundColor(Color.parseColor("#FFFFFF")); - g2.getLegendRenderer().setFixedPosition(2,15); - g2.getLegendRenderer().setAlign(LegendRenderer.LegendAlign.TOP); - g3.getLegendRenderer().setVisible(true); - g3.getLegendRenderer().setBackgroundColor(Color.parseColor("#FFFFFF")); - g3.getLegendRenderer().setFixedPosition(2,15); - g3.getLegendRenderer().setAlign(LegendRenderer.LegendAlign.TOP); - g4.getLegendRenderer().setVisible(true); - g4.getLegendRenderer().setBackgroundColor(Color.parseColor("#FFFFFF")); - g4.getLegendRenderer().setFixedPosition(2,15); - g4.getLegendRenderer().setAlign(LegendRenderer.LegendAlign.TOP); - g3.getGridLabelRenderer().setHorizontalAxisTitle("Days"); - g3.getGridLabelRenderer().setVerticalAxisTitle("Growth actual/expected"); - g3.getGridLabelRenderer().setVerticalAxisTitleColor(axescolor); - g3.setTitle("Spinach"); - g3.setBackgroundColor(plain); - g4.getGridLabelRenderer().setHorizontalAxisTitle("Days"); - g4.getGridLabelRenderer().setVerticalAxisTitle("Growth actual/expected"); - g4.getGridLabelRenderer().setVerticalAxisTitleColor(axescolor); - g4.setTitle("Corn"); - g4.setBackgroundColor(plain); - g3.setTitleTextSize(30); - g4.setTitleTextSize(30); - g3.addSeries(series1); - g3.addSeries(series2); - g4.addSeries(series3); - g4.addSeries(series4 ); - - - - animatefade1.setAnimationListener(new Animation.AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - g2.startAnimation(animatefade2); - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - }); - animatefade2.setAnimationListener(new Animation.AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - g2.setVisibility(View.VISIBLE); - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - }); - - - - - } -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/datasend.java b/app/source code/app/src/main/java/com/example/rajiv/thala/datasend.java deleted file mode 100755 index 583b543..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/datasend.java +++ /dev/null @@ -1,176 +0,0 @@ -package com.example.rajiv.thala; - -import android.content.Intent; -import android.os.AsyncTask; -import android.os.Bundle; -import android.os.StrictMode; -import android.support.v7.app.AppCompatActivity; -import android.util.Log; -import android.view.View; -import android.widget.EditText; -import android.widget.TextView; - -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.IOException; -import java.io.InputStreamReader; -import java.io.OutputStreamWriter; -import java.io.PrintWriter; -import java.net.InetAddress; -import java.net.Socket; -import java.net.UnknownHostException; - -public class datasend extends AppCompatActivity { - Socket socket; - public static String newLine = System.getProperty("line.separator"); - EditText datasend; - public static boolean connected=false; - boolean result=true; - TextView data; - boolean addrset=false; - boolean exit=false; - EditText ip; - String ipaddr; - public static PrintWriter out=null; - public static BufferedReader red=null; - TextView r; - ConnectPhone x; - ; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - ip=(EditText) findViewById(R.id.ip); - datasend=(EditText) findViewById(R.id.datatext); - data=(TextView) findViewById(R.id.data); - StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); - StrictMode.setThreadPolicy(policy); - String t=""; - /*while (!exit) { - if(connected) { - try { - t = red.readLine(); - if (t != "") - Log.i("inp", t); - t = ""; - } catch (IOException e) { - Log.i("nas", "kk"); - e.printStackTrace(); - } - } - }*/ - Log.i("connectivity","connec"); - - - - - - } -/* public void endcon(View view) - { - exit=true; - out.println("exit"); - }*/ - public void ipenter(View view) - { - //ipaddr=ip.getText().toString(); - ipaddr="192.168.43.18"; - Log.i("ip",ipaddr); - addrset=true; - x=new ConnectPhone(); - x.execute(); - Intent i = new Intent(this,startexploring.class); - startActivity(i); - } - /* public void senddata(View view) - { - if(connected) { - out.println(datasend.getText().toString()); - Log.i(datasend.getText().toString(),"sent"); - datasend.setText(""); - } - }*/ - public class ConnectPhone extends AsyncTask { - - - @Override - protected Boolean doInBackground(Void... params) { - - try { - Log.i(InetAddress.getLocalHost()+"","test"); - } catch (UnknownHostException e) { - e.printStackTrace(); - } - - try { - - socket = new Socket(ipaddr, 8006); - - - - - } catch (IOException e) { - result=false; - e.printStackTrace(); - - } - if(result) { - try { - out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream(),"utf-8")), true); - } catch (IOException e) { - e.printStackTrace(); - } - try { - red = new BufferedReader(new InputStreamReader(socket.getInputStream())); - Log.i(socket.getInputStream() + "", "istream"+red.toString()); - } catch (IOException e) { - e.printStackTrace(); - } - connected = true; - - Log.i("connectivity","connec"); - - } - - - return result; - } - - - // @SuppressLint("SetTextI18n") - @Override - protected void onPostExecute(Boolean result) { - /* Log.i("res:",result+""); - String t = ""; - try { - t = red.readLine(); - if (t != "") { - Log.i("inp", t); - data.setText(t); - t=red.readLine(); - data.setText(t); - Log.i("inp2",t); - } - t = ""; - } catch (IOException e) { - Log.i("nas", "kk"); - e.printStackTrace(); - }*/ - - finish(); - - /* try { - Log.i(red.readLine(),"its"); - } catch (IOException e) { - - }*/ - } - - - - - - } - } - diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/healthy.java b/app/source code/app/src/main/java/com/example/rajiv/thala/healthy.java deleted file mode 100755 index 1b87ba8..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/healthy.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.example.rajiv.thala; - -import android.graphics.Color; -import android.os.Bundle; -import android.os.Handler; -import android.support.v7.app.AppCompatActivity; -import android.util.Log; -import android.view.View; -import android.widget.ProgressBar; -import android.widget.RelativeLayout; -import android.widget.TextView; - -import java.io.IOException; - -import static com.example.rajiv.thala.datasend.red; - -public class healthy extends AppCompatActivity { - ProgressBar p1; - TextView health; - RelativeLayout main; - String status; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.healthiness); - int warn= Color.parseColor("#FF0000"); - final int black= Color.parseColor("#000000"); - final int normal = Color.parseColor("#00FF00"); - int usual = Color.parseColor("#000000"); - - main=(RelativeLayout) findViewById(R.id.main); - main.setBackgroundColor(usual); - p1=(ProgressBar) findViewById(R.id.prog); - health=(TextView)findViewById(R.id.healthines); - try { - status=red.readLine(); - } catch (IOException e) { - e.printStackTrace(); - } - Log.i("status",status); - - if(status.equalsIgnoreCase("healthy")) - { - health.setTextColor(Color.parseColor("#FFFFFF")); - health.setText("Scanning"); - - new Handler().postDelayed(new Runnable() { - - - - - - @Override - public void run() { - - - p1.setVisibility(View.GONE); - main.setBackgroundColor(normal); - health.setTextColor(black); - health.setText("Healthy!!"); - - - } - }, 16000); - } - else { - p1.setVisibility(View.GONE); - main.setBackgroundColor(normal); - } - - - } -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/irrigation.java b/app/source code/app/src/main/java/com/example/rajiv/thala/irrigation.java deleted file mode 100755 index 9999221..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/irrigation.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.example.rajiv.thala; - -import android.graphics.Color; -import android.os.Bundle; -import android.os.Handler; -import android.support.v7.app.AppCompatActivity; -import android.util.Log; -import android.view.View; -import android.widget.ProgressBar; -import android.widget.RelativeLayout; -import android.widget.TextView; - -public class irrigation extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_irrigation); - int warn= Color.parseColor("#FF0000"); - final int black= Color.parseColor("#000000"); - final int normal = Color.parseColor("#00FF00"); - int usual = Color.parseColor("#000000"); - final RelativeLayout main; - final ProgressBar p1,progbar; - final TextView health; - String level; - level=""; - main=(RelativeLayout) findViewById(R.id.main); - main.setBackgroundColor(usual); - p1=(ProgressBar) findViewById(R.id.prog); - progbar=(ProgressBar) findViewById(R.id.progbar); - progbar.setVisibility(View.INVISIBLE); - health=(TextView)findViewById(R.id.healthines); - /* try { - level=red.readLine(); - } catch (IOException e) { - e.printStackTrace(); - }*/ - level="37"; - Log.i("status",level); - health.setTextColor(Color.parseColor("#FFFFFF")); - health.setText("Scanning"); - - final String finalLevel = level; - new Handler().postDelayed(new Runnable() { - - - - - - @Override - public void run() { - // This method will be executed once the timer is over - // Start your app main activity - - p1.setVisibility(View.GONE); - /* main.setBackgroundColor(normal); - health.setTextColor(black);*/ - health.setText("Mositure level:"+finalLevel +"%"); - progbar.setVisibility(View.VISIBLE); - progbar.setProgress(Integer.parseInt(finalLevel)); - // close this activity - - } - }, 16000); - - - - - } -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/plantalert.java b/app/source code/app/src/main/java/com/example/rajiv/thala/plantalert.java deleted file mode 100755 index a93e0e5..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/plantalert.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.example.rajiv.thala; - -import android.app.AlertDialog; -import android.app.Dialog; -import android.app.DialogFragment; -import android.content.DialogInterface; -import android.os.Bundle; - -/** - * Created by rajiv on 21/2/18. - */ - -public class plantalert extends DialogFragment { - - public static plantalert newInstance(String title) { - plantalert frag = new plantalert(); - Bundle args = new Bundle(); - args.putString("title", title); - frag.setArguments(args); - return frag; - } - - @Override - public Dialog onCreateDialog(Bundle savedInstanceState) { - String title = getArguments().getString("title"); - - return new AlertDialog.Builder(getActivity()) - .setTitle(title) - .setPositiveButton("Ok", - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int whichButton) { - ((proportionselect)getActivity()).doPositiveClick(); - } - } - ) - .setNegativeButton("Cancel", - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int whichButton) { - dismiss(); - } - } - ) - .create(); - } -} \ No newline at end of file diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/proportionselect.java b/app/source code/app/src/main/java/com/example/rajiv/thala/proportionselect.java deleted file mode 100755 index 37aa8ab..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/proportionselect.java +++ /dev/null @@ -1,179 +0,0 @@ -package com.example.rajiv.thala; - -import android.app.DialogFragment; -import android.content.Intent; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.util.Log; -import android.view.View; -import android.view.animation.Animation; -import android.view.animation.AnimationUtils; -import android.widget.ProgressBar; -import android.widget.RelativeLayout; -import android.widget.SeekBar; -import android.widget.TextView; - -import static com.example.rajiv.thala.datasend.connected; -import static com.example.rajiv.thala.datasend.out; - -public class proportionselect extends AppCompatActivity { - SeekBar seekbar1,seekbar2,seekbar3,seekbar4; - RelativeLayout overall; - ProgressBar over; - int field_area=100,yield=0,profit=0; - Animation anim; - TextView yieldq,profitq; - int seek1=0,seek2=0,seek3=0,seek4=0; - TextView percent1,percent2,percent3,percent4; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_plantselection); - over = (ProgressBar) findViewById(R.id.overallfill); - seekbar1 = (SeekBar) findViewById(R.id.percentbar1); - seekbar2 = (SeekBar) findViewById(R.id.percentbar2); - overall=(RelativeLayout) findViewById(R.id.overall); - yieldq=(TextView) findViewById(R.id.yield); - profitq=(TextView) findViewById(R.id.profit); - anim = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.fadesmall); - overall.setAnimation(anim); - seekbar3 = (SeekBar) findViewById(R.id.percentbar3); - seekbar4 = (SeekBar) findViewById(R.id.percentbar4); - percent1=(TextView) findViewById(R.id.percentdisp1); - percent2=(TextView) findViewById(R.id.percentdisp2); - percent3=(TextView) findViewById(R.id.percentdisp3); - percent4=(TextView) findViewById(R.id.percentdisp4); - percent1.setText("0%"); - percent2.setText("0%"); - percent3.setText("0%"); - percent4.setText("0%"); - yieldq.setText(""); - profitq.setText(""); - seekbar1.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { - @Override - public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { - seek1=progress; - if(!sum(seek1,seek2,seek3,seek4)) - seekbar1.setProgress(progress-1); - percent1.setText(seekbar1.getProgress()*10+"%"); - yieldset(seek1,seek2,seek3,seek4); - } - - @Override - public void onStartTrackingTouch(SeekBar seekBar) { - - } - - @Override - public void onStopTrackingTouch(SeekBar seekBar) { - - } - }); - - seekbar2.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { - @Override - public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { - seek2=progress; - if(!sum(seek1,seek2,seek3,seek4)) - seekbar2.setProgress(progress-1); - percent2.setText(seekbar2.getProgress()*10+"%"); - yieldset(seek1,seek2,seek3,seek4); - - } - - @Override - public void onStartTrackingTouch(SeekBar seekBar) { - - } - - @Override - public void onStopTrackingTouch(SeekBar seekBar) { - - } - }); - - seekbar3.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { - @Override - public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { - seek3=progress; - if(!sum(seek1,seek2,seek3,seek4)) - seekbar3.setProgress(progress-1); - percent3.setText(seekbar3.getProgress()*10+"%"); - yieldset(seek1,seek2,seek3,seek4); - } - - @Override - public void onStartTrackingTouch(SeekBar seekBar) { - - } - - @Override - public void onStopTrackingTouch(SeekBar seekBar) { - - } - }); - - seekbar4.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { - @Override - public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { - seek4=progress; - if(!sum(seek1,seek2,seek3,seek4)) - seekbar4.setProgress(progress-1); - percent4.setText(seekbar4.getProgress()*10+"%"); - yieldset(seek1,seek2,seek3,seek4); - } - - @Override - public void onStartTrackingTouch(SeekBar seekBar) { - - } - - @Override - public void onStopTrackingTouch(SeekBar seekBar) { - - } - }); - } - boolean sum(int a,int b,int c,int d) - { - if(a+b+c+d>10) - return false; - else - return true; - } - void yieldset(int a,int b,int c,int d) - { - profit=a*300+b*500+c*400+d*600; - profitq.setVisibility(View.GONE); - yield=a*16+b*5+c*11+d*6; - profitq.setText("Profit (INR):"+profit); - - yieldq.setText("Yield (in Kgs/sq.metre):"+(float)(yield)/100); - over.setProgress(a+b+c+d); - - } - void startbutton(View view) - { - DialogFragment newFragment = plantalert.newInstance("Do you want to continue with this proportion?"); - newFragment.show(getFragmentManager(), "Dialog"); - - - } - - public void doPositiveClick() { - // Do stuff here. - Log.i("FragmentAlertDialog", "Positive click!"); - //send data to laptop and never reach this screen again - if(connected) - out.println(seekbar1.getProgress()*10+" " +seekbar2.getProgress()*10+" "+seekbar3.getProgress()*10+" "+seekbar4.getProgress()*10+" "); - Intent i = new Intent(this,startexploring.class); - startActivity(i); - } - - public void doNegativeClick() { - // Do stuff here. - - } - - -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/remainstats.java b/app/source code/app/src/main/java/com/example/rajiv/thala/remainstats.java deleted file mode 100755 index fbb05f3..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/remainstats.java +++ /dev/null @@ -1,145 +0,0 @@ -package com.example.rajiv.thala; - -import android.content.Intent; -import android.graphics.Color; -import android.net.Uri; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.view.View; -import android.view.animation.Animation; -import android.view.animation.AnimationUtils; -import android.widget.Button; -import android.widget.ProgressBar; -import android.widget.RelativeLayout; -import android.widget.TextView; -// - -public class remainstats extends AppCompatActivity { - ProgressBar pesticide,p1prog,p2prog,p3prog,p4prog,wedicide; - - TextView wedicidestat,pesticidestat,p1view,p2view,p3view,p4view; - Button weed,pest,pb1,pb2,pb3,pb4; - public static int wedi=10,pesti=12,p1=10,p2=17,p3=46,p4=87; - RelativeLayout overall; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_remainstats); - int warn= Color.parseColor("#FF0000"); - int normal = Color.parseColor("#000000"); - wedicidestat=(TextView) findViewById(R.id.wedicideview); - pesticidestat=(TextView) findViewById(R.id.pesticideview); - pest =(Button) findViewById(R.id.pestibuy); - pb1 = (Button) findViewById(R.id.p1buy); - pb2 = (Button) findViewById(R.id.p2buy); - pb3 = (Button) findViewById(R.id.p3buy); - pb4 = (Button) findViewById(R.id.p4buy); - weed = (Button) findViewById(R.id.wedibuy); - Animation anim = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.fadesmall); - - overall = (RelativeLayout) findViewById(R.id.overall); - overall.setVisibility(View.INVISIBLE); - overall.setAnimation(anim); - anim.start(); - anim.setAnimationListener(new Animation.AnimationListener() { - @Override - public void onAnimationStart(Animation animation) { - - } - - @Override - public void onAnimationEnd(Animation animation) { - overall.setVisibility(View.VISIBLE); - } - - @Override - public void onAnimationRepeat(Animation animation) { - - } - }); - p1prog = (ProgressBar) findViewById(R.id.p1progress); - p2prog = (ProgressBar) findViewById(R.id.p2progress); - p3prog = (ProgressBar) findViewById(R.id.p3progress); - p4prog = (ProgressBar) findViewById(R.id.p4progress); - p1view = (TextView) findViewById(R.id.p1text); - p2view = (TextView) findViewById(R.id.p2text); - p3view = (TextView) findViewById(R.id.p3text); - p4view = (TextView) findViewById(R.id.p4text); - wedicide= (ProgressBar) findViewById(R.id.wedicideleft); - pesticide = (ProgressBar) findViewById(R.id.pesticideleft); - wedicide.setProgress(wedi); - pesticide.setProgress(pesti); - weed.setVisibility(View.INVISIBLE); - pest.setVisibility(View.INVISIBLE); - - overall = (RelativeLayout) findViewById(R.id.overall); - wedicidestat.setText("Wedicide left:"+wedi+"%"); - pesticidestat.setText("Pesticide left:"+pesti+"%"); - setgeneral(p1prog,pb1,p1view,p1,"Lettuce"); - setgeneral(p2prog,pb2,p2view,p2,"Pea"); - setgeneral(p3prog,pb3,p3view,p3,"Spinach"); - setgeneral(p4prog,pb4,p4view,p4,"Corn"); - if(wedi<20) - { - - weed.setVisibility(View.VISIBLE); - //set - } - if(pesti<20) - { - - pest.setVisibility(View.VISIBLE); - } - } - public void setgeneral(ProgressBar p,Button q,TextView t,int val,String s) - { - p.setProgress(val); - q.setVisibility(View.INVISIBLE); - if(val<20) - q.setVisibility(View.VISIBLE); - t.setText(s+":"+val+"%"); - } - public void buyweedicide(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/s/ref=nb_sb_ss_i_2_9?url=search-alias%3Daps&field-keywords=weedicide+for+lawn&sprefix=weedicide%2Caps%2C306&crid=1B9LRRMAWNNR6")); - startActivity(viewIntent); - } - public void buypesticide(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/s/ref=nb_sb_ss_c_1_4?url=search-alias%3Daps&field-keywords=pesticides+for+plants&sprefix=pest%2Caps%2C845&crid=3N72N61LQ0H5C&rh=i%3Aaps%2Ck%3Apesticides+for+plants")); - startActivity(viewIntent); - } - public void buyp1(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/s/ref=nb_sb_ss_i_3_8?url=search-alias%3Daps&field-keywords=lettuce+seeds+for+home+garden&sprefix=lettuce+%2Caps%2C309&crid=2HWK5AIXNFIYN")); - startActivity(viewIntent); - } - public void buyp2(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/s/ref=nb_sb_ss_i_1_25?url=search-alias%3Daps&field-keywords=pea+seeds+for+home+garden&sprefix=pea+seeds+for+home+garden%2Caps%2C1046&crid=2U9CKNW32JDQU&rh=i%3Aaps%2Ck%3Apea+seeds+for+home+garden")); - startActivity(viewIntent); - } - public void buyp3(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=spinach+seeds+for+home+garden&rh=i%3Aaps%2Ck%3Aspinach+seeds+for+home+garden")); - startActivity(viewIntent); - } - public void buyp4(View view) - { - Intent viewIntent = - new Intent("android.intent.action.VIEW", - Uri.parse("https://www.amazon.in/Divine-Tree-Sweet-Seeds-Garden/dp/B078T2WP8M/ref=sr_1_6?ie=UTF8&qid=1519741882&sr=8-6&keywords=corn+seeds+for+home+garden")); - startActivity(viewIntent); - } -} diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/splashscreen.java b/app/source code/app/src/main/java/com/example/rajiv/thala/splashscreen.java deleted file mode 100755 index f5bc24b..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/splashscreen.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.example.rajiv.thala; - -import android.content.Intent; -import android.os.Bundle; -import android.os.Handler; -import android.support.v7.app.AppCompatActivity; - - - -public class splashscreen extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_splashscreen); - - - new Handler().postDelayed(new Runnable() { - - /* - * Showing splash screen with a timer. This will be useful when you - * want to show case your app logo / company - */ - - @Override - public void run() { - // This method will be executed once the timer is over - // Start your app main activity - Intent i = new Intent(splashscreen.this, bottag.class); - startActivity(i); - - // close this activity - finish(); - } - }, 3200); - } - -} - diff --git a/app/source code/app/src/main/java/com/example/rajiv/thala/startexploring.java b/app/source code/app/src/main/java/com/example/rajiv/thala/startexploring.java deleted file mode 100755 index bcd294f..0000000 --- a/app/source code/app/src/main/java/com/example/rajiv/thala/startexploring.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.example.rajiv.thala; - -import android.content.Intent; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.view.View; -import android.widget.Button; - -public class startexploring extends AppCompatActivity { - Button ps,ps1,ps2; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.startexp); - /* ps=(Button) findViewById(R.id.ps); - // ps1=(Button) findViewById(R.id.ps1); - //ps2 = (Button) findViewById(R.id.ps2); - Animation anim = AnimationUtils.loadAnimation(getApplicationContext(),R.anim.faderepeat); - ps.setAnimation(anim); - ps1.setAnimation(anim); - ps2.setAnimation(anim); - anim.start();*/ - } - public void opt2func(View view) - { -// out.println("scan"); - Intent i=new Intent(this,dataplot.class); - startActivity(i); - } - public void opt1func(View view) - { - - Intent i=new Intent(this,proportionselect.class); - startActivity(i); - } - public void opt3func(View view) - { - - Intent i=new Intent(this,remainstats.class); - startActivity(i); - } -} diff --git a/app/source code/app/src/main/res/anim/fade.xml b/app/source code/app/src/main/res/anim/fade.xml deleted file mode 100755 index 9b7c107..0000000 --- a/app/source code/app/src/main/res/anim/fade.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - diff --git a/app/source code/app/src/main/res/anim/fade2.xml b/app/source code/app/src/main/res/anim/fade2.xml deleted file mode 100755 index b37b91c..0000000 --- a/app/source code/app/src/main/res/anim/fade2.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/app/source code/app/src/main/res/anim/faderepeat.xml b/app/source code/app/src/main/res/anim/faderepeat.xml deleted file mode 100755 index 16bcf5d..0000000 --- a/app/source code/app/src/main/res/anim/faderepeat.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/anim/fadesmall.xml b/app/source code/app/src/main/res/anim/fadesmall.xml deleted file mode 100755 index 54c9d0f..0000000 --- a/app/source code/app/src/main/res/anim/fadesmall.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/anim/rotate.xml b/app/source code/app/src/main/res/anim/rotate.xml deleted file mode 100755 index fdfbe27..0000000 --- a/app/source code/app/src/main/res/anim/rotate.xml +++ /dev/null @@ -1,8 +0,0 @@ - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/drawable-hdpi/ic_action_name.png b/app/source code/app/src/main/res/drawable-hdpi/ic_action_name.png deleted file mode 100755 index 06812f8..0000000 Binary files a/app/source code/app/src/main/res/drawable-hdpi/ic_action_name.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-mdpi/ic_action_name.png b/app/source code/app/src/main/res/drawable-mdpi/ic_action_name.png deleted file mode 100755 index 88b1aec..0000000 Binary files a/app/source code/app/src/main/res/drawable-mdpi/ic_action_name.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/back.png b/app/source code/app/src/main/res/drawable-v24/back.png deleted file mode 100755 index f472f16..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/back.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/back3.png b/app/source code/app/src/main/res/drawable-v24/back3.png deleted file mode 100755 index e3e0261..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/back3.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/background.png b/app/source code/app/src/main/res/drawable-v24/background.png deleted file mode 100755 index 9190efd..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/background.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/bgm.png b/app/source code/app/src/main/res/drawable-v24/bgm.png deleted file mode 100755 index c14dc07..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/bgm.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/bgm2.png b/app/source code/app/src/main/res/drawable-v24/bgm2.png deleted file mode 100755 index 3f20027..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/bgm2.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/blue.png b/app/source code/app/src/main/res/drawable-v24/blue.png deleted file mode 100755 index fae6389..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/blue.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/botanical.png b/app/source code/app/src/main/res/drawable-v24/botanical.png deleted file mode 100755 index d6ead3c..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/botanical.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/con.png b/app/source code/app/src/main/res/drawable-v24/con.png deleted file mode 100755 index e77aa62..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/con.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/damn.png b/app/source code/app/src/main/res/drawable-v24/damn.png deleted file mode 100755 index 5c3d480..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/damn.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/data.png b/app/source code/app/src/main/res/drawable-v24/data.png deleted file mode 100755 index 187b57e..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/data.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/farmbot.png b/app/source code/app/src/main/res/drawable-v24/farmbot.png deleted file mode 100755 index aa54b30..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/farmbot.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/farmbot2.png b/app/source code/app/src/main/res/drawable-v24/farmbot2.png deleted file mode 100755 index 11f920f..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/farmbot2.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/finalaa.png b/app/source code/app/src/main/res/drawable-v24/finalaa.png deleted file mode 100755 index 18a5f0e..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/finalaa.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/finalaah.png b/app/source code/app/src/main/res/drawable-v24/finalaah.png deleted file mode 100755 index d99b41b..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/finalaah.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/source code/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100755 index c7bd21d..0000000 --- a/app/source code/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - diff --git a/app/source code/app/src/main/res/drawable-v24/isit.png b/app/source code/app/src/main/res/drawable-v24/isit.png deleted file mode 100755 index 49fdb0c..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/isit.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/last.png b/app/source code/app/src/main/res/drawable-v24/last.png deleted file mode 100755 index c4fcb64..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/last.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/last1.png b/app/source code/app/src/main/res/drawable-v24/last1.png deleted file mode 100755 index dfae258..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/last1.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/loggo.png b/app/source code/app/src/main/res/drawable-v24/loggo.png deleted file mode 100755 index 5485551..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/loggo.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/logo.png b/app/source code/app/src/main/res/drawable-v24/logo.png deleted file mode 100755 index 27c771e..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/logo.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/logo4.png b/app/source code/app/src/main/res/drawable-v24/logo4.png deleted file mode 100755 index 01cb79e..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/logo4.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/logofinal.png b/app/source code/app/src/main/res/drawable-v24/logofinal.png deleted file mode 100755 index 900405b..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/logofinal.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/old_paper.png b/app/source code/app/src/main/res/drawable-v24/old_paper.png deleted file mode 100755 index c622f10..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/old_paper.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/plant.png b/app/source code/app/src/main/res/drawable-v24/plant.png deleted file mode 100755 index 53c02ff..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/plant.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/planter.png b/app/source code/app/src/main/res/drawable-v24/planter.png deleted file mode 100755 index a290427..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/planter.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/selectp.png b/app/source code/app/src/main/res/drawable-v24/selectp.png deleted file mode 100755 index 2713992..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/selectp.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/snt.png b/app/source code/app/src/main/res/drawable-v24/snt.png deleted file mode 100755 index f17b69d..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/snt.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/snt2.png b/app/source code/app/src/main/res/drawable-v24/snt2.png deleted file mode 100755 index fc64c42..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/snt2.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/statistics.png b/app/source code/app/src/main/res/drawable-v24/statistics.png deleted file mode 100755 index 702c125..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/statistics.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/stats.png b/app/source code/app/src/main/res/drawable-v24/stats.png deleted file mode 100755 index 9e79238..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/stats.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/storehouse.png b/app/source code/app/src/main/res/drawable-v24/storehouse.png deleted file mode 100755 index 827ee7f..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/storehouse.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/thelast.png b/app/source code/app/src/main/res/drawable-v24/thelast.png deleted file mode 100755 index dfae258..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/thelast.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-v24/unnamed.png b/app/source code/app/src/main/res/drawable-v24/unnamed.png deleted file mode 100755 index c4f33bf..0000000 Binary files a/app/source code/app/src/main/res/drawable-v24/unnamed.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-xhdpi/ic_action_name.png b/app/source code/app/src/main/res/drawable-xhdpi/ic_action_name.png deleted file mode 100755 index c94f47a..0000000 Binary files a/app/source code/app/src/main/res/drawable-xhdpi/ic_action_name.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable-xxhdpi/ic_action_name.png b/app/source code/app/src/main/res/drawable-xxhdpi/ic_action_name.png deleted file mode 100755 index 26825e2..0000000 Binary files a/app/source code/app/src/main/res/drawable-xxhdpi/ic_action_name.png and /dev/null differ diff --git a/app/source code/app/src/main/res/drawable/button.xml b/app/source code/app/src/main/res/drawable/button.xml deleted file mode 100755 index 05c33bb..0000000 --- a/app/source code/app/src/main/res/drawable/button.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/drawable/buybutton.xml b/app/source code/app/src/main/res/drawable/buybutton.xml deleted file mode 100755 index 690242b..0000000 --- a/app/source code/app/src/main/res/drawable/buybutton.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/drawable/circleshape.xml b/app/source code/app/src/main/res/drawable/circleshape.xml deleted file mode 100755 index 5fe43fa..0000000 --- a/app/source code/app/src/main/res/drawable/circleshape.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/drawable/circularprogress.xml b/app/source code/app/src/main/res/drawable/circularprogress.xml deleted file mode 100755 index 215578d..0000000 --- a/app/source code/app/src/main/res/drawable/circularprogress.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/drawable/ic_launcher_background.xml b/app/source code/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100755 index 01f0af0..0000000 --- a/app/source code/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/source code/app/src/main/res/drawable/startplantbutton.xml b/app/source code/app/src/main/res/drawable/startplantbutton.xml deleted file mode 100755 index a107788..0000000 --- a/app/source code/app/src/main/res/drawable/startplantbutton.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - diff --git a/app/source code/app/src/main/res/layout/activity_bottag.xml b/app/source code/app/src/main/res/layout/activity_bottag.xml deleted file mode 100755 index 30e7c3b..0000000 --- a/app/source code/app/src/main/res/layout/activity_bottag.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/app/source code/app/src/main/res/layout/activity_dataplot.xml b/app/source code/app/src/main/res/layout/activity_dataplot.xml deleted file mode 100755 index 362a244..0000000 --- a/app/source code/app/src/main/res/layout/activity_dataplot.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/source code/app/src/main/res/layout/activity_healthy.xml b/app/source code/app/src/main/res/layout/activity_healthy.xml deleted file mode 100755 index 97dd4bb..0000000 --- a/app/source code/app/src/main/res/layout/activity_healthy.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/app/source code/app/src/main/res/layout/activity_irrigation.xml b/app/source code/app/src/main/res/layout/activity_irrigation.xml deleted file mode 100755 index f729137..0000000 --- a/app/source code/app/src/main/res/layout/activity_irrigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - diff --git a/app/source code/app/src/main/res/layout/activity_main.xml b/app/source code/app/src/main/res/layout/activity_main.xml deleted file mode 100755 index be59504..0000000 --- a/app/source code/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - -