Discussion:
[android-developers] Anchor link on iframe inside mobile's webview not working.
m***@gmail.com
2016-05-26 21:58:00 UTC
Permalink
Hi All, below is the screenshot of html page which is loaded via iframe
inside mobile app. The anchor link in the question is supposed to open new
window in the mobile browser and it works fine on ios app but does not
works on android mobile app. Does anyone has any idea on why it cannot
open the link in the browser. The anchor tag looks like this <a
href="http://www.google.com" target="_blank">Anchor link</a>

<Loading Image...>

























Thanks
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/6112b455-5a23-4e12-a9c5-48bf9174b622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TreKing
2016-05-27 17:21:11 UTC
Permalink
The anchor link in the question is supposed to open new window in the
mobile browser and it works fine on ios app but does not works on android
mobile app. Does anyone has any idea on why it cannot open the link in the
browser.
If you're using a webview, check your implementation of
shouldOverrideUrlLoading
<https://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading(android.webkit.WebView,
java.lang.String)>.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CANCScgg2im1aNDJmVXWH6KwMb2RW2aRd9ZyfzgL%2BbS9hU%2BtpnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
m***@gmail.com
2016-05-31 16:46:24 UTC
Permalink
Thank you TreKing for your suggestion, but my case is little different. We
insert our iframe into our clients mobile app and have only control over
iframe and the anchor link inside the iframe.
Post by m***@gmail.com
Hi All, below is the screenshot of html page which is loaded via iframe
inside mobile app. The anchor link in the question is supposed to open new
window in the mobile browser and it works fine on ios app but does not
works on android mobile app. Does anyone has any idea on why it cannot
open the link in the browser. The anchor tag looks like this <a href="
http://www.google.com" target="_blank">Anchor link</a>
<https://lh3.googleusercontent.com/-P8CV-Rm_rL4/V0dvHEHQO_I/AAAAAAAAAAM/nhpm4oIcDtw4woOjetouTc9KskrxG2-mgCLcB/s1600/Capture.PNG>
Thanks
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/731badc3-5763-4b7f-b79e-da4a1cc1578e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TreKing
2016-06-06 06:13:32 UTC
Permalink
Post by m***@gmail.com
Thank you TreKing for your suggestion, but my case is little different. We
insert our iframe into our clients mobile app and have only control over
iframe and the anchor link inside the iframe.
What do you mean you insert your iframe into your clients mobile apps?
--
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CANCScgg964YXb0zTg-jbaUnGZsKyn1GBvfSFb-yheWF%3Dp5qoGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
m***@gmail.com
2016-06-06 12:34:52 UTC
Permalink
I mean, we give javascript to our client and they insert this javascript
into their web or mobile app. This javascript then creates a iframe and
makes the call to our server. I hope this was helpful.
Post by m***@gmail.com
Hi All, below is the screenshot of html page which is loaded via iframe
inside mobile app. The anchor link in the question is supposed to open new
window in the mobile browser and it works fine on ios app but does not
works on android mobile app. Does anyone has any idea on why it cannot
open the link in the browser. The anchor tag looks like this <a href="
http://www.google.com" target="_blank">Anchor link</a>
<https://lh3.googleusercontent.com/-P8CV-Rm_rL4/V0dvHEHQO_I/AAAAAAAAAAM/nhpm4oIcDtw4woOjetouTc9KskrxG2-mgCLcB/s1600/Capture.PNG>
Thanks
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/c8c42a04-c0ae-4021-be8b-43f28d666306%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TreKing
2016-06-07 22:48:03 UTC
Permalink
Post by m***@gmail.com
I mean, we give javascript to our client and they insert this javascript
into their web or mobile app. This javascript then creates a iframe and
makes the call to our server. I hope this was helpful.
Then it sounds like you need to have a conversation with your client about
how they're using your javascript.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
--
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CANCScggBvpvCkKp90NzumWOYHteWThGkmuBMLLrvvJTOhBwz5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...