regards
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
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