Website to App using deep linking

Wow, can you explain me how?
Many thanks.

Already explained:

Currently it supports:

  • tel
  • whatsapp
  • intent
  • geo

More are coming in next update.

I don't see any part of documentation even. Where to apply these things?
Any guide? pdf? extension or what??

Let me understand what I want.
I have several online websites, which I want to convert to an app.

  1. Now I will be naming my sites as:
    SITEA
    SITEB
    SITEC

  2. Now I will create a web-view application from this AI2 app inventor.
    I will make sections inside it, so my single app will show me all my websites SITEA, SITEB and SITEC.

  3. Now mobile has usually a mobile browser like chrome. Now what I want that from any platform when a user clicks the links like this: (Wildcard link = #)

    http://#SITEA/# ---> Section A
    http://#SITEB/# ---> Section B
    http://#SITEC/# ---> Section C
    where the sections is already described. I want this type of deep linking.

My Question: Is this type of deep linking available in AI2 App Inventor? I know it is possible in applications like Android Studio etc, but I will invest my time, where I can do it more easily and accurately.
If this type is not available, maybe then take it as a feature request.

Regards,

I'm not sure, if I understand...
is my understanding correct like this: Section A, B and C are App Inventor screens and after button click onto a link on for example http://#SITEA/# you like to open the screen, which contains "Section A"?

Taifun

Yes, you are probably correct.
Sections are the screens that will be available in AppInventor using some kind of menu. I was planning that I will create a sidebar on top left of the application that will show up a vertical menu of all three webview sections.

No.Not even in Kodular or any other AI2 distro.
The thing you want to do is called Deep Linking or Dynamic Links which is not possible but deep links are possible in AI2.

You might be able to do something with the webviewstring and some javascript on your web pages (you will need some conditional statements to exclude the webviewstring for when viewing outside of the app)

I am sorry but you are saying deep linking is not possible, and you are also saying that it is possible?

Maybe that's I was looking for. Is this officially supported inside App Inventor?

Yes.

WebViewString

Yes I see. But I am not sure what does pravidsapps mean. I mean this is not the website from app inventor.

See in terms of website development, I am far good than app development. So a guide would be better. One of the pages that i would be converting: teamelites.eu.org

I never said that.
Deep Linking: when someone visits your website or given link in a browser then your app will be opened
Deep Links: when you visit a website in your app and you click on a URL which starts with a specific prefix like tel: for dialer and sms: for SMS then default apps will be opened.

The link to puravidaapps shows you how to use the webviewstring to send/get data to/from a web page. Your url doesn't open in my browser.....

1 Like

Yes that's exactly what I want.

Please check again. It's opening for me fine.

How can I remove deep link system in custom webview when I don't need it?

Since v10 there is a helper extension along with the main extension.
Just don't add that in the screen.

Hello, thanks for your customwebview extension. It was so greatfull. But can you help me, how make my web longlast session in customwebview. I use php, but it wasn't not longlast and always expire in few hour. Different in desktop browsers it could be maintain login according my session code about 30days.

Try setting cookies before loading page.

Can you help me please give me an example of using cookies block. This my php code and the block you mean isn't? Screenshot_2021_0727_195550 Screenshot_2021_0727_195320