app inventor webviewer 无法从 html 表单上传文件
app inventor webviewer can't upload files from a html form
我制作了一个 html/php 表格,允许我上传文件。当我在我的电脑浏览器中打开它时,它工作得很好。当我用我的手机浏览器打开这个网站时,它也可以工作,当我点击 select 文件时,我可以选择我想使用哪个应用程序来获取我想上传的文件。
但是当我从我的应用程序中使用 webviewer
打开这个网站时,当我点击按钮上传声音时,没有任何反应。整行都是 selected,点击按钮什么也没做。
感谢您的帮助。
webviewer
不是完整的浏览器,因此这不起作用。
但是您可以改用 activity starter
,请参阅有关 Using the Activity Starter
的文档
Open the browser to a Web page
Use these activity starter properties
to open a specific web page:
Action: android.intent.action.VIEW
DataUri: http://news.google.com
或者将 web
组件与 PostFile
块一起使用,参见示例 here
我制作了一个 html/php 表格,允许我上传文件。当我在我的电脑浏览器中打开它时,它工作得很好。当我用我的手机浏览器打开这个网站时,它也可以工作,当我点击 select 文件时,我可以选择我想使用哪个应用程序来获取我想上传的文件。
但是当我从我的应用程序中使用 webviewer
打开这个网站时,当我点击按钮上传声音时,没有任何反应。整行都是 selected,点击按钮什么也没做。
感谢您的帮助。
webviewer
不是完整的浏览器,因此这不起作用。
但是您可以改用 activity starter
,请参阅有关 Using the Activity Starter
Open the browser to a Web page
Use these activity starter properties to open a specific web page:Action: android.intent.action.VIEW
DataUri: http://news.google.com
或者将 web
组件与 PostFile
块一起使用,参见示例 here