Skip to content

compassinformatics/FilePicker

 
 

Repository files navigation

![] (http://www.compass.ie/wordpress/wp-content/uploads/Compass-logo-Final-300x104.png)

Compass FilePicker

Compass FilePicker is a simple file picker component for Xamarin Android. It can be used as a full screen activity or as a fragment in a dialog.

Activity

Dialog

Usage example

var intent = new Intent(this, typeof(FilePickerActivity));
intent.PutExtra(FilePickerActivity.ExtraNewDirName, "NewFolder");
intent.PutExtra(FilePickerActivity.ExtraInitialDirectory, SelectedDirectory);
intent.PutExtra(FilePickerActivity.ExtraMode, (int)FilePickerMode.Directory);
StartActivityForResult(intent, FilePickerActivity.ResultCodeDirSelected);

and then in the OnActivityResult method

data.GetStringExtra(FilePickerActivity.ResultSelectedDir)

Supported Platforms

  • Xamarin.Android

Build

Compass FilePicker is built using

  • Visual Studio 2013 or Xamarin Studio
  • The Xamarin framework

Sample Applications

This project contains one sample Xamarin.Android application.

TODO

  • Suite of unit tests

Credits

Feedback

All bugs, feature requests, pull requests, feedback, etc., are welcome. Create an issue.

License

Copyright 2014, Compass Informatics Ltd.

Licensed under the MIT License or see the LICENSE file.

Author

Copyright

Copyright 2014, Compass Informatics Ltd.

About

A Xamarin Android file picker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published