[osmosis-dev] Android?
Adrià Ribatallada Torelló
achtungwolf at gmail.com
Tue Nov 6 17:19:06 GMT 2012
2012/11/6 Raphael Volz <rv at nogago.com>
> Hi Adria,
> I don't know why you would want to have osmosis on an Android device,
>
I wanted to do so because I'm creating an android app that uses the
mapsforge library, and I was trying to convert downloaded osm data to the
"mapsforge format" to use it later in offline mode, and the way mapsforge
converts from osm to its internal map format is by using an osmosis plugin,
so I thought it may be possible to perform that task in the device itself.
but nevertheless, if you want to achieve this, you need to implement those
> libraries used from Java SDK that are not present in the Android SDK. For
> many, you will find a open source implementations in openjdk
> http://hg.openjdk.java.net/.
> You will have to rename the packages (e.g. appending a common prefix to
> avoid conflicts, and do so throughout the osmosis code base).
>
Ok, many thanks. I'll start to fiddle with it right away.
>
> Good luck +
>
>
Raphael
>
> Thanks again :D
> On Tue, Nov 6, 2012 at 5:41 PM, Adrià Ribatallada Torelló <
> achtungwolf at gmail.com> wrote:
>
>> Hi there!
>>
>> I was trying to use the osmosis tool in an android device, and
>> after including all the required libraries to an android project and make
>> it compile and install in the device I'v encountered some "runtime"
>> obstacles that made me consider that the best approach might be to adapt
>> the osmosis source code, adapting it to use the android libraries.
>>
>> (the most severe "obstacle" is a "No validating SAXParser implementation
>> available" while trying to read the file plugin.xml. Is the same error
>> explained here with more detail by this other guy:
>> http://stackoverflow.com/questions/10222230/trying-to-use-osmosis-in-android-environment-duplicate-file-error-with-jar-file/13251374#13251374
>> ).
>>
>> So right now I'm trying to "port" osmosis or at least part of it to use
>> it on an Android device.
>>
>> But before I start what I consider a huge amount of work, I must ask:
>>
>> Has somebody tried to do that or something similar in the past? ( I
>> couldn't found anyone, but maybe I'm not searching in the right places)
>>
>> Is there (a priori) any reason why this endeavor should fail miserably?
>>
>> Thanks in advance for any help you might provide.
>>
>> Sincerely,
>>
>> Adrià Ribatallada i Torelló.
>>
>> --
>> _____ _______ ________
>> / ಠ_ಠ | | ಠ_ಠ \ |__ ಠ_ಠ__|
>> / / | | | / | |
>> / __ | | _ \ | | _
>> /__/ |__| |__| \ _\ |__| |_|
>>
>> _______________________________________________
>> osmosis-dev mailing list
>> osmosis-dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/osmosis-dev
>>
>>
>
>
> --
> Raphael Volz
> nogago GmbH
> Kirchhaldenweg 10, 76597 Loffenau, Germany
>
> Web: www.nogago.com
>
> Phone: +49 7083 9328339
> Fax: +49 7083 9328337
>
> Company Seat / Sitz der Gesellschaft: Loffenau
> Company Register / Handelsregisternummer: HRB 712259, Amtsgericht Mannheim
> Managing Director / Geschäftsführer: Dr. Sara Brockmans.
> nogago is a Volz Innovation company.
>
--
_____ _______ ________
/ ಠ_ಠ | | ಠ_ಠ \ |__ ಠ_ಠ__|
/ / | | | / | |
/ __ | | _ \ | | _
/__/ |__| |__| \ _\ |__| |_|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20121106/675a37c0/attachment.html>
More information about the osmosis-dev
mailing list