Hi Adria, I don't know why you would want to have osmosis on an Android device, 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).
Good luck + Raphael On Tue, Nov 6, 2012 at 5:41 PM, Adrià Ribatallada Torelló < [email protected]> 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 > [email protected] > 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.
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
