CustomWebView : An extended form of Web Viewer

@vknow360 Any solution to this error

Please tell how to handle external links

That error comes when you update an extension but still use previous blocks even parameters have got increased.
Delete that block and then use block again.


Your app’s Screen1 (main screen/activity) will be opened after receiving external link with start value as url.

2 Likes

i have created a new project but i will try

1 Like

Thanks Its working. I think the extension does not supports loading html files from assets in development mode

Welcome.
It does but it uses different path in Companion.
In Comapnion: /storage/emulated/0/Makeroid/assets/
In Apk: file:///android_asset/

1 Like

I am using taifun tools extension to get path to assests

That is because Taifun uses this path:
file:///mnt/sdcard/AppInventor/assets/
But Kodular no longer uses that path to store assets.

2 Likes

@vknow360 There is something wrong with the
Got Print Result Block

It is returning these values but the file is created successfully

Are you able to print successfully?
If not then try to print a webpage and let me know the result.

1 Like

@vknow360 Already trying to print a webpage I will let you know in a minute

One more thing that I have noticed is that the
Get print result
function runs before the printing is started(as soon as you call the print web function)

1 Like

Yep it is not working returning same results
As I have mentioned before that function runs before printing. I think that might be the problem

Yes you are right.
In older versions it was working because thread was waiting for the result but now it does not.
First I thought it works synchronously but I was wrong because it works asynchronously.

1 Like

Can you fix it please

1 Like

Sure.
But it can take 1 or 2 days.

2 Likes

Would be greate If you could fix it till tomorrow noon Please

2 Likes

Also can you add a function to get the path and name of the file that is created Would be really great

1 Like

You will be able to use custom filename in v7.
But what does this mean?

1 Like

I think he want the file path on print/download completed

1 Like

I mean that in the
Get print Result block
you could add two local variables
Filename
and
FilePath
which store filename and filepath respectively

like this
component_event (1)

2 Likes