Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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.
Posted

1 solution

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.
 
Share this answer
 
Comments
Mike Margolius 19-Oct-15 11:47am    
Is there any way I can check in which folder the file was saved, if the user didn't save it in the 'download' folder?
Richard MacCutchan 19-Oct-15 11:59am    
No. You need to understand that web pages are not allowed access to the client's hard drive. This would break security and allow viruses to be dumped on user systems quite easily.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900