I ivanreus Member Licensed User Longtime User Jan 15, 2013 #1 good morning I created an application open application of a newspaper app but do not want the links to website are on, how I can prevent browser to open the web page?. thanks sorry English is the Google translation :signOops:
good morning I created an application open application of a newspaper app but do not want the links to website are on, how I can prevent browser to open the web page?. thanks sorry English is the Google translation :signOops:
mc73 Well-Known Member Licensed User Longtime User Jan 15, 2013 #2 You can use the webview_overrideUrl sub and return 'true'. Upvote 0
I ivanreus Member Licensed User Longtime User Jan 16, 2013 #3 Thanks for responding the solution does not help me because I do not work with the web view. My application opens an application of a newspaper sPack="com.elpais.elpais" In = pm.GetApplicationIntent(sPack) If In.IsInitialized Then StartActivity(In) StartActivity(In) This application contains links to websites that do not want to run. thanks Upvote 0
Thanks for responding the solution does not help me because I do not work with the web view. My application opens an application of a newspaper sPack="com.elpais.elpais" In = pm.GetApplicationIntent(sPack) If In.IsInitialized Then StartActivity(In) StartActivity(In) This application contains links to websites that do not want to run. thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2013 #4 Once you start a third party application you do not have any control over it. Upvote 0
I ivanreus Member Licensed User Longtime User Jan 16, 2013 #6 Disable your internet browser of the tablet but I get error in the third party application wanting to access the web page You can create a web browser to control attempts to access internet applications? There any way to control access to web pages of third parties? eg intercept the call by some application to "com.android.browser / .BrowserActivity"? Any idea is welcome Thanks for the answers Last edited: Jan 16, 2013 Upvote 0
Disable your internet browser of the tablet but I get error in the third party application wanting to access the web page You can create a web browser to control attempts to access internet applications? There any way to control access to web pages of third parties? eg intercept the call by some application to "com.android.browser / .BrowserActivity"? Any idea is welcome Thanks for the answers
I ivanreus Member Licensed User Longtime User Jan 16, 2013 #7 I thought about creating a service module that reads and execution activities if the activity "com.android.browser" is running then stops. Activity.SetActivityResult I can use? could give examples of their use? thanks is important for me to solve this problem thanks Upvote 0
I thought about creating a service module that reads and execution activities if the activity "com.android.browser" is running then stops. Activity.SetActivityResult I can use? could give examples of their use? thanks is important for me to solve this problem thanks