之一,在我写的应用的关键要求是,用户能够从一个表单中上传(输入类型=文件)中的照片。
One of the crucial requirements in the application I am writing is that user being able to upload (input type="file") a photo from within a form.
请问在Android网页浏览器支持文件上传?如果是做1.5+支持它的版本?
Does the android web browser support File Uploads? If yes do all versions 1.5+ support it?
是的,没有。有些人似乎有问题,这样做(如在评论中概述)。虽然它的工作为我所有的设备,它的完全有可能是一个不同的浏览器可能无法在所有执行此功能
Yes and no. Some people seem to have problems doing so (as outlined in the comments). Although it worked for all my devices, it's entirely possible that a different browser might not at all implement this feature.
不过,用户可以上载在SD卡上的任何文件,但是音频视频和图像文件,这些文件在内部/外部存储。的类型的文件,你可以上传依赖上所安装的应用程序。如果你有一个文件管理器安装(或随操作系统),你也可以用它来上传你想要的任何文件(画廊和媒体播放器应该永远是present)。
The user can however not upload any file on the SD Card, but Audio-, Video- and Image-Files that are on the internal/external storage. The kind of files you can upload depend on the installed applications. If you have a File-Manager installed (or shipped with the OS), you can also use it to upload any file you want (Gallery and Mediaplayer should always be present).
当的&LT上传按钮;输入类型=文件>
是pressed,浏览器似乎发送Intent.ACTION_GET_CONTENT-Intent,所以每一个应用程序听,这是一个可能的文件源。
When the upload-button of a <input type="file">
is pressed, browsers seem to send the Intent.ACTION_GET_CONTENT
-Intent, so every application listening to this is a possible file-source.
上一篇:Android的 - 默认的按钮样式样式、按钮、Android
下一篇:的minSdkVersion,机器人:机器人之间的关系,目标和QUOT targetSdkVersion和&QUOT;机器人、目标、关系、minSdkVersion