1

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

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

4

1 回答 1

3

我应该像在非移动应用程序中使用带有 Flex 4.5.1 的 SQLLite 数据库一样工作。

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

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

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

于 2011-06-26T15:40:06.233 回答