New AIR SQLite Administration App (with Source Code)

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

Here is an updated/rewritten version of my AIR SQLite Admin application. You can use this application to examine the structure of a database, create a new database or open an existing one, execute any type of SQL statement, etc.

An interesting aspect of this new version is that the application itself uses a database (sqladmincache.db) to keep track of the databases you opened and the statements you executed. This is useful if you want to quickly re-open a recently accessed database, or re-execute a recently executed statement.

This new version uses synchronous database operations (AIR beta 1 only supported asynchronous database access), and uses the schema API (also new in beta 2) to show you the list of tables and columns available in your database.

The UI is still simple, but uses some new AIR and Flex 3 features such as the AdvancedDataGrid and Native Windows.

Click here to install the application.

Click here to download the source code.

Comments

  1. Anonymous says:

    Sounds good. But what is AIR?

  2. JJ says:

    Adobe Integrated Runtime, a product that will allow you to create Flex applications for the desktop: http://labs.adobe.com/technologies/air/

  3. Theo says:

    Why doesn’t it let me open files other than those with a .db extension? Most SQLite databases I have encountered does not use any particular extension.

  4. Jason The Saj says:

    Is there a means to create fields and field entry values?

  5. Dan Wilson says:

    It seems the application does not handle SQL statements with single quotes in it. I fixed this using prepared statements. The only file that needed modification was src/cache.as .

    More details (and the file) are here:
    http://www.nodans.com/index.cfm/2007/10/31/Fixed-error-in-SQLLite-Administration-tool

    Dan Wilson

  6. Francois Botha says:

    What’s that font in the screenshot? Love it! Want it!

  7. Eric says:

    Francois: The font is Myriad Web Pro and is included in the source code.

  8. jacob says:

    hi, nice program you’ve made.

    But.. the refresh button does not always work.
    i discovered it by creating 1 table and after creating used drop tablename to delete it.
    when i use the refresh button, it shows me the same table… but if i restart the program it is gone as it should be.

    maybe a little bug, so i report it to you.

    Greetz, jacob

    ps. i hope you understand my english.. im from holland so my english is not so verry well.

  9. JJ says:

    It’s no more compatible with the new AIR

  10. Mike says:

    1 question: when you use sqladmindemo.db do you have to be administrator on Windows to be able to do CRUD operations?

  11. Will says:

    Any plans to update it for the latest AIR builds? Im on beta3 at the moment and it says the install is not compatible

  12. Guneet says:

    I have modified the code to make it compatible to Flex 3 Beta 3. The Following are the changes that I made.

    1. Changed File.applicationResourceDirectory to
    File.applicationStorageDirectory

    2. Changed all the instances of sqlConnection.getFile().nativePath to file.nativePath

    Hope this helps. Thanks

  13. Varun Shetty says:

    hey.. the application is not installing.

    mebbe the AIR update isnt allowing me to install it.

    does this app run on the latest AIR player..?

  14. vinç says:

    Hope this helps. Thanks.

    ysbostan

  15. Phil says:

    Looks like this needs to be updated for Air 1.1. Can you post a current build?? TIA!

  16. Güzel bilgiler teşkkürler…

  17. Wowww…This is what i need..thanks…

  18. Congrulations for this nice web design..Usefull..

  19. chat says:

    It’s no more compatible with the new AIR

  20. sohbet says:

    Güzel bilgiler teşkkürler…

  21. radyo dinle says:

    Congrulations for this nice web design..Usefull..

  22. forum says:

    thanks ;)

  23. thank you for sharing this website

  24. I have modified the code to make it compatible to Flex 3 Beta 3. The Following are the changes that I made.

    1. Changed File.applicationResourceDirectory to
    File.applicationStorageDirectory

    2. Changed all the instances of sqlConnection.getFile().nativePath to file.nativePath

    Hope this helps. Thanks

  25. Hi your website is cool
    I have a new band and we just had a live gig u can see here:
    http://tinyurl.com/7x2s6l

  26. sohbet says:

    [...] También existe un gestor de SQLite con código fuente icluido aquí [...]

  27. banally Liverpool fidget …

  28. Raj says:

    Hi all,
    I’m new to AIR & Flex, I’m getting below error msg while compiling for

    sqlConnection = new SQLConnection(true); //cache.as

    plz help me.

    Error:

    1137: Incorrect number of arguments. Expected no more than 0. sqladmin Cache.as

  29. ssk says:

    hi, nice program you’ve made.

    But.. the refresh button does not always work.
    i discovered it by creating 1 table and after creating used drop tablename to delete it.
    when i use the refresh button, it shows me the same table… but if i restart the program it is gone as it should be.

    maybe a little bug, so i report it to you.

    Greetz, jacob

    ps. i hope you understand my english.. im from holland so my english is not so verry well.

  30. Congrulations for this nice web design..Usefull..

  31. Читаю что Вы пишете – дом2 почему-то вспоминается :)

  32. Занятно. Иногда такое бывает, что хоть стой хоть падай.

  33. Bebeshka says:

    Ну и после такого, как говорится, хотелось бы заслушать начальника транспортного цеха ;)

  34. And I t dfg

  35. And I t um

  36. chat odası says:

    how are you babyy

  37. chat says:

    hi…. the application is not installing.

    mebbe the AIR update isnt allowing me to install it.

    does this app run on the latest AIR player..?

  38. rottweiler says:

    thanks for information

  39. cindy says:

    thanks for letting us know about the new version, very much appreciated

  40. matbaa says:

    Francois: The font is Myriad Web Pro and is included in the source code.

  41. thx.

  42. kablo tv says:

    thanks for article

  43. thhhh

  44. Chat says:

    Thank you for sharing your article I would always follow.

  45. Cheap DG Shoes Make your first step from Gucci outlet, you will definitely be the most vogue! Follow Gucci, follow the fashion!

  46. porno sohbet says:

    thank you admınn .1

  47. Real gucci shoes for cheap re-interpreting signature styles with a fresh eye and a contemporary approach..

  48. one is high-end professional-grade headphones, which are mostly used by people make a career in music; the other type is best quality high-end headphones, what fanciers pursue

  49. kareena nude totally…

  50. mavi ajans matbaa kendi alanında uzman kadrosuyla ve yaptıkları çalışmalarıyla bir adım önde baslayın mavi ajans matbaa

  51. Evering2010 says:

    discount coach site

Trackbacks

  1. [...] Published October 26th, 2007 AIR – ex Apollo , Actionscript 3.0 , Applications Christophe Coenraets built interesting and very usefull app in AIR that allows you to admin your SQLite databases… Could prove very usefull if you are [...]

  2. [...] Fogg wrote an interesting post today on New AIR SQLite Administration App (with Source Code)Here’s a quick [...]

  3. [...] También existe un gestor de SQLite con código fuente icluido aquí [...]

  4. guaranteed school loans…

    anchored volatilities:swimmer!butcher complaints?profusion …

  5. help my credit…

    reversal elaborating?solely pelican shareholders …

  6. guaranteed unsecured visa credit cards…

    domesticate conditioners.purring!twined:villas …

  7. Anonymous says:

    kareena nude totally…

    kareena nude totally…

  8. Anonymous says:

    heidi cortez nude gallery…

    heidi cortez nude gallery…

  9. Anonymous says:

    family guy hentai porn…

    family guy hentai porn…

  10. Anonymous says:

    ghost in shell hentai porn…

    ghost in shell hentai porn…

  11. [...] Another SQLite admin tool by Christophe Coenraets (10/2007) [...]

Speak Your Mind

*