LIPS (Learning-based Indoor Positioning System) with Maps
This is a research project for indoor GPS. It is an extension of LIPS, originally developed by David Mascharka, where we are including maps instead of a blank slate for showing the location of the user.
- Clone this project.
$ git clone https://github.com/maheshgaya/lips-with-maps.git
- Import the project directory in Android Studio, do File -> New -> Import Project.
- Create an xml file
app/src/main/res/values/google_maps_api_key.xml
for adding the Google Maps API key. Add the code below and replaceGOOGLE MAPS KEY
with your own key from the Google Developer Console. The key requires Google Maps API for Android and Google Places API for Android
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- enter your key -->
<string name="google_maps_key">GOOGLE MAPS KEY</string>
</resources>
- Run the project on an emulator or on your Android phone. (API >= 16)
- Go to Firebase Console
- Click on
Create a new project
- Give it a name and select your country. Next, click on
Create Project
- Click on
Add Firebase to your Android app
- Give it a package name
- To use Sign-in features, add a SHA-1 Fingerprint at the bottom, using this:
$ keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v
- Download the
google-services.json
to the root directory of the android applips-with-maps/android/
- Enable
Anonymous
authentication in the Authentication menu.
- See this link
- Create a service account and download the key file (name it
service-account.json
) tobackend/src/main/resources/service-account.json
- Fork this repository.
- Write your fix or feature in your own repository.
- Once it is ready and tested, pull a request to merge your code. Please make sure that you rebase your repository before pulling a request.
Copyright 2017 Mahesh Gaya, Joel Afriyie
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.