JaakL wrote 2014-10-04 09:21:
> On Friday, October 3, 2014 10:34:32 PM UTC+3, Jukka Rahkonen wrote:
>
>> JaakL wrote 2014-10-03 12:53:
>>> On Thursday, October 2, 2014 2:41:31 PM UTC+3, Brad Hards wrote:
>>>
>>>> On Thu, 2 Oct 2014 03:03:46 AM Ams Sol wrote:
>>>>> well its easier said than done just to use "shapelib".
>>>>> I have been looking around for such libraries and most have java
>>
>>>> SPI
>>>>> problem and are not compatible with android. namely
>>>> NoClassDefFoundEception
>>>>> all the time.
>>>> Geotools?
http://www.geotools.org/ [1] [1]
>>>
>>> Geotools does not run on Android, it uses some tricky Java
>> features
>>> not available there. I dont know any other Java tool available to
>> read
>>> Shapefile.
>>>
>>> I would use OGR/GDAL, which runs on Android and reads and writes
>>> Shapefiles.
>>>
>>> My project (for Android):
>>>
https://github.com/nutiteq/hellomap3d/wiki/Ogr-layer [2]
>> [3]
>> As far as I know nobody has tried to run OpenJUMP on Android.
>
> Well, their ShapefileReader.java over there is not very encouraging:
>
> import org.geotools.dbffile.DbfFile;
>
> import org.geotools.shapefile.Shapefile;
>
> import org.geotools.shapefile.ShapefileException;
Yes, I noticed that later. However, there reads also that a modified
geotools code is used. Perhaps worth having a look also to directory
http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/org/geotools/shapefile/
-Jukka-