I am playing around with B4A code of the form:
What I (think?) have discovered is that:
(1) if customer_url has any capital letters in it they are automatically converted to lower case before StartActivity.
(2) if the webpage that customer_url is pointing to actually has uppercase letters in its address then StartActivity will bomb with messages of the form "webpage not found" - because of (1).
(3) the only solution I have found to this is to make sure the webpage address is actually made all lowercase.
(4) this is not a problem if I own the miscreant webpage - but what if it is a second party webpage?
I find this state of affairs quite bizarre.
Am I missing something?
B4X:
Private wrk_intent As Intent
wrk_intent.Initialize(wrk_intent.ACTION_VIEW, customer_url)
StartActivity(wrk_intent)
What I (think?) have discovered is that:
(1) if customer_url has any capital letters in it they are automatically converted to lower case before StartActivity.
(2) if the webpage that customer_url is pointing to actually has uppercase letters in its address then StartActivity will bomb with messages of the form "webpage not found" - because of (1).
(3) the only solution I have found to this is to make sure the webpage address is actually made all lowercase.
(4) this is not a problem if I own the miscreant webpage - but what if it is a second party webpage?
I find this state of affairs quite bizarre.
Am I missing something?