Recent

Author Topic: Android and SQLite  (Read 3379 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2148
    • Lazarus and Free Pascal italian community
Android and SQLite
« on: September 28, 2014, 05:27:13 pm »
I used laztoapk and now I can realize applications for Android, but I still have not figured out how to use the database on android. For example, how can I use sqlite? What components should I use and how? I've seen that shows the component TSQLDBLibraryLoader but I do not see how to connect it to other components of the db. Does anyone have some examples?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2148
    • Lazarus and Free Pascal italian community
Re: Android and SQLite
« Reply #1 on: September 29, 2014, 04:09:13 am »
no idea?!
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Android and SQLite
« Reply #2 on: September 29, 2014, 08:10:35 am »
What does a forum search/wiki search tell you? Any results? I remember similar questions in the past.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

xinyiman

  • Hero Member
  • *****
  • Posts: 2148
    • Lazarus and Free Pascal italian community
Re: Android and SQLite
« Reply #3 on: September 29, 2014, 08:30:39 am »
yes but not found a solution
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Android and SQLite
« Reply #4 on: September 29, 2014, 08:34:28 am »
So apparently SQLDB cannot be used but there's something called  TSqliteJNIDataset that can be used...

http://forum.lazarus.freepascal.org/index.php/topic,20371.msg117494.html#msg117494

http://forum.lazarus.freepascal.org/index.php/topic,23208.msg138297.html#msg138297

If sqldb had become available since those posts, surely there would have been a notification on the forum or an update on some android page on the wiki??
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018