CustomWebView : An extended form of Web Viewer

website link to home screen

#off-topic
You mean - home screen to the website?
If yes there is a shortcut extension by DeepHost But I will never recommend you to it!!

ac3a7749752505615b163a8c423b1ecf13e6e656
How to work it

Itā€™s simple use this block on button click or where you have to use. Ans set Url icon and title and done.

Hello, @vknow360, does this extention make your app show up as a browser?
Also what does this block do?
image

blocks (31)
when companion mode then shortcut is being created but when installed application then donā€™t create shortcut.

Have you granted all permissions?

Yes it does.

It creates a home screen shortcut of given URL.

What kind of permission is required

Iā€™m sorry @vknow360 but i found this into your block option
Not is big problem but, I donā€™t like to see that a great job (with many dedicated hours to do it) has some errorsā€¦
Some options have the title wrong (I donā€™t know what to call it, Iā€™m sorry).
But you will understand what I mean.
Example:
AfterJavaScriptEvaluated not wellā€¦
After Java Script Evaluated is OK !!!
I made a list with the most amount of options (not all of them)

2 Likes

This:

android.launcher.permission.INSTALL_SHORTCUT

Permission required to run the extension successfully:

android.permission.WRITE_EXTERNAL_STORAGE,android.permission.ACCESS_DOWNLOAD_MANAGER,android.permission.ACCESS_FINE_LOCATION,android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.CAMERA,android.permission.VIBRATE,android.webkit.resource.VIDEO_CAPTURE,android.webkit.resource.AUDIO_CAPTURE,android.launcher.permission.INSTALL_SHORTCUT


Thank you :hugs:
But unfortunately I canā€™t do anything in it :pensive:
App Inventor does not allow us to use space in names (if we do so compiler will join them) and Naming Convention does not allow us to use underscore in names.

What ???
You have some options with space !!! Look !!!
component_event

1 Like

Because
That comes from Kodularā€™s Translation strings. It happens when you name your function to something that is already used in Kodularā€™s default blocks. So when you switch the languages, you will see some extension blocks will be translated too.

Also,
You canā€™t put spaces between method names. That is a Java syntax rule.

Thanks to @yusufcihan

2 Likes

:thinking: The expert in this is you, not me :pensive: !!!
How is it possible that all available Kodular components have a space in the title ?
Is only a question !!!

I donā€™t even know :sweat_smile:
Kodular Devs know how to do it.

1 Like

Anyway thank so much for sharing your work and striving with the community !!!

1 Like

Ok thanks @vknow360

how to add shortcut permission

itā€™s not working :point_down:
android.launcher.permission.INSTALL_SHORTCUT

1 Like

Show your blocks.

This is not possible. Because there are so many blocks, I can personally share AIA.

Try in compiled apk, instead of Companion.

1 Like