# Thunkable X - local path for WebViewer for Android

**URL:** <https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432>\
**Category:** Questions about Thunkable X\
**Tags:** webviewer, html, android\
**Created:** [May 16, 2019, 4:26pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432 "2019-05-16T16:26:38Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 19, 2021, 1:09pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/21 "2021-09-19T13:09:40Z")

</div>

how do we call the filename is there any asset//:filename in the url or how?

---

<div class="post-metadata">

**Author:** ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)\
**Post date:** [September 19, 2021, 1:11pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/22 "2021-09-19T13:11:43Z")

</div>

just put asset name

---

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 19, 2021, 1:27pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/23 "2021-09-19T13:27:40Z")

</div>

ok it worked but basic math functions in the html wont work why?

this is the link to the html code in w3schools

> **[Tryit Editor v3.7](https://www.w3schools.com/code/tryit.asp?filename=GUM4F26UF611)**

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [September 19, 2021, 2:58pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/24 "2021-09-19T14:58:24Z")

</div>

Need to check with a quick project and see if it works on my side.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 20, 2021, 1:56am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/25 "2021-09-20T01:56:13Z")

</div>

It’s impossible to call assets within the html page _ **from the phone** _

You need to do this via cdn

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [September 20, 2021, 6:29am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/26 "2021-09-20T06:29:39Z")

</div>

I tried your html file after adding it in my project and this is the view from my phone

 ![IMG_20210920_092612](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/b/bb4fc9542d8d69bd75c870fae29e10c0ccfb5dae.jpeg)

Can you clearly point out what is wrong?

---

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 20, 2021, 2:47pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/27 "2021-09-20T14:47:11Z")

</div>

@muneer Normally in w3schools html editor and viewer when you input a number in those text input boxes, the recommend sample size is supposed to change. But in thunkable it does not.

---

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 20, 2021, 2:47pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/28 "2021-09-20T14:47:52Z")

</div>

Please explain futher i’m a novice

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [September 20, 2021, 3:18pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/29 "2021-09-20T15:18:43Z")

</div>

Will check and come back to you about the changes that should take place in the html page.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [September 20, 2021, 4:17pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/30 "2021-09-20T16:17:39Z")

</div>

Just made a quick test. It seems there is a problem preventing the JavaScript functions to run from the asset file.

However, if you run the same HTML from a URL it runs file.

I uploaded your file to a DTW folder  
[https://3ynihrnjb7v5zcebdgtvag-on.drv.tw/ThunkableTest/UserFiles/daniel\_larry.html](https://3ynihrnjb7v5zcebdgtvag-on.drv.tw/ThunkableTest/UserFiles/daniel_larry.html)

And changed the URL of the `Web Viewer` to this URL and it worked OK.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/0/006cc594d066267cd224bc1b78fb0973341d134d.png)

Please check it this way and let me know.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 20, 2021, 4:53pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/31 "2021-09-20T16:53:46Z")

</div>

It’s Is possible to access assets with the webviewer like that at this time. You must use a cdn or other way to bring in external files.

Or

You can include the code in your HTML file.

---

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 20, 2021, 5:23pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/32 "2021-09-20T17:23:27Z")

</div>

Ok thanks

---

<div class="post-metadata">

**Author:** ![daniel.larry](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@daniel.larry](https://community.thunkable.com/u/daniel.larry)\
**Post date:** [September 21, 2021, 1:45pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/33 "2021-09-21T13:45:40Z")

</div>

> [@muneer](#):
>
> [https://3ynihrnjb7v5zcebdgtvag-on.drv.tw/ThunkableTest/UserFiles/daniel\_larry.html](https://3ynihrnjb7v5zcebdgtvag-on.drv.tw/ThunkableTest/UserFiles/daniel_larry.html)

Thanks sir, it works perfectly now

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [February 27, 2022, 5:18am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/34 "2022-02-27T05:18:01Z")

</div>

Hi Thunkers,

I’m trying to upload a html file as an App. I’ve uploaded it as an asset and linked to the file in webviewer. It shows in the editor however not on my phone when I test it in the app, or as a WebApp. Any ideas?

Here is the project:  
[https://x.thunkable.com/copy/9e2b23503ce1b051955ce2868c60a350](https://x.thunkable.com/copy/9e2b23503ce1b051955ce2868c60a350)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 27, 2022, 7:36am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/35 "2022-02-27T07:36:21Z")

</div>

Can you provide more information?

If you are trying to use the HTML file from inside your app then you need to know that at the moment this option has a problem (at least in Android) and waiting to be fixed.

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [February 27, 2022, 7:51am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/36 "2022-02-27T07:51:25Z")

</div>

Yes I am trying to use the HTML file from the App assets however if there is another way to do it?

I saw that possibly it can be uploaded to github however when I tried to do this it would go to the directory page rather than opening the actual html code that I uploaded.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 27, 2022, 8:08am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/37 "2022-02-27T08:08:09Z")

</div>

For GitHub to act as a web page you need to create or choose a `repository` (folder) and then go to `Pages` tab and select this repository to be your web page.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/aed6fda7d137ecbdfab98b9ed59c0afa01d4b894.png)

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [February 27, 2022, 9:14am UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/38 "2022-02-27T09:14:38Z")

</div>

Thanks Muneer, that worked beautifully.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432/40 "2024-11-08T12:13:41Z")

</div>



[Previous page](https://community.thunkable.com/t/thunkable-x-local-path-for-webviewer-for-android/76432.md?page=1)
