Extending SQLite functions
Hi all,
I am looking at the discussion over at: <https://appcelerator.tenderapp.com/discussions/titanium-mobile-discussion/1685-extending-sqlite-for-map-calculations>
And trying to figure out how to extend SQLite with the functions described (getDistance()) or any other function for that matter.
I understand things need to be 'recompiled' but what exactly needs to be recompiled and where should I add the code?
Thanks
2 Answers
-
Yes, this is a bump.
I really hope the involvement of Appcelerator people in this Q&A section, since their new round of capital funding, improves. -
For the people that found this thru search. I've solved it:
Check out my pull request on Github, and see the diff for the changes you need to make to what files to get a custom sqlite function to work.
Note that all the SDK files are in ~/Library/Application Support/Titanium/mobilesdk (on a mac)