Android Question Spatilite problems

Discussion in 'Android Questions' started by PABLO2013, Mar 26, 2018.

  1. PABLO2013

    PABLO2013 Active Member Licensed User

    I have the problem this worked well in sdk 14, now sdk 27 not... the problem is that I can not move to 14 either because it also gives problem ... how could I solve it ...

    SpatialiteStatement=SpatialiteDatabase.Prepare("SELECT AsBinary(ST_Transform(Geometry, ?)) AS CountryPolygon FROM "&TABLE_NAME&" WHERE name=?")

    works :::::::<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
    it does not work::::::::<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="27"/>

    countryfinder_getcountrypolygon (java line: 145)
    java.lang.NullPointerException: Attempt to invoke virtual method 'void
    java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftware.b4a.BA.setLastException(java.lang.Exception)' on a null object referenceanywheresoftware.b4a.BA.setLastException(java.lang.Exception)' on a null object reference
  2. Erel

    Erel Administrator Staff Member Licensed User

    Hard to say. Check the unfiltered logs there might be more information there.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice