# Data location; Select file dialogue?

**URL:** <https://forums.fusetools.com/t/data-location-select-file-dialogue/927>\
**Category:** How-to Discussions\
**Created:** [March 9, 2016, 2:25pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927 "2016-03-09T14:25:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbefore305](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbefore305](https://forums.fusetools.com/u/mbefore305)\
**Post date:** [March 9, 2016, 2:25pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/1 "2016-03-09T14:25:50Z")

</div>

Hi,

in an app I have a function which imports a text file.

Is it possible to pass the text file with the application, so that it is automaticaaly available on the device?

Or do I need to store it manually on the device, but in which folder?

Or is there a file select dialogue possible? (my preferred option)

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [March 9, 2016, 2:34pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/2 "2016-03-09T14:34:18Z")

</div>

You can use Bundle [https://www.fusetools.com/learn/fusejs#bundle](https://www.fusetools.com/learn/fusejs#bundle)

---

<div class="post-metadata">

**Author:** ![mbefore305](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbefore305](https://forums.fusetools.com/u/mbefore305)\
**Post date:** [March 9, 2016, 2:40pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/3 "2016-03-09T14:40:59Z")

</div>

Thanks. The bundled file has to be in the main project folder? Or could it be in a sub-folder as well?

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [March 9, 2016, 2:44pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/4 "2016-03-09T14:44:15Z")

</div>

Sub-folder is fine as long as you add it to your project with `:Bundle`. Like `"somesubfolder/myfile.myextension:Bundle"`

---

<div class="post-metadata">

**Author:** ![mbefore305](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbefore305](https://forums.fusetools.com/u/mbefore305)\
**Post date:** [March 9, 2016, 2:51pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/5 "2016-03-09T14:51:17Z")

</div>

Sorry, if I searched not enough, but I do not find the syntax for the Project file in the documentation, thus I do not manage to put the staff for bundle right?

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [March 9, 2016, 2:55pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/6 "2016-03-09T14:55:51Z")

</div>

```
{
  "RootNamespace":"",
  "Includes": [
    "*",
    "somesubfolder/bundleme.js:Bundle",
  ]
}

```

---

<div class="post-metadata">

**Author:** ![mbefore305](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbefore305](https://forums.fusetools.com/u/mbefore305)\
**Post date:** [March 9, 2016, 3:04pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/7 "2016-03-09T15:04:45Z")

</div>

So easy, thanks! Is this somewhere documented?

P.S. I do not see an option to mark a thread as closed?

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [March 9, 2016, 3:09pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/8 "2016-03-09T15:09:15Z")

</div>

We have this page [https://www.fusetools.com/learn/uno#uno-project-format-overview](https://www.fusetools.com/learn/uno#uno-project-format-overview) But I think we miss something about the Bundle feature. I will let the right people know.

---

<div class="post-metadata">

**Author:** ![mbefore305](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbefore305](https://forums.fusetools.com/u/mbefore305)\
**Post date:** [March 9, 2016, 5:50pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/9 "2016-03-09T17:50:06Z")

</div>

It works for local preview, but hot to build the apk, so that it is also available on Android device? So far I simply copied the apk file to the device and installed there.

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [March 9, 2016, 6:47pm UTC](https://forums.fusetools.com/t/data-location-select-file-dialogue/927/10 "2016-03-09T18:47:04Z")

</div>

No change from before, these files are actually bundled inside the apk (that’s why they have the “Bundle”-suffix) 🙂
