Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#Android generated
bin
gen

#Eclipse
.classpath
.settings
.checkstyle

#IntelliJ IDEA
*.iml
*.ipr
*.iws
classes
.idea
out
gen-external-apklibs

#Maven
target
release.properties
pom.xml.*

#Ant
build.xml
ant.properties
local.properties
proguard.cfg
proguard-project.txt

#SVN
.svn

#Other
.DS_Store
tmp
12 changes: 0 additions & 12 deletions AndroidManifest.xml

This file was deleted.

14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ GeocoderPlus does not include reverse geocoding. You can use the built-in Androi

Installation
------------
GeocoderPlus is provided as a JAR library. To add GeocoderPlus to your Android project in Eclipse, follow these steps:
With Maven:

1. Create a `lib` directory in your project and copy the `GeocoderPlus.jar` file there.
1. Right click on your project in Eclipse and select `Properties`. This will open the `Properties` window.
1. Select `Java Build Path` from the collapsable options tree on the left. This will show the build path options on the right.
1. Select the `Libraries` tab.
1. Click the `Add JARs...` button, browse to the lib directory in Step 1 and select the `GeocoderPlus.jar` file.
<dependency>
<groupId>com.bricolsoftconsulting</groupId>
<artifactId>geocoder-plus</artifactId>
<version>1.0</version>
</dependency>

or add JAR as dependency.

Usage
-----
Expand Down
Binary file removed bin/GeocoderPlus.apk
Binary file not shown.
Binary file removed bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/geocoderplus/Area.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/location/R$attr.class
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/location/R$drawable.class
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/location/R$layout.class
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/location/R$string.class
Binary file not shown.
Binary file removed bin/com/bricolsoftconsulting/location/R.class
Binary file not shown.
Binary file removed bin/resources.ap_
Binary file not shown.
13 changes: 0 additions & 13 deletions build.xml

This file was deleted.

11 changes: 0 additions & 11 deletions default.properties

This file was deleted.

23 changes: 0 additions & 23 deletions gen/com/bricolsoftconsulting/location/R.java

This file was deleted.

20 changes: 20 additions & 0 deletions geocoder-plus.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration />
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="jdk" jdkName="Android 4.2.2" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

181 changes: 181 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ Copyright 2013 Inmite s.r.o. (www.inmite.eu).
~
~ 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.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>com.bricolsoftconsulting</groupId>
<artifactId>geocoder-plus</artifactId>
<packaging>jar</packaging>
<version>1.0</version>

<name>Geocoder Plus</name>
<description>Enhanced Android Geocoder with support for viewport info to help with map zooming</description>
<inceptionYear>2013</inceptionYear>
<url>https://github.com/destil/GeocoderPlus</url>

<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>David Vávra</name>
<email>david@inmite.eu</email>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>

<scm>
<connection>scm:git:https://github.com/destil/GeocoderPlus.git</connection>
<developerConnection>scm:git:https://github.com/destil/GeocoderPlus.git</developerConnection>
<url>https://github.com/destil/GeocoderPlus</url>
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>Github</system>
<url>https://github.com/destil/GeocoderPlus/issues</url>
</issueManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<java.version>1.6</java.version>
<apk.skipProguard>true</apk.skipProguard>
<android.version>4.1.1.4</android.version>
<android.platform>16</android.platform>
<android.support.version>r7</android.support.version>
</properties>


<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${android.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<showWarnings>true</showWarnings>
<compilerArguments>
<Xlint />
</compilerArguments>
</configuration>
</plugin>

<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.5.3</version>
<configuration>
<nativeLibrariesDirectory>ignored</nativeLibrariesDirectory>
<sdk>
<platform>${android.platform}</platform>
</sdk>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
</plugin>

<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.4.0</version>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
Binary file removed res/drawable-hdpi/icon.png
Binary file not shown.
Binary file removed res/drawable-ldpi/icon.png
Binary file not shown.
Binary file removed res/drawable-mdpi/icon.png
Binary file not shown.
12 changes: 0 additions & 12 deletions res/layout/main.xml

This file was deleted.

5 changes: 0 additions & 5 deletions res/values/strings.xml

This file was deleted.