Giter Club home page Giter Club logo

ceng-407-408-2019-2020-spam-sms-detection's Introduction

Spam SMS Detection Mobile Application

This application has been developed to detect and filter SMS spam. With this application, we:

  • Provide our users an SMS inbox which is much more relevant with respect to their interests.
  • Make the SMS inboxes of our users neat and organized, thus sparing them time.
  • Protect our users from the obtainment of their personal/confidential information use by SMS spammers and keyloggers via viruses and malicious software that are sent through spam SMS.

Getting Started

First of all, this application only works on Android. So it is necessary to connect an Android phone to the computer. In order to connect an android phone to a computer and run the application, it is necessary to activate USB Debugging. More information: Running your app on Android devices

Installation

  • Download the Visual Studio Code: Download VS Code
  • Download the MySQL DB: Download MySQL
  • Open the VS Code and open terminal in VS Code. Clone the repository.
git clone https://github.com/CankayaUniversity/ceng-407-408-2019-2020-Spam-SMS-Detection.git
  • Open MySQL and import the spam-sms-detection.sql file in the /SpamSmsDetection/spamSmsDetectionMobileApp/ directory into MySQL.
  • Install Node.js and Node Package Manager(npm): Install Node.js and npm
  • Check that you have node and npm installed.
node -v
npm -v
  • Install React Native.
npm install -g react-native-cli
  • Run the classifiers.py and test_score.py files in the /SpamSmsDetection/spamSmsDetectionMobileApp/api/ directory, respectively, by changing the csv file extensions in them.

  • Run the api.py file in the /SpamSmsDetection/spamSmsDetectionMobileApp/api/ directory by changing the csv file extension and database connections.

  • Search "serverUrl" text in the project folder and replace the all urls found in files with your computer's ip address.

  • Open a new terminal and start the React Native.
cd /SpamSmsDetection/spamSmsDetectionMobileApp/android/
./gradlew clean
cd ..
react-native start --reset-cache
  • Open a new terminal and run the application.
cd /SpamSmsDetection/spamSmsDetectionMobileApp/
react-native run-android
  • And finally, the app will open on your phone.

ceng-407-408-2019-2020-spam-sms-detection's People

Contributors

emregedikoglu avatar fstasel avatar j4hk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.