microg / AppleWifiNlpBackend

UnifiedNlp Backend that uses Apple's service to resolve wifi locations. Location calculation is done onboard and wifi locations are cached to minimize data usage.
Apache License 2.0
78 stars 15 forks source link

Fails to build: requires com.google.android.maps #1

Closed aelmahmoudy closed 10 years ago

aelmahmoudy commented 10 years ago

While building the backend, I got this error:

/opt/fdroidbuild/org.microg.nlp.backend.apple/src/org/microg/nlp/backend/apple/PregrabActivity.java:10: error: package com.google.android.maps does not exist

Is https://github.com/mar-v-in/MapsAPI also required to build this backend ?

mar-v-in commented 10 years ago

PregrabActivity provides an additional feature that is not accessible yet (it should become an UI that allows you to download wifi locations from Apple server in advance).

If you want to include it, you need to build against any Maps API v1 (could be mine or Google's one). However you can also remove it from your build, it's not needed for the backend to work. Just delete the file before building to achieve that.

aelmahmoudy commented 10 years ago

Thanks.

By the way, the backend is now on F-Droid: https://f-droid.org/repository/browse/?fdid=org.microg.nlp.backend.apple