简体   繁体   English

Android应用程序中的HTML / JS应用程序

[英]HTML/JS app within an Android App

Im looking to create an application written in HTML/JS and wrapped within a Android App. 我希望创建一个用HTML / JS编写并包装在Android App中的应用程序。 The reason for this is that I need to access the device's components (such as the microphone and storage) but because of time restraints I do not have time to full learn Android development. 原因是我需要访问设备的组件(例如麦克风和存储),但是由于时间限制,我没有时间充分学习Android开发。 I am fluent in HTML/JS so it would not take me very long to write the core of the application in these languages. 我精通HTML / JS,因此用这些语言编写应用程序的核心不会花很长时间。 My thought was to write the application in HTML/JS and use a webview within the Android app, then record sounds from the microphone using Java and send them to the HMTL/JS webview. 我的想法是用HTML / JS编写应用程序,并在Android应用程序中使用Webview,然后使用Java记录麦克风的声音并将其发送到HMTL / JS Webview。

Can anyone tell me if this is possible and if so point me in the right direction of where to start. 谁能告诉我这是否可行,如果可以,请指出正确的方向。 If not is there another way that I can do this? 如果没有,我可以采取其他方法吗?

Have a look at PhoneGap , they provide exactly what you want to create yourself. 看看PhoneGap ,它们恰好提供您想要创建自己的东西。

Or one of a list of similar solutions . 类似解决方案列表之一

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

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