简体   繁体   English

具有异地处理功能的Android应用

[英]Android app with off-site processing

I'm wondering what would be a good way to build an Android application with offsite processing. 我想知道哪种方法可以构建具有异地处理的Android应用程序。 Essentially I am going to record an input (audio recording or photo), and then send it to a computer I have online (securely - probably using HTTPS). 本质上,我将记录输入(音频记录或照片),然后将其发送到我在线的计算机上(安全地-可能使用HTTPS)。 I then will have the computer process the data and send back a response. 然后,我将让计算机处理数据并发送回响应。

Essentially this is a Shazam like application, except everywhere I look to how Shazam works they talk about the processing algorithm, not the process. 本质上,这是一个类似于Shazam的应用程序,除了我到处都是Shazam工作原理的地方,他们都在谈论处理算法,而不是过程。 Any help would be appreciated. 任何帮助,将不胜感激。

If your server processing may take time, you can use Push Notification to tell the application that you are done on the server side. 如果您的服务器处理可能需要时间,则可以使用“ 推送通知”来告知应用程序您已在服务器端完成操作。 The application can then get the result instead of holding up the connection for too long. 然后,应用程序可以获得结果,而不用太长时间保持连接。

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

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