Home

Mark Johnson edited this page Jan 20, 2017 · 85 revisions

Welcome to the libjsqlite-spatialite-android wiki!

Project to create the libjsqlite.so used in geopaparazzi

wget https://raw.github.com/geopaparazzi/libjsqlite-spatialite-android/master/archive/20170118.libjsqlite.4.4.0.tar.bz2

wget https://raw.github.com/geopaparazzi/libjsqlite-spatialite-android/master/archive/20170118.libjsqlite.R4.4.0.tar.bz2
  • this version can be used in the next release of geopaparazzi :
DaoSpatialite.JavaSqliteDescription
[
 sqlite[3.8.10.2],
 spatialite[4.4.0-RC1],
 proj4[Rel. 4.9.3, 15 August 2016],
 geos[3.6.1-CAPI-1.10.1 r0],
 rttopo[1.1.0-dev],
 spatialite_properties
 [
  HasIconv[1],HasMathSql[1],HasGeoCallbacks[0],HasProj[1],
  HasGeos[1],HasGeosAdvanced[1],HasGeosTrunk[0],HasRtTopo[1],
  HasGCP[1],HasTopology[1],HasLibXML2[1],
  HasEpsg[1],HasFreeXL[0],HasGeoPackage[1],
  target_cpu[armeabi-v7a]
 ],
 rasterlite2_properties[none]
]
recovery_mode[STRICT]

  • setting compiler specific flags
    • TARGET_ARCH will have the present compiler that is running
      • -mfpu=neon for libwebp-0.4.0.mk
        • must be used for armeabi armeabi-v7a
        • but not used for x86
webp_flags := \
 -DHAVE_CONFIG_H=1 

ifeq ($(TARGET_ARCH),x86)
 LOCAL_CFLAGS   := $(webp_flags)
else 
 ifeq ($(TARGET_ARCH),mips)
  LOCAL_CFLAGS   := $(webp_flags)
 else
  LOCAL_CFLAGS   := -mfpu=neon $(webp_flags)
 endif
endif


  • Projects:


Older Projects that should no longer be used:






  • any *.mk files not found above in the project
    • should be considered, for the moment at least, unusable

2017-01-20: Mark Johnson, Berlin Germany