It depends on the over-all memory allocation for the App how large/sophisticated the screens are and how long the App is run.
Just because you can drive your car on 3 wheels instead of 4, should you?
It depends on the over-all memory allocation for the App how large/sophisticated the screens are and how long the App is run.
Just because you can drive your car on 3 wheels instead of 4, should you?
It was happen and will happen again so in this ChrisWard is right. For this normally I close every Screen first to pass to another.
In your aia you pass start value Screen name, but in my case I pass web page address. I cant see place to put another start value. ChrisWard how I can pass these numbers and read them in BackPressed event. Can you show some block. As I said I fill blocked and I can
t see how. I know that this is something simple.
I use these blocks to have possibilities to work inside web page:
Give me 10 minutes to make a simple example
Try this, it's rough, but the basic requirement for reliability is there.
ChangeScreens.aia (4.5 KB)
Yes this blocks work. But. Try navigate in this open page. If you choose back you don`t be back to previous page but close the Screen.
I will try this:
You do not need to be concerned with CurrentUrl v HomeUrl, the Url displayed is always the current one when the ScreenWebsite is opened. Therefore, there is only one web page displayed and WebViewer1.GoBack is not required (has nothing to go back to).
So in Companion is not going back / or close screen with block I used but navigation is possible. I will try install apk.
OK after installation is so that. With block I insert navigation on Internet in Screen is possible but closing Screen is giving blank page. Its an old problem. But I
m looking to have both, navigation and "BackPressed".
So probably I must find way around. Only I don`t see how.
So you want to allow navigation in the WebViewer, in addition to directly setting the webpage on opening ScreenWebViewer.
To enable navigation, the web pages themselves should have links (or the site should have a menu bar to enable navigation). My example Project, which features my website, does this (In the WebViewer Properties, tick 'FollowLinks').
Yes you can follow links in one way. You can't go back with links. When you go to some link on your page for e.g. IrfanView and follow to "More information..." try now be back to IrfanView page by pressing "back". Screen with WebViewer will be closed.
With
Wrong type of link - that's an external link to a separate website. The links that take you to other pages of the current website are in the menu at the top of every webpage.
...and it's wrong, as previously discussed.
Yes but I want to navigate such way. Because I'm coming to one web page and there I have another links with another information. And this was working for years. Only now I came with this second Screen with another subjects.
You can make a Blocks List of URLs and read that for navigation.
.... well, if only you are the User, that is possible. However if you are distributing the App, returning to the HomeUrl does not necessarily mean the User wants to leave the WebView and return to Screen1?
Perhaps this, as suggested early on in the topic by @nishyanthkumar but not tried....
Screen1
Screen2
(not tested) - may only work with a compiled app
OK. I get it. I think I get it. I tried it only with one button but seems that it's working.
I go a little around.
For now thanks to @ChrisWard for discussion and examples. Thanks @nishyanthkumar @Ritshika_Saha @TIMAI2 for hints. I learned a lot again. When you work on an application only from time to time, many things escape your memory. I know it may not be the best solution but it works. I hope.
@TIMAI2 your hint works with my app only half way. I don't know why because should work.
With pressing back it stopped on empty "WebViewer". After seeing some videos about tinydb, it dawned on me that I could add one more segment to the button that calls the "WebView" Screen. So here is the solution that works for me.
Screen2 (Wiki)
Hola, pues toma una variable para cada pantalla y lees el último valor de cada una cuando quieras
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.