AntiFeatures:Tracking
Categories:Navigation
License:GPLv3
Web Site:http://osmand.net
Source Code:https://github.com/osmandapp/Osmand
Issue Tracker:https://github.com/osmandapp/Osmand/issues
Donate:https://code.google.com/p/osmand/#Please_support_the_project

Auto Name:OsmAnd~
Summary:Offline/online maps and navigation
Description:
Osmand~'s features can be extended by enabling the plugins via the settings,
which include online maps from many sources, tracking, OSM editing and
accessibility enhancements.

Map data of both vector and raster types can be stored on the phone memory
card for offline usage, and navigation by default uses offline methods. Map
data packages for many territories can be downloaded from within the app and
there is a desktop program available on the website as well for creating your
own.
.

#Repo Type:git
#Repo:https://github.com/osmandapp/Osmand
Repo Type:git
Repo:https://github.com/mvdan/OsmAnd-submodules

# Old builds with the old repo
#Build:0.6.5,34
#    commit=v0.6.5
#    subdir=OsmAnd
#    encoding=utf-8
#    prebuild=mkdir assets && \
#        mkdir raw
#
#Build:0.6.6,36
#    commit=v0.6.6_2
#    subdir=OsmAnd
#    encoding=utf-8
#    prebuild=mkdir raw
#
#Build:0.6.7,37
#    commit=v0.6.7
#    subdir=OsmAnd
#    encoding=utf-8
#    patch=code37.patch
#    prebuild=mkdir raw
#
#Build:0.6.8,39
#    commit=v0.6.8
#    subdir=OsmAnd
#    encoding=utf-8
#    prebuild=mkdir raw
#
#Build:0.6.8',41
#    disable=No corresponding source for whatever this is
#    commit=unknown - see disabled
#
#Build:0.6.9,42
#    commit=v0.6.9
#    subdir=OsmAnd
#    encoding=utf-8
#    prebuild=mkdir raw
#
#Build:0.6.9',43
#    disable=No corresponding source for whatever this is
#    commit=unknown - see disabled
#
#Build:0.8.1,65
#    commit=d62472532d8
#    subdir=OsmAnd
#    target=android-8
#    init=rm -f build.xml
#    encoding=utf-8
#    forceversion=yes
#    prebuild=cd ../DataExtractionOSM && \
#        ant compile build && \
#        cd ../OsmAnd/ && \
#        cp ../DataExtractionOSM/build/OsmAndMapCreator.jar libs/ && \
#        zip -d libs/OsmAndMapCreator.jar net/osmand/LogUtil.class && \
#        cp -r ../DataExtractionOSM/build/lib/ libs/
#    buildjni=no
#
#Build:0.8.2,71
#    commit=50a4733475cd
#    subdir=OsmAnd
#    submodules=yes
#    target=android-8
#    init=rm -f build.xml
#    encoding=utf-8
#    forceversion=yes
#    forcevercode=yes
#    prebuild=cd ../DataExtractionOSM && \
#        ant compile build && \
#        cd ../OsmAnd/ && \
#        sed -i 's/app_version">[^<]*/app_version">0.8.2-fdroid/' res/values/no_translate.xml && \
#        cp ../DataExtractionOSM/build/OsmAndMapCreator.jar libs/ && \
#        zip -d libs/OsmAndMapCreator.jar net/osmand/LogUtil.class && \
#        cp -r ../DataExtractionOSM/build/lib/ libs/
#    buildjni=yes

Build:1.7.5,175
    disable=rendering fails for some reason, see maintainer notes.
    commit=f4407c708f1bba2455c600855e65e879b2f45d3e
    subdir=android/OsmAnd
    submodules=yes
    forcevercode=yes
    init=rm -f ../SherlockBar/build.xml build.xml
    prebuild=for dpi in mdpi hdpi xhdpi; do for icon in h_arrow mx_user_defined; do cp ../../resources/rendering_styles/style-icons/drawable-$dpi/$icon.png res/drawable-$dpi/$icon.png; done; done && \
        sed -i 's/app_version">[^<]*/app_version">1.7.5/' res/values/no_translate.xml
    build=./full-ndk-build.sh && \
        ant jar native-libs -f ../../tools/OsmAndMapCreator/build.xml && \
        ant build -f ../OsmAnd-java/build.xml && \
        mv ../OsmAnd-java/OsmAnd-core-* libs/
    buildjni=no

Maintainer Notes:
No UCMs apply because git never contains actual releases, only pre-releses.

Rendering failure log:
    E/net.osmand(25914): MapRenderRepositories Runtime memory exception
    E/net.osmand(25914): java.lang.NullPointerException
    E/net.osmand(25914):    at net.osmand.render.RenderingRuleSearchRequest.<init>(RenderingRuleSearchRequest.java:24)
    E/net.osmand(25914):    at net.osmand.plus.render.MapRenderRepositories.loadMap(MapRenderRepositories.java:579)
    E/net.osmand(25914):    at net.osmand.plus.resources.AsyncLoadingThread.run(AsyncLoadingThread.java:126)
.

Auto Update Mode:None
Update Check Mode:None
Current Version:1.7.5
Current Version Code:175

