简体   繁体   English

如何在Android智能手机中打开MS Access数据库?

[英]how to open ms access database in android smartphone?

I have created application software in vb 6 long year back which accessing database from Ms access in my pc. 很久以前,我已经在vb 6中创建了应用程序软件,该软件可以从我的PC中的Ms Access访问数据库。 Now I am looking for put that Ms access database in my android phone and view it. 现在,我正在将Ms access数据库放入我的android手机中并查看它。 How to do that? 怎么做?

First, there are some definitions to understand here, namely database, software, and operating system. 首先,这里需要理解一些定义,即数据库,软件和操作系统。 Access is two-fold as it combines a Front-End GUI management system with a Back-End database engine, Jet/ACE. Access是双重的,因为它将前端GUI管理系统与后端数据库引擎Jet / ACE结合在一起。

Ms Access as the software program is strictly a Windows PC software. Access女士作为软件程序严格来说是Windows PC软件。 Jet/ACE database server is strictly a Windows PC technology. Jet / ACE数据库服务器严格是Windows PC技术。 So, neither component of Access can run in any other operating system including Mac, Linux, iOS, and Android. 因此,Access的任何组件都不能在任何其他操作系统(包括Mac,Linux,iOS和Android)中运行。 Now with that said, there may be private developer solutions listed on Google Play or Chrome web store which are not Microsoft products. 如此说来,在Google Play或Chrome网络商店上可能列出了不是Microsoft产品的私人开发人员解决方案。

Therefore, some type of conversion and development is warranted in order to run your Access database content on Android. 因此,为了在Android上运行Access数据库内容,必须进行某种类型的转换和开发。 One such route mentioned in the comments includes SQLlite (which is like Access as a file server database or database that exists as individual files) claimed to be the most widely deployed database. 评论中提到的一种这样的路由包括SQLlite (类似于Access作为文件服务器数据库或作为单个文件存在的数据库),它被认为是部署最广泛的数据库。

In order to do this, you need to do the following: 为此,您需要执行以下操作:

  1. Download the free SQLlite for your computer AND as an app for your Android device. 为您的计算机下载免费的SQLlite,并为Android设备下载应用程序。
  2. Then you must export your database tables into popular data flatfile formats (csv, txt, xml). 然后,您必须将数据库表导出为流行的数据平面文件格式(csv,txt,xml)。
  3. Next, you need to import such data into SQLlite either with some type of management console (Firefox browser has a great plugin Add-on ) or with code (Python maintains a built-in SQLlite module) and import/append data from aforementioned data types. 接下来,您需要通过某种类型的管理控制台(Firefox浏览器具有出色的插件Add-on )或通过代码(Python维护内置SQLlite模块)将此类数据导入SQLlite,并从上述数据类型导入/追加数据。 In fact with code you can directly connect to Jet/ACE engine via ODBC to extract database content and then migrate it to SQLlite without need of csv, txt, xml import/export route. 实际上,使用代码,您可以通过ODBC直接连接到Jet / ACE引擎以提取数据库内容,然后将其迁移到SQLlite,而无需使用csv,txt,xml导入/导出路由。
  4. Connect your mobile device to your computer. 将您的移动设备连接到计算机。
  5. Transfer the sqllite file by simply moving files over between folders. 只需在文件夹之间移动文件即可传输sqllite文件。

Other considerations is to run your Access as a web database in Office365 and log in via your Android over the web. 其他注意事项是在Office365中将 Access作为Web数据库运行, 然后通过Android通过Web登录。 Alternatively, export your Access database to server level database system (SQL Server, MySQL, PostgreSQL, etc.) that runs over the web and then download the corresponding system app to view and manage content or build your own app to connect. 或者,将Access数据库导出到在Web上运行的服务器级数据库系统(SQL Server,MySQL,PostgreSQL等),然后下载相应的系统应用程序以查看和管理内容或构建自己的应用程序以进行连接。 Same above route with data file export or coding will convert between Access and any other system. 与数据文件导出或编码相同的上述路线将在Access和任何其他系统之间转换。

I use the HandDBase app for my Android. 我将HandDBase应用程序用于Android。 First you need to download their desktop software which will convert the MS Access tables you want into their own format. 首先,您需要下载其桌面软件,该软件会将所需的MS Access表转换为自己的格式。 Then I synch the recently converted tables to the HandDBase app and I'm good to go. 然后,我将最近转换的表同步到HandDBase应用程序,我很好。 It is a two step process but also allows for encryption which makes me feel more comfortable as I'm not really great with SQL and am afraid my information might be vulnerable somewhere. 这是一个两步过程,但同时也允许进行加密,这使我感到更加自在,因为我对SQL不太了解,并且担心我的信息可能在某个地方容易受到攻击。

Link: http://www.ddhsoftware.com/handbase.html 链接: http//www.ddhsoftware.com/handbase.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM