View contents of txt file

I want to view a txt file from my server in the app, how do I do that?

Will you like to explain your question in details?

I have a text file on my server, which has text inside, and I want the app to display what is written in the file. The question is how do I do it.

You can use web component for that. But you will need to do some basic codes to show the txt file.

1 Like

What’s in the txt file is html code, and I want it to display what’s in the file as HTML, how do I do that? And how do I do that through a web component?

First can you tell me were are you getting this file from for example is it from a server or from phone storage?

1 Like

from a server.

Then you can use web component and receive the text in the Web.GotText event.

1 Like

I did like that, and it does not show me! :
IMG_20220429_004528

Can you show me what response are you getting?

Comment from where? From the link? I sent it to you in private, look.

1 Like

why are you using the JSON Text decode method?
remember

Taifun

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.