<commit_before>---
layout: "v2_fluid/docs_base"
version: "2.5.1"
versionHref: "/docs/v2/native"
path: ""
category: native
id: "filechooser"
title: "FileChooser"
header_sub_title: "Class in module "
doc: "FileChooser"
docType: "class"
---







<h1 class="api-title">
  
  FileChooser
  

  

  </h1>

<a class="improve-v2-docs" href="http://github.com/driftyco/ionic-native/edit/master/src/plugins/file-chooser.ts#L0">
  Improve this doc
</a>



<!-- decorators -->





<pre><code>$ ionic plugin add http://github.com/don/cordova-filechooser.git</code></pre>
<p>Repo:
  <a href="https://github.com/don/cordova-filechooser">
    https://github.com/don/cordova-filechooser
  </a>
</p>

<!-- description -->

<p>Opens the file picker on Android for the user to select a file, returns a file URI.</p>


<!-- @platforms tag -->
<h2>Supported platforms</h2>

<ul>
  <li>Android</li>
</ul>

<!-- @platforms tag end -->


<!-- if doc.decorators -->

<!-- @usage tag -->

<h2>Usage</h2>

<pre><code>import {FileChooser} from &#39;ionic-native&#39;;

FileChooser.open()
  .then(uri =&gt; console.log(uri));
  .catch(e =&gt; console.log(e));
</code></pre>




<!-- @property tags -->


<h2>Static Members</h2>

<div id="open"></div>
<h3><code>open()</code>
  
</h3>
<commit_msg>Automated build of native docs driftyco/ionic-native@c7a888e2decdfbcc6a1f12b4294a6624493a49fe<commit_after>---
layout: "v2_fluid/docs_base"
version: "2.5.1"
versionHref: "/docs/v2/native"
path: ""
category: native
id: "filechooser"
title: "FileChooser"
header_sub_title: "Class in module "
doc: "FileChooser"
docType: "class"
---







<h1 class="api-title">
  
  FileChooser
  

  

  </h1>

<a class="improve-v2-docs" href="http://github.com/driftyco/ionic-native/edit/master/src/plugins/file-chooser.ts#L0">
  Improve this doc
</a>



<!-- decorators -->





<pre><code>$ ionic plugin add http://github.com/don/cordova-filechooser.git</code></pre>
<p>Repo:
  <a href="https://github.com/don/cordova-filechooser">
    https://github.com/don/cordova-filechooser
  </a>
</p>

<!-- description -->

<p>Opens the file picker on Android for the user to select a file, returns a file URI.</p>


<!-- @platforms tag -->
<h2>Supported platforms</h2>

<ul>
  <li>Android</li>
</ul>

<!-- @platforms tag end -->


<!-- if doc.decorators -->

<!-- @usage tag -->

<h2>Usage</h2>

<pre><code>import {FileChooser} from &#39;ionic-native&#39;;

FileChooser.open()
  .then(uri =&gt; console.log(uri))
  .catch(e =&gt; console.log(e));
</code></pre>




<!-- @property tags -->


<h2>Static Members</h2>

<div id="open"></div>
<h3><code>open()</code>
  
</h3>

{'fraction_non_alphanumeric': 0.21169277799006497, 'fraction_numerical': 0.02445548337791364, 'mean_word_length': 3.545138888888889, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6602928', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1029, 'n_words': 201}