Sqlite Math and load_extension

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Sqlite Math and load_extension

Postby spenko » Sat Sep 05, 2009 11:37 am

i need to work with math functions (like sin,cos,sqrt,rad,degree etc.) on some geographical point stored in sqlite db.

I know that sqlite doesn't support math function but there are some extension that implements this functions.
Is it possible to load extension in android. If yes, how can load it?

I try to run this query _db.execSQL("SELECT load_extension('extension-functions2.so');");
but this is the result
09-05 11:17:34.491: ERROR/Database(737): Failure 1 (not authorized) on 0x18fbb0 when executing 'SELECT load_extension('extension-functions.so');'

Thanks in advance

Posts: 2
Joined: Mon Aug 24, 2009 10:19 am


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests