A Commute App for Sri Lanka
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.
- Makes navigation and transportation easier.
- People can navigate & identify public transport services.
- Travellers can share their location.
- 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.
- 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).
-
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 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.
This project is licensed under the terms of the Apache License 2.0.