Skip to content

emgaurv/kute

 
 

Repository files navigation

What is Kute?

A Commute App for Sri Lanka

cover

People travel to the same destination on a regular basis for various reasons using public and private transport. In Kute, the users (also known as travellers) themselves are allowed to share their current location, so that the other travellers can see the current location of the vehicle. A common type of vehicle used for public transport in Sri Lanka is the passenger train. Kute is currently implemented for trains. A registered user can update the current location of a train when travelling by sharing the current location. Another user can view location of a selected train and the expected time a particular train arrives at the nearest station using the location data updated by another user.

Features

  • Makes navigation and transportation easier.
  • People can navigate & identify public transport services.
  • Travellers can share their location.

ss

Setting up the Project

  • Fork the repository by clicking on the Fork icon at the top right corner of the repository page.
  • Clone the repository on to your local machine by running the following commands on git:
  • git clone git clone https://github.com/[YOUR-USERNAME]/kute.git Refer Forking and Cloning in -
  • git if you are stuck somewhere.
  • Download and install Android Studio which is an IDE for android application development.
  • You will also need to download the Android SDK from the IDE itself.

Development Setup

  • Launch android studio (version 1.4 above)
  • you will see a Welcome to Android window. Under Quick Start, select Import Project (Eclipse ADT, Gradle, etc.)
  • Navigate to the directory where you saved the Kute project, select the root folder of the project (the folder named "Kute-master"), and hit OK.
  • Update kute-android-app/app/src/main/res/values/strings.xml with a facebook app id and google maps api key
<string name="facebook_app_id">YOUR_FB_APP_ID</string>
<string name="googlemapApi">YOUR_GOOGLE_MAPS_API_KEY</string>
  • Make sure you are connected to internet
  • Run and build the Gradle.
  • Wait for a few seconds and the app should start on your device (android phone or emulator).

Running the Application

  • Via your own android smartphone Enable USB Debugging in your phone. Click Run on the Android Studio tool bar, or Shift + F10 to run the app. By running a virtual device.

  • Setup a Android Virtual Device in the IDE. Then running the application by clicking on Run on the Android Studio tool bar, or Shift + F10 and then choose the newly created virtual device to run the app.

Google Code-in 2017

Google Code-in users should checkout the c_in_refine branch for all tasks. git checkout c_in_refine You'll have all the necessary information to proceed in there.

License

This project is licensed under the terms of the Apache License 2.0.

About

Commute app for Sri Lanka

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 64.4%
  • JavaScript 31.0%
  • Python 4.4%
  • CSS 0.2%