连接到桌面应用程序的Android应用程序 [英] Android application that connects to desktop application

查看:82
本文介绍了连接到桌面应用程序的Android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建连接到桌面应用程序的Android应用程序。我为这两种应用程序(Android和桌面应用程序)选择了什么语言和数据库技术?

我很难选择技术和语言来开发应用程序,帮助我解决这个问题。谢谢



我尝试过:



我构建桌面应用程序在Windows Form App上使用C#并在mysql上构建数据库,并构建android app。

How do I create an Android application that connects to desktop Application. what languages i choose and what technology use for database for both application (Android and Desktop app) ?
I am confuse to choose the technology and languages to develop the application, help me to cater this out. Thanks

What I have tried:

I build the desktop application on Windows Form App using C# and build database on mysql , and build android app.

推荐答案

对于通信部分,您可以选择,例如,套接字(android app)将是客户端,桌面显示将是服务器)。

数据库选择取决于您要开发的应用程序。如果您打算只使用桌面上的数据库,那么 MySQL 就可以了。如果您需要Android设备上的本地存储,那么您可以使用 SQLite
For the communication part you may choose, for instance, sockets (the android app would be the client and the desktop allication would be the server).
The database choice depends on the application you are going to develop. If you intend to use just the database on the desktop then MySQL is fine. If you need local storage on the android device then you could use SQLite.


嘿,



由于 SQLite 长期以来被用作Android的数据库引擎我相信应该更加强大。另外,我在WF上使用了 SQLite ,我可以保证工作真棒。如果您使用 SQLite ,那么将有苹果派和雪佛兰。

关于通信部分,老实说,你有很多不同的基于SOA的方法,基于客户端 - 服务器的资源共享等等。试着找出你的瓶颈和你的通信安全性和可靠性。例如,您可以使用WebSocket,如 Autobhan ,如果您确实需要通过Web应用程序扩展通信,或者只使用简单的协议即可在WF范围内。



祝你好运,

A.H。
Hey,

Since SQLite get to used for a long time as a database engine for Android I believe should be more robust one. Plus, I used SQLite on WF and I can guarantee works awesome. So will have apple pie and Chevrolet if you use SQLite.
About the communication part, well honestly you have so many different ways SOA based, Client-Server based Resource sharing and etc. Try to figure out your bottleneck and your communication safety and reliability. For, example you can use WebSocket, like Autobhan if you do need to extend your communication over web application or you can use just simple protocols if it is in WF scope.

Good luck,
A.H.


这篇关于连接到桌面应用程序的Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆