diff options
| -rw-r--r-- | main/build.xml | 6 | ||||
| -rw-r--r-- | main/templates/ocde_okapi.xml | 4 | ||||
| -rw-r--r-- | main/templates/private.properties | 7 |
3 files changed, 15 insertions, 2 deletions
diff --git a/main/build.xml b/main/build.xml index febb4ae..3d611d1 100644 --- a/main/build.xml +++ b/main/build.xml @@ -83,6 +83,12 @@ <copy file="./templates/mapsapikey.xml" todir="./res/values/" overwrite="true"> <filterset refid="build-tokens" /> </copy> + <copy file="./templates/ocde_okapi.xml" todir="./res/values/" overwrite="true"> + <filterset> + <filter token="ocde.okapi.consumer.key" value="${ocde.okapi.consumer.key}"/> + <filter token="ocde.okapi.consumer.secret" value="${ocde.okapi.consumer.secret}"/> + </filterset> + </copy> </target> <!-- diff --git a/main/templates/ocde_okapi.xml b/main/templates/ocde_okapi.xml index 3a643fa..9ca39b3 100644 --- a/main/templates/ocde_okapi.xml +++ b/main/templates/ocde_okapi.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <resources> - <string name="oc_de_okapi_consumer_key" translatable="false"></string> - <string name="oc_de_okapi_consumer_secret" translatable="false"></string> + <string name="oc_de_okapi_consumer_key" translatable="false">@ocde.okapi.consumer.key@</string> + <string name="oc_de_okapi_consumer_secret" translatable="false">@ocde.okapi.consumer.secret@</string> </resources> diff --git a/main/templates/private.properties b/main/templates/private.properties index f29cb7c..13c424b 100644 --- a/main/templates/private.properties +++ b/main/templates/private.properties @@ -16,3 +16,10 @@ maps.api.key.market= #key.alias= #key.store.password= #key.alias.password= + +# These keys allow c:geo to be registered at openaching.de and +# to search and log caches in your name +# You can request your own at http://www.opencaching.de/okapi/signup.html + +ocde.okapi.consumer.key= +ocde.okapi.consumer.secret= |
