Coder Social home page Coder Social logo

shahshail / silentme Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 6.0 19.91 MB

This is an Android based application, aimed at offering comfort to those who wish to keep their mobile phones on silent mode in specific geographical locations. It has an appealing user interface with user-friendly features allowing the users to set their desired locations in their mobiles to turn silent.

Java 100.00%
googleplaces geofence-api broadcast-reciever pending-intent java android notifications googleclientapi recyclerview loader

silentme's Introduction

SilentMe

Overview

  • This is an Android based application, aimed at offering comfort to those who wish to keep their mobile phones on silent mode in specific geographical locations. It has an appealing user interface with user-friendly features allowing the users to set their desired locations in their mobiles to turn silent.

  • It’s simple to use application, useful in today’s scenario when people are extremely busy and want most of things automated to help in their functioning. This app will work as an aid to their day to day functioning! We often need to switch our mobile in silent mode for personal, social or professional reasons. We may forget to keep our mobile in silent mode that is where this app will come to the aid.

  • You simply need to provide the geographical locations where you would like to keep your mobile into silent mode. Rest will be taken care of by this app. It will not forget to go in silent mode the moment it will enter the set radius of geo location.

  • SilentMe app will automatically silent user's mobile device on selected Locations. The user can select a location with the use of Google Places API(https://developers.google.com/places/) and the app will store location's placeID to the database using content providers.

Libraries

  • GooglePlayServicesPlaces

  • GooglePlayServicesLocation

Google Play Services API_KEY and Google API CLient

  • Some Google Play Services APIs require you to create a client that will connect to Google Play Services and use that connection to communicate with the APIs. We can connect our app to Google Play Api client using GooglwPlayClient.Builder() Method. app txt

  • In order to use user's current location developer must login to google play developer console and generate Google Places API API_KEY(https://console.developers.google.com/apis/) and define this key into AndroidManifest.xml's meta-data field. app txt

Location Services aand GeoFences

  • Using GPS Polling can drain device's battery. To overcome this problem this app will use Geofences to locate device's location.

  • This app stores all the added locations latitudes and longitudes and setup 50 meter radius geofences using geofencing object. This geofence objects will automatically deleted in every 24 hours.

  • This app requires location permission to locate current position and search places.

Data Persistence

  • Google will not allow us to store places data more than 30 days except placeID. So the most effiecient way to get location is to store placeId into database and get Location from placeId.
  • Whenever the user selects location then this app stores placeId into SqLite Database using content providers.

Screens

Home Screen

app txt

Search Location

app txt

Add Location

app txt

Current Location

app txt

Notification (Silent/Ring)

app txt

silentme's People

Contributors

shahshail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.