如何在Android设备上搜索文件 [英] How do I search for file on an Android device

查看:62
本文介绍了如何在Android设备上搜索文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个asp.net应用程序。在客户端,用户可以将文件保存到其本地android机器。我需要有关如何导航Android机器以找到该文件并在用户离开该网页之前确认它存在的帮助。



我熟悉Windows,但不熟悉android。



是否有一个标志告诉我正在使用什么客户端操作系统。



我是精通C#而不是Java,并寻找客户端java解决方案。

I am developing an asp.net app. On the client-side a user may save a file to their local android machine. I need assistance on how to navigate the android machine to find that file and confirm it exists before the user leaves that web page.

I am familiar with Windows, but not android.

Is there a flag that tells me what client OS is being used.

I am proficient in C# but not Java, and looking for a client-side java solution.

推荐答案

您无法访问客户端计算机(Android或任何其他操作系统) 。您的网页可能会启动下载,但用户会控制文件的保存位置。对于Android设备,它位于下载文件夹中。
You do not have access to the client machine (Android or any other OS). Your web page may initiate a download but the user controls where the file will be saved. In the case of Android devices it is in the 'download' folder.


这篇关于如何在Android设备上搜索文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆