Skip to main content
philipc32183825
Participant
November 22, 2016
Question

Support for Android intent data

  • November 22, 2016
  • 1 reply
  • 2824 views

Does Adobe reader for Android support intent extra data to specify a page number or search term.  I need to be able to open a PDF file to specific page or pass a search term and display results.  Can I do this with reader for Android?

This topic has been closed for replies.

1 reply

Participating Frequently
November 23, 2016

Hi Philipc32183825,

Please confirm the OS and Android versions you are using.

Also, share the device specifications so i can check at my end.

Thanks,

Supriya

philipc32183825
Participant
November 30, 2016

Android version is 6.0.1. The device is a Samsung Galaxy S6 Edge+. I'm hoping to be able to do something like the code below.  Does reader for Android have a putExtra() parameter name for opening to a specific page or for searching for a specific term.

Intent intent = new Intent( Intent.ACTION_VIEW );
intent.setDataAndType(Uri.fromFile("pdf_file"), "application/pdf");
intent.putExtra( "PAGE_NUMBER", "10" );
startActivity( intent );
or
Intent intent = new Intent( this, MyActivity.class );
intent.setDataAndType(Uri.fromFile("pdf_file"), "application/pdf");
intent.putExtra( "SEARCH_TERM", "signal 7" );
startActivity( intent );

thanks,

Participating Frequently
November 30, 2016

Hi Philipc32183825,

Sadly, the feature is not yet supported by the application.

So, not much can be done about it.

You may request for the same by filling the form in the link below:

Feature Request/Bug Report Form

Regards,
Supriya