Menu

Sqlite problem

Anonymous
2016-01-17
2021-03-03
  • Anonymous

    Anonymous - 2016-01-17

    hi!
    i have some problem with using sqlite,- cant initialisate it.
    i use win7. sqlite3 had installed,- in cmd.exe can use it, but in x-11 cant: err "sqlite3 its not a brogramm or .bat"
    And for Android i cant use it too. Cant install sqlite3 package,- url in app is illegal (http://www.zois.co.uk/dl/sqlite3).
    Can smb help me?

     
  • Markus Hoffmann

    Markus Hoffmann - 2016-01-19

    You are right. The Download page for the sqlite binary has vanished. However there is a little project which can compile a sqlite3-static binary for Android:

    https://github.com/stockrt/sqlite3-android

    Maybe someone needs to compile it for you.

     
  • Markus Hoffmann

    Markus Hoffmann - 2016-01-19

    concerning sqlite on WIN7: Where exactly is sqlite3.exe installed? In which directory?
    What is the exact command you used to call it from X11-Basic? maybe it should be called with the ending .exe.

     
  • Anonymous

    Anonymous - 2016-01-20

    on win7 sqlite installed in C:\Windows\System32 and i was used:
    system "sqlite3"
    system "sqlite3.exe"
    system "C:\Windows\System32\sqlite3.exe"
    and system "cmd" next in cmd "sqlite3". ending.exe - dont work too.
    and was used "sqldemo.bat" from examples


    for android. thank, but compilling wil dont need becourse i use androuid 4.1.1 and it for android 5.0 and upper(((

     
    • Markus Hoffmann

      Markus Hoffmann - 2016-01-26

      Hm, maybe the SYSTEM command is not working at all?

       
  • Markus Hoffmann

    Markus Hoffmann - 2016-01-26

    Maybe good news: the next release for Android will have a sqlite3 binary included in the .apk package. I am also going to adapt the sqldemo.bas.

     
  • Markus Hoffmann

    Markus Hoffmann - 2016-01-27

    The release is out (1.24-33) sqldemo.bas should now work without downloading anything.

     
  • Yet Another Troll

    sqldemo.bas fails on Android 5.1.1 using the 1.25-50 APK. It appears the included sqlite3 is not a 'position independent executable' (PIE) and is therefore not supported.

     
  • Markus Hoffmann

    Markus Hoffmann - 2019-06-04

    Hm, it seems only work on Android versions before and equal 5.0.

     
    • Anonymous

      Anonymous - 2020-10-03

      There is a newer precompiled download page. Is this suitable?

       
  • Markus Hoffmann

    Markus Hoffmann - 2020-10-04

    The problem is Android related. sqlite is called as a native excecutable from X11-Basic. This is not possible anymore in more recent Android versions. So sqlite needs to be implemented as a library or something like that. I am not an expert on sql at all, so I would need advice/suggestions how this should be implemnted in X11-Basic (maybe as a built-in command).

     
  • Markus Hoffmann

    Markus Hoffmann - 2021-02-18

    The issue on Android 5.0 up to 9 has been fixed now. Please test the most recent version: 1.27-63 (163) p.ex. found here: https://f-droid.org/en/packages/net.sourceforge.x11basic/

     
    • Yet Another Troll

      sqldemo now works on all my Android devices, 4.4.4, 5.1.1, 9, 10, and 11. Muchas gracias!

       
  • Markus Hoffmann

    Markus Hoffmann - 2021-03-03

    Ok, great. Thanks for testing. So this issue can be closed.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.