简体   繁体   English

相机记录审查并上传android网络视图

[英]Camera record review and upload android web view

Researching if it is possible to create a web app with jruby and ruboto that has access to android camera where user can record, review, and upload clip to server as either a native app or web app. 研究是否可以使用jruby和ruboto创建可以访问android相机的Web应用程序,用户可以在其中录制,查看和将剪辑作为本机应用程序或Web应用程序上传到服务器。

Not much documentation for this type of functionality. 这类功能的文档不多。

Would like to prototype a demo using ruby since syntax is easier to understand. 由于语法更易于理解,因此想使用ruby制作演示原型。

There are several Ruboto tutorials that should help you: 有一些Ruboto教程可以为您提供帮助:

https://github.com/ruboto/ruboto/wiki/Tutorials-and-examples https://github.com/ruboto/ruboto/wiki/Tutorials-and-examples

Use camera: 使用相机:

Post results: 发布结果:

The last uses the HTTP GET protocol, but switching to POST is trivial. 最后一个使用HTTP GET协议,但是切换到POST是很简单的。

The server side is a regular JRuby web app using Sinatra, Rails, etc. 服务器端是使用Sinatra,Rails等的常规JRuby Web应用程序。

If you ned more help, file a ticket at https://github.com/ruboto/ruboto/issues 如果您需要更多帮助,请在https://github.com/ruboto/ruboto/issues上提交票证

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

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