All Projects → kaushikravikumar → RealtimeTaxiAndroidDemo

kaushikravikumar / RealtimeTaxiAndroidDemo

Licence: other
PubNub Demo that uses a Publish/Subscribe model to implement a realtime map functionality similar to Lyft/Uber.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RealtimeTaxiAndroidDemo

Java-DB-IP
A Java wrapper for DB-IP free city database
Stars: ✭ 29 (-47.27%)
Mutual labels:  geolocation
ip2location-nginx
This is IP2Location Nginx module that enables the user to find the country, region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, usage type, address type and IAB category by IP address or hostname originates from.
Stars: ✭ 38 (-30.91%)
Mutual labels:  geolocation
CamHell
Ingenic T10 IP camera crawler
Stars: ✭ 53 (-3.64%)
Mutual labels:  geolocation
ionic2-firebase-hackathon-starter
A hackathon starter for ionic2 using firebase, already has user authentication, reset password, google login etc
Stars: ✭ 34 (-38.18%)
Mutual labels:  geolocation
geo-location-cli
📌 A CLI that gives you location data of any IP address
Stars: ✭ 15 (-72.73%)
Mutual labels:  geolocation
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (+9.09%)
Mutual labels:  geolocation
pgchat
Demo chat app for PGDay EU 2017, built with Framework7-Vue
Stars: ✭ 38 (-30.91%)
Mutual labels:  pubnub
express-ip
An Express Middleware for getting IP information
Stars: ✭ 28 (-49.09%)
Mutual labels:  geolocation
nodejs-geoip2ws
Maxmind GeoIP2 Web Services for Node.js
Stars: ✭ 47 (-14.55%)
Mutual labels:  geolocation
GS-LOC
Apple geolocation services reverse engineering. Database scraper.
Stars: ✭ 36 (-34.55%)
Mutual labels:  geolocation
discourse-locations
Tools for handling locations in Discourse
Stars: ✭ 31 (-43.64%)
Mutual labels:  geolocation
sigsby
Sistem Informasi Geografis (SIG) / GIS Wisata Kota Surabaya Berbasis Web - www.firstplato.com
Stars: ✭ 23 (-58.18%)
Mutual labels:  geolocation
IchnaeaNlpBackend
Backend for UnifiedNlp that uses Mozilla Location Service for geolocation.
Stars: ✭ 68 (+23.64%)
Mutual labels:  geolocation
react-hook-geolocation
A React hook to access data from the Geolocation API
Stars: ✭ 31 (-43.64%)
Mutual labels:  geolocation
geolocation-php-api
This Geolocation PHP class connects to Google Maps API to find latitude/longitude or the address.
Stars: ✭ 71 (+29.09%)
Mutual labels:  geolocation
crisis-news-mapper
日本の災害関連ニュースをTwitterから収集して地図上にマッピングするFirebaseプロジェクト crisis.yuiseki.net
Stars: ✭ 13 (-76.36%)
Mutual labels:  geolocation
pubnub-js-webrtc
adambavosa.com/pubnub-js-webrtc/example/
Stars: ✭ 16 (-70.91%)
Mutual labels:  pubnub
kirby-locator
A simple map & geolocation field, built on top of open-source services and Mapbox. Kirby 3 only.
Stars: ✭ 83 (+50.91%)
Mutual labels:  geolocation
simple-location
Adds Basic Location Support to Wordpress
Stars: ✭ 26 (-52.73%)
Mutual labels:  geolocation
laravel-geoly
Perform fast and efficient radius searches on your Laravel Eloquent models.
Stars: ✭ 25 (-54.55%)
Mutual labels:  geolocation

RealtimeTaxiAndroidDemo

This demo showcases PubNub's Publish Subscribe feature. Through this setup, developers can easily create a real time map in a use case such as that of Lyft and Uber.

Click here for full tutorial

Demo Video

Quickstart

  1. In order to set up PubNub in your android app, you will need to create a PubNub app in the PubNub Admin Dashboard (it’s free). Upon creating the app, you will be assigned a subscribe key and publish key. You will need to go to the Constants.java class and enter these credentials where it says INSERT_SUBSCRIBE_KEY and INSERT_PUBLISH_KEY respectively.

  2. Now, we must set up our Google Maps API key, so that we can use it in our application. In order to do this head over to Google’s Developer API console. Here, we will create a new project and then generate an API key. Once you have the API Key, enter it in the Android Manifest file, where it says INSERT_API_KEY.

  3. Ensure that you have downloaded Google Play Services in your Android SDK Manager, accessible from the tool bar at the top of Android Studio.

Required Gradle Dependencies

implementation group: 'com.pubnub', name: 'pubnub-gson', version: '4.12.0'

implementation 'com.google.android.gms:play-services-maps:15.0.1'

implementation "com.google.android.gms:play-services-location:15.0.1"

implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.2'

implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.2'

implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.2'

Required Manifest Permissions

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

Sign up for PubNub click here:

PubNub Signup
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].