Bonjour;,
Une question (un peu idiote) mais bon...
J'ouvre Acrobat Reader via une appli JAVA :
Si je créé une zone cliquable dans le PDF.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 Uri path = Uri.fromFile(pdfFile); Intent pdfIntent = new Intent(Intent.ACTION_VIEW); pdfIntent.setDataAndType(path, "application/pdf"); pdfIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); try { startActivity(pdfIntent); } catch (ActivityNotFoundException e) { Toast.makeText(CarteMenu2Activity.this, "No Application available to view pdf", Toast.LENGTH_LONG).show(); }
Y a t-il un truc pour capter le lien suite au clic dans Acrobat et le traiter dans mon JAVA ?
Merci
Partager