A
A
Artem Melnykov2022-03-16 07:00:26
Java
Artem Melnykov, 2022-03-16 07:00:26

How to open an intent:// link?

Hello, how can I open a link like this:

intent://qr.nspk.ru/....?type=02&bank=100000000054&sum=9863&cur=RUB&crc=23A2#Intent;scheme=bank100000000004;end


I tried like this:
String url = "intent://qr.nspk.ru/....?type=02&bank=100000000054&sum=9863&cur=RUB&crc=23A2#Intent;scheme=bank100000000004;end";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);


But the app just crashed

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Araya, 2022-03-16
@Araya

This is called deeplink.
https://www.raywenderlich.com/18330247-deep-links-... - more details here

O
Oleg, 2022-03-16
@402d

browser link
intent:data_to_print#Intent;scheme=rawbt;package=ru.a402d.rawbtprinter;end;
link from the android application
rawbt:Hello,%20world!%0A%0A
package allows you to send to the market to download the desired application for those who do not have it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question