【问题标题】:Flex for mobile - working with databasesFlex for mobile - 使用数据库
【发布时间】:2011-06-26 15:29:51
【问题描述】:

请问在 Flex 4.5.1 for Mobile 应用程序中如何使用 SQLite 数据库? 我正在寻找创建一个可以重用的通用类。目前我只希望它处理查询并返回结果或错误事件。

另外,我不确定我应该为移动设备使用同步连接还是异步连接。

【问题讨论】:

    标签: database apache-flex sqlite mobile flex4.5


    【解决方案1】:

    我的工作方式应该与在非移动应用程序中使用带有 Flex 4.5.1 的 SQLLite 数据库相同。

    以下是 Google 中出现的一些链接:

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/SQLConnection.html

    http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_03.html

    http://www.adobe.com/devnet/air/flex/articles/air_sql_operations.html

    http://www.adobe.com/devnet/air/flex/articles/sqlite_db_api_in_air.html

    基于对上述文章的快速回顾;看起来它们可以在同步和同步模式下运行,具体取决于您使用openopenASync 打开它的方式。

    【讨论】:

      猜你喜欢
      • 2011-10-11
      • 2023-04-01
      • 2012-07-09
      • 1970-01-01
      • 1970-01-01
      • 2012-04-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多