android


How to get deep link working in WebView


I had a look here but it seems that the things changed in API 23 as the scheme is no more android-app://.
My deep link works well in Chrome but not in WebView.
Currently my link is the following one:
<a href='intent://www.example.com/webservice?site=whynot&theme=xx&lang=fr#Intent;scheme=http;package=com.ndguide.ndguide;end'>My Intent Link</a>
And so I intercept the url like below:
#Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
Intent intent;
if (url.contains("intent://")) {
intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(url));
startActivity(intent);
return true;
}
return super.shouldOverrideUrlLoading(view, url);
}

Related Links

Send data in tabhost
JQuery Mobile ListView
Upgrading libspatialite for Spatialite Android
DownloadManager download “stopping” during the download
How to completely delete files in Android so they can't be recovered by tools?
Error in hadling audio file in android while using media player class
Deleting checked items in a listview from the database
why am i getting deprecation warning in notification..?
Android WebView renders blank/white, view doesn't update on css changes or HTML changes, animations are choppy
Implementing A Count Down Timer with Handler class
Unable to reach ' if ' condition within Spinner onItemSelected() in android?
ERROR!!! Wrong Android API version: 4.2, Issue with running android 4.2 with rhodes
Can't wait for thread conclusion inside onPause
How to call services using unlock event in Android?
Showing Query to a Toast
how to query another android device's databases through sockets (multiple devices)

Categories

HOME
google-cloud-platform
gdb
amp-html
nunit
twig
powerpoint
zend-framework
youtube-data-api-v3
pascal
pclxl
grafana
permissions
cakephp-3.4
why3
automatic-ref-counting
frequency-distribution
gource
capistrano3
fileserver
google-container-registry
asciidoctor-pdf
blade
xunit
slidetoggle
opentk
licensing
has-and-belongs-to-many
recurring-events
record
left-join
rselenium
papaparse
sql-delete
lubridate
python-pptx
sim-toolkit
alphabetical
lint
imagenet
bc
hackintosh
apriori
preloader
oracle-service-bus
opencmis
optimizely
openblas
arq
colorbar
backbone-collections
check-mk
flyout
stripe-connect
neon
x-tag
xdoclet
pre-build-event
omniauth-facebook
stream-processing
gcloud-ruby
grass
pypiserver
.bash-profile
atoi
jdk1.7
branch-and-bound
airbrake
typeconverter
nsurlsessiondatatask
osc
rrule
code-documentation
showdialog
execve
iiop
mdichild
create.js
dsym
synapse
koala
android-audiorecord
gtm-oauth2
mbunit
route-provider
mysql-error-2013
wimax
floating-point-exceptions
ikimagebrowserview
android-holo-everywhere
exponentiation
entitydatasource
http-daemon
updatesourcetrigger
google-wave

Resources

Encrypt Message