What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Need help opening and reading files from my app

DeadWorkerBee

New Member
I'm new here and I'm not sure this forum can help me. I'm developing an app based on my Windows app. Both work. BUT I want to permit users to look at the files on the phone, and select one for use by the app. I code in C# and Xamarin. The code which lets the user see the files is this:

Code:
Intent intent = new Intent(Intent.ActionGetContent);                 
intent.SetType("*/*");               
StartActivityForResult(intent, 1);

And that works OK but I don't see how I can "capture" clicking on the file to open it. Sort of like with FX.

Any help is greatly appreciated.

DWB(aka Ron)
 
I'm new here and I'm not sure this forum can help me. I'm developing an app based on my Windows app. Both work. BUT I want to permit users to look at the files on the phone, and select one for use by the app. I code in C# and Xamarin. The code which lets the user see the files is this:

Code:
Intent intent = new Intent(Intent.ActionGetContent); 
intent.SetType("*/*"); 
StartActivityForResult(intent, 1);

And that works OK but I don't see how I can "capture" clicking on the file to open it. Sort of like with FX.

Any help is greatly appreciated.

DWB(aka Ron)

Welcome to The forum.. unfortunately I don't think we're going to be able to help much ...
 
Back
Top