forked from federicoiosue/Omni-Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a FOSS flavor without Google's dependances
Federico Iosue
committed
Feb 1, 2017
1 parent
a68ed4d
commit c2f2f27
Showing
7 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
omniNotes/src/foss/java/it.feio.android.omninotes.helpers/GeoCodeProviderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package it.feio.android.omninotes.helpers; | ||
|
||
import android.content.Context; | ||
|
||
import io.nlopez.smartlocation.location.LocationProvider; | ||
import io.nlopez.smartlocation.location.providers.LocationManagerProvider; | ||
|
||
public class GeoCodeProviderFactory { | ||
|
||
public static LocationProvider getProvider(Context context) { | ||
return new LocationManagerProvider(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
omniNotes/src/play/java/it.feio.android.omninotes.helpers/GeoCodeProviderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package it.feio.android.omninotes.helpers; | ||
|
||
import android.content.Context; | ||
|
||
import io.nlopez.smartlocation.location.LocationProvider; | ||
import io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesWithFallbackProvider; | ||
|
||
public class GeoCodeProviderFactory { | ||
|
||
public static LocationProvider getProvider(Context context) { | ||
return new LocationGooglePlayServicesWithFallbackProvider(context); | ||
} | ||
} |