SQLite Admin Application for AIR

SQLite Admin Application for AIR

UPDATE: This version is now obsolete. A new version is available here.

I put together this SQL Admin application to help me manipulate my SQLite databases when working with AIR.

The application is based on the SQL Admin for Google Gears I posted recently.

This is an early version and is not fully functional. For example, because in this beta of AIR we don’t expose system tables, I cannot display a list of all tables in the database (In SQLite, this is normally done using SELECT * FROM SQLITE_MASTER). However, you can use the application to create a new database or open an existing one, and execute any type of SQL statement: You can create, alter and drop tables, select, insert, update, delete data, etc…

Guided tour:

To create a new database:

  1. Click New Database
  2. Navigate to a directory of your choice
  3. Specify a file name for the database. For example test.db

To open an existing database:

  1. Click Open Database
  2. Navigate to the database directory, select the database file, and click Open

To add a table, click New Query and type a create statement (or drag “CREATE” from the list of syntax hints in the lower left corner of the screen), and drop it in the Query window.

To insert, update, or delete data, type the corresponding statements in a query window, or drag-and-drop syntax hints from the lower left corner of the screen.

Click here to install the application.

Click here to download the source code.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • StumbleUpon
  • Twitter
This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

35 Comments

  1. AJ
    Posted June 13, 2007 at 10:09 am | Permalink

    Awesome! You just saved me a day of work. Keep up the great work :)

  2. Jim
    Posted June 13, 2007 at 10:14 am | Permalink

    Is there any reason why the system tables are not exposed, do you know? Just curious (it’s stopping me from updating an old swhx project to AIR, but it can wait …)

  3. christophe
    Posted June 13, 2007 at 10:26 am | Permalink

    Jim,
    The current idea is to expose an API to expose the schema, as opposed to relying on database specific syntax. That API didn’t make it into the beta.
    Christophe

  4. Posted June 13, 2007 at 12:04 pm | Permalink

    Awesome work, thank you very much !

    It seems to me the better way to start to learn SLQLite admin with Apollo. Like Jim, I’m waiting for the full support for system tables.

  5. Jim
    Posted June 13, 2007 at 12:45 pm | Permalink

    thanks Christophe, the schema API seems like a better idea to me in the longer term (especially if other db support were ever to be added), I’ll look forward to seeing it.

  6. max
    Posted June 13, 2007 at 1:03 pm | Permalink

    This application could not be installed or launched (AIR file D:\Eigene Dateien emotionslos\Eigene Downloads\airsqladmin.air is invalid: Unrecognized version namespace “http://ns.adobe.com/air/application/1.0.M4″.).

    Does someone have any idea whats going wrong? I’ve installed the flex3 beta, but isnt that required?

  7. Jorge Hernandez
    Posted June 13, 2007 at 1:18 pm | Permalink

    Good work with this usage of the sqldb API. I’ll keep you posted on the schema API when I find out more.

  8. Posted June 16, 2007 at 5:02 pm | Permalink

    What’s the extension for a “database” file? I created a database file called test, but i didn’t give it an extension and now i can’t open it because it’s not a database file. Email me or something. Thanks

  9. Chris Turvey
    Posted June 22, 2007 at 6:36 am | Permalink

    Jhecht,

    The extension for the database would be “.db” … It seems to work pretty well…I had initially not given an extension either… I just tried the “.db” extension… Had that not worked I would have probably read the code to see if I could figure it out.

  10. Posted August 4, 2007 at 12:38 pm | Permalink

    buy delivery valium from buy valium

  11. Mounstar
    Posted August 27, 2007 at 5:22 pm | Permalink

    god bless the masters!!! really cool!

  12. Posted October 15, 2007 at 9:36 am | Permalink

    Our watch replica price is cheaper than other website, and the watch replica is the good watch. you can choose any watch replica to placed order, Once we receive your payment, we will handle the watch replica shipment.

  13. Posted October 16, 2007 at 11:46 am | Permalink

    No release for AIR 2 ?

  14. Posted October 19, 2007 at 11:19 am | Permalink

    Hi!! This is my site.
    black bondage fucking

  15. Posted October 19, 2007 at 1:02 pm | Permalink

    Hi!! This is my site.
    black bondage fucking

  16. Posted October 20, 2007 at 11:51 am | Permalink

    Hi!! This is my site.
    couple fucking pic

  17. Posted October 21, 2007 at 2:03 am | Permalink
  18. Posted November 6, 2007 at 5:08 pm | Permalink

    XRumer 4.0 is the perfect tool for promotion!
    It’s have CAPTCHA recognizer, email verificator, and a lot of other functions…

    But. I forgot link to it :(

    Can you give me URL to the xrumer description? screenshots, etc.

    Thanks

  19. flashcrobat
    Posted December 19, 2007 at 4:09 pm | Permalink

    Hi, I always follow your blog and have got great help uot of it. somehow when I try to install your air application, I get an installation error message:
    ‘This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version.’
    any advice?
    cheers

  20. Posted April 14, 2008 at 7:55 am | Permalink

    thank’s. thats great.

    please un comment for bots..

  21. Posted April 14, 2008 at 8:00 am | Permalink

    This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version.

    this your program install error

  22. Posted June 5, 2008 at 10:46 am | Permalink

    Приветствую всех!
    У меня такой вопрос,кто что интересное подскажет буду признателен.
    Мы с друзьями собираемся поехать в круиз по просторам России и ближнего зарубежья месяца на два на своих машинах,но не как не можем согласовать маршрут,если у кого уже был опыт такого путешествия,может,что посоветуете.Девчонок с собой не берем,думаем,что во все городах России с этим не будет проблем,если у кого будут рекомендации и в вопросе отдыха с девушками тоже буду признателен.

    С уважением Сеньчик

  23. Posted August 5, 2008 at 6:18 am | Permalink

    d1PMZ1 xf78fg623fv0skghlq56fd

  24. Posted August 22, 2008 at 6:37 am | Permalink

    Good work with this usage of the sqldb API. I’ll keep you posted on the schema API when I find out more.

  25. Posted August 22, 2008 at 6:37 am | Permalink

    thank’s. thats great.

  26. Posted August 22, 2008 at 6:38 am | Permalink

    Hi!! Good work!!

  27. Posted August 24, 2008 at 10:12 pm | Permalink

    bond lesbian julia bond lesbian bound

  28. Assorscog
    Posted September 3, 2008 at 2:01 am | Permalink

    cheap revolver hillcountryrifles lasers for pistols indoor pistol range construction highpower rifle sale

  29. Posted August 18, 2009 at 7:08 pm | Permalink

    Весьма спорно, но как вариант имеет право на жизнь

  30. Posted May 20, 2010 at 5:57 pm | Permalink

    thanks your post admin…Good work.

  31. Posted June 21, 2010 at 2:10 pm | Permalink

    Thanks your good post admin.

  32. Posted August 8, 2010 at 8:55 am | Permalink

    What’s the extension for a “database” file? I created a database file called test, but i didn’t give it an extension and now i can’t open it because it’s not a database file. Email me or something. Thanks

  33. Posted August 14, 2010 at 1:27 pm | Permalink

    but i didn’t give it an extension and now i can’t open it because it’s not a database file. Email me or something.

  34. Posted August 14, 2010 at 1:28 pm | Permalink

    sion for a “database” file? I created a database file called test,

  35. Posted August 14, 2010 at 1:29 pm | Permalink

    Once we receive your payment, we will handle the watch replica shipment.

14 Trackbacks

  1. [...] Here is a very simplistic example that adds and removes records from a table in a local SQLite database. This is not a fully completed AIR project but this code can probably be reused by anyone wanting to get started with AIR+SQLite. There are a couple of other AIR+SQLite examples out there to check out and don’t forget the documentation on the adobe site. [...]

  2. [...] Here is a very simplistic Flex Builder 3 and AIR example that adds and removes records from a table in a local SQLite database. This is not a fully completed AIR project but this code can probably be reused by anyone wanting to get started with AIR+SQLite. There are a couple of other AIR+SQLite examples out there to check out and don’t forget the documentation on the adobe site. Installer: AIRSQLiteExample.air [...]

  3. [...] Optionally start the AIR SQLite Admin tool. [...]

  4. By Dev::Info on June 15, 2007 at 12:37 pm

    Pár tipů pro Adobe AIR…

    Drag and drop mezi AIR aplikací a desktopem, ukázka práce s databází SQLite a SQLite Admin pro AIR.

  5. [...] Most AIR developers already know about the AIR SQL Admin tool made with Flex/AIR by Christophe Coenraets but it’s not the only tool out there to help create, manipulate and control a local SQLite database…there are actually quite a few available and some are better than others IMO. [...]

  6. By Buy valium with mastercard. on July 24, 2007 at 5:28 pm

    Buy valium with mastercard….

    Buy valium with mastercard….

  7. [...] Given that I can’t get to session data yet in Firefox3, I’ll likely, ironically, try and recreate some of my visualizations with AIR, which can read the SQLite Firefox3 history/bookmarks/cookie dbs directly. [...]

  8. By Anonymous on March 24, 2008 at 4:59 am

    Hard Suck Gay…

    Hard Suck Gay…

  9. By Anonymous on March 24, 2008 at 5:00 am

    Cumonmarie Clips…

    Cumonmarie Clips…

  10. By Anonymous on April 3, 2008 at 2:29 am

    Hermine Nude Sexy…

    Hermine Nude Sexy…

  11. By Anonymous on April 3, 2008 at 2:29 am

    Horny Hairy Girls 3…

    Horny Hairy Girls 3…

  12. By Anonymous on April 3, 2008 at 8:47 pm

    Sara Stone Wet T Shirts…

    Sara Stone Wet T Shirts…

  13. By Anonymous on April 3, 2008 at 8:47 pm

    Lithle Girls Kds Bbs…

    Lithle Girls Kds Bbs…

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>