Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

How to add videos and audio (.mp4 and .mp3)?

More
9 years 8 months ago #11671 by rachnasagar
One more serious issue I have faced in this reader that I have to pass the video path for different pdf to different reader.

Please check ezpdf reader trial. It is playing the video in the reader only I dont have to give path for the videos,

In your reader I have to buy the licence for different books because I have to put path in the reader only for that book?

or there is any option for it to play video in ur reader for multiple pdfs?
More
9 years 8 months ago - 9 years 8 months ago #11673 by rachnasagar
I want to open index.html an attachment how could i will open on button click in pdf


How treat attachment will open?
In which method I have to put my code to do so ?
Last edit: 9 years 8 months ago by rachnasagar. Reason: Update
More
9 years 8 months ago - 9 years 8 months ago #11674 by nermeen
The license depends on the platform and the application(package name), not the book open.

In this video ( own.mobiles.it/index.php/s/4dfjCVwdZdjtf23 ), you can see that we can open different videos from different documents in the same session, without changing the code.

For attachment, you mean attached to the pdf, or added as annotation? can you send us a pdf?

For url (link annotation), you need to implement the method OnPDFOpenURI, which is already implemented in PDFViewAct as follows:
check also the video: own.mobiles.it/index.php/s/U1Qu6ioJdTVks7h
Code:
public void OnPDFOpenURI(String uri) { try { Intent intent = new Intent(); intent.setAction("android.intent.action.VIEW"); Uri content_url = Uri.parse(uri); intent.setData(content_url); startActivity(intent); } catch(Exception e) { Toast.makeText(PDFViewAct.this, "todo: open url:" + uri, Toast.LENGTH_SHORT).show(); } }
Last edit: 9 years 8 months ago by nermeen.
More
9 years 8 months ago #11676 by rachnasagar
I have also done that only
For the link ---I want to open in my webview .
When I click on button it will open my link in my web view

Suppose I want to open some html file in webview on button ,So I will attach the button in pdf and when i click the button it will open ?
More
9 years 8 months ago #11678 by rachnasagar
I want to open the url in my own webview.

Also want to know what is attachment ?
What refer to attachment in your point of view ?
More
9 years 8 months ago #11679 by adminjugaad
Dear user, I should invite you to split your questions in more than a single topic.
Using the forum as it is a chat is becoming not useful for other users who won't be able to find useful information in actual messages exchange.

Later I will moderate your last post removing questions about links and attachments.
Let's open to more threads.
Time to create page: 0.375 seconds
Powered by Kunena Forum