简体   繁体   English

使用Ucanaccess通过android设备连接到本地服务器上的mdb

[英]Connecting to an mdb on a local server through android device using Ucanaccess

Hi All who are interested. 嗨,所有有兴趣的人。

I've taken it upon myself to work on a small project (with big ideas..!) for work which I think will massively improve productivity. 我承担了自己的一个小项目(有很大的想法..!)的工作,我认为这将大大提高生产率。 It's also challenging me to learn some new - app developing for Android devices! 学习一些新的应用程序也为我带来了挑战-为Android设备开发应用程序!

I've identified as Ucanaccess as the starter for connecting to the database from the Android device. 我已将Ucanaccess确定为从Android设备连接到数据库的入门者。

I just need a pointer in determining what should be my connection URL (jdbc:ucanaccess://). 我只需要一个指针来确定什么是我的连接URL(jdbc:ucanaccess://)。 From what I've read up on, typically you would map the folder ie X:\\ and you're on your way basically. 根据我所读的内容,通常您将映射该文件夹,即X:\\,基本上就可以了。

My Android device is on a local network, my database is on the same network, in a shared folder of a regular desktop PC. 我的Android设备在本地网络上,我的数据库在同一网络上,位于常规台式机的共享文件夹中。

Ideally I'd like to keep password protection on the folder containing the database as it, allowing only users with login credentials on the PC. 理想情况下,我想在包含数据库的文件夹中保留密码保护,只允许在PC上具有登录凭据的用户使用。

If I was to put the database on the Android device for testing purposes of other functions, for example SDCard\\Documents. 如果要将数据库放在Android设备上以测试其他功能,例如SDCard \\ Documents。 What would the URL need to be then for Ucanaccess to work? 要使Ucanaccess正常工作,需要使用什么URL?

Assuming that your ultimate goal is to have multiple concurrent users running the Android app and updating a shared database then UCanAccess is not a good fit. 假设您的最终目标是让多个并发用户运行Android应用程序并更新共享数据库,则UCanAccess不适合。 See the UCanAccess blog post 请参阅UCanAccess博客文章

Multiuser concurrent write access 多用户并发写访问

for details. 有关详细信息。

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

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