Skip to content

Commit

Permalink
Merge pull request #1 from pkitools/releases/RC0.0.1
Browse files Browse the repository at this point in the history
Releases/rc0.0.1
  • Loading branch information
nilnull authored Jan 30, 2020
2 parents ef7cc20 + 0ee042f commit 54b7f19
Show file tree
Hide file tree
Showing 27 changed files with 26 additions and 523 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Android Location Navigator
[![](https://jitpack.io/v/pkitools/Android-Location-Navigator.svg)](https://jitpack.io/#pkitools/Android-Location-Navigator)
An open source and free android library supporting all major navigation apps to get directions and location on several apps.

Note: this isn't another location finder or travel library it only facilitates usage of existing libraries
Expand All @@ -11,12 +12,22 @@ You can clone and checkout master branch of this library and use as a library mo

## Setup

1- Add jitpack repositories
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

After setting up the library, have a look at ```LaunchNavigator``` class. It is the facade for all functionality of this library

```
LaunchNavigator navigator = LaunchNavigator.with(context);
NavigationParameter parameter = NavigationParameter.builder().app(LaunchNavigator.WAZE).destination(Position.builder().latitude(Double.toString(locationBox.getLatitude())).longitude(Double.toString(locationBox.getLongitude())).build()).build();
navigator.navigate(parameter);
```java
LaunchNavigator navigator = LaunchNavigator.with(context);
NavigationParameter parameter = NavigationParameter.builder().app(LaunchNavigator.WAZE)
.destination(Position.builder().latitude(Double.toString(locationBox.getLatitude())).longitude(Double.toString(locationBox.getLongitude()))
.build()).build();
navigator.navigate(parameter);
```

## Permission
Expand Down
1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

44 changes: 0 additions & 44 deletions app/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions app/proguard-rules.pro

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions app/src/main/AndroidManifest.xml

This file was deleted.

50 changes: 0 additions & 50 deletions app/src/main/res/drawable-v24/ic_launcher_foreground.xml

This file was deleted.

Loading

0 comments on commit 54b7f19

Please sign in to comment.