How to define a hyperlink in pdf to "file:///sdcard/myapp/mydoc.pdf"?

I develop an Android app displaying pdf documents that are located in sdcard-directory. Within these master documents I would like to include hyperlinks to documents in a subfolder. Something like "file:///sdcard/myapp/sub/mydoc.pdf" Is this possible? So far I can only use absolute links "www.myweb.de/dir/subdir/subdoc.pdf" which is accepted by Adobe Reader in the Android system. On my PC and on the web local links work fine.
Has anybody the same problem - or an answer?

Refer the following link for Sample Program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Similar Messages

  • PDF Reduce File Size makes certain pdfs HUGE

    Generally reduce file size works great for me but certain files, those coming from someone using Microsoft Publisher in particular, result in larger pdfs. She sends me newsletters for a website and sometimes the 3 page pdfs are 2-4mb. I tried opening in Preview and re-saving them using the Reduce File Size filter and the result is that they ballon up to 50-100mb!! Info for the file reveals that the pdf producer is GPL Ghostscript 8.15 and the content creator is PScript5.dll Version 5.2.2. I seem to be able to open and reduce file size using Acrobat so I'm not quite sure why Preview is choking on them.

    geekinthegarden wrote:
    Generally reduce file size works great...
    Microsoft Publisher...Ghostscript...PScript5.dll
    I seem to be able to open and reduce file size using Acrobat so I'm not quite sure why Preview is choking on them.
    Hi geekinthegarden- This does not surprise me. There are many variations and reiterations in specifications of the PDF format.
    Going from Ghostscript language interpreter, to Apple in rendering could introduce complications which we will not be able to sort out in this forum encapsulating a complete description of a fixed-layout 2D documents that includes the text, fonts, images, and 2D vector graphics which compose the documents.
    Suffice to say it is not a perfect science.
    Print PDF has a compress PDF file option as well as ColorSynch in your /Utilities folder +reduce file size+ option for PDF's. This may or may not be of use.
    You found your workaround using Acrobat, this is part of the value of having more than one PDF viewer, good computing!

  • How can I make hyperlinks work in InCopy when I export to PDF without using InDesign?

    I created an InCopy document with hyperlinks linking to other InCopy documents. When I exported to PDF, these hyperlinks don't work. Is there any way I can make these hyperlinks work without using InDesign? Thanks.

    beer and no prepress schrieb:
    If it's for the web, why not export to JPEG?  Why PDF?
    Terrible idea. In a JPG the text will not be alive, you loose all interactivity.
    And making JPGs with InDesign is not what the program is meant to make.

  • How to define the hyperlink command in the online help to go to a specific place on another page?

    Hi,
    I run my online help (WebHelp) in an application in Firefox. When clicking a link on a page, I want to go to a specific section on another page. In the hyperlink I am using the #<bookmark> to go to the bookmark on the other page. This works in IE, but not in FireFox. Do I need to use a different command or do I have to change some settings in my browser to make it work?
    Thanks!

    Does your page design use frames (classic frames or inline frames)?
    From past threads:
    Make sure your bookmark doesn't contain a #. In other words, if the bookmark is Chapter1, Firefox will require #Chapter1 on the link, but if the bookmark is #Chapter1, then Firefox will require ##Chapter1 on the link.
    If your page changes height after loading, for example, you use a script that collapses some sections, Firefox may go to the original location in the page instead of the updated location. The workaround for this would be to have a script in the page check the hash and scroll to the correct location after changing the height.

  • JDeveloper 10g, ADF, ANT:How to define ant task for EAR & WAR file creation

    I am trying to automate the deployment process of our ADF Faces & BC application. I have reviewed this doc:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm
    and followed the procedure for integrating ant onto the server. I can build the project and also successfully deploy the ear file. Howerver, I did not find any instruction on how to generate the EAR file. Can anyone point me to the right place for this task definition?
    Here is my current build.xml file.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 16, 2007 12:20:13 PM-->
    <project name="CRDBApps" default="build-all" basedir="." xmlns:oracle="antlib:oracle">
    <property file="build.properties"/>
    <property file="ant-oracle.properties"/>
    <target name="clean-all" depends="">
    <ant antfile="build.xml" dir="CRDBView" target="clean"/>
    <ant antfile="build.xml" dir="CRDBLib" target="clean"/>
    <ant antfile="build.xml" dir="CRDBModel" target="clean"/>
    </target>
    <target name="build-all" depends="clean-all">
    <ant antfile="build.xml" dir="CRDBView" target="compile"/>
    <ant antfile="build.xml" dir="CRDBLib" target="compile"/>
    <ant antfile="build.xml" dir="CRDBModel" target="compile"/>
    </target>
    <target name="deployear" depends="">
    <echo message="-----> Deploying the application module deployment (ear) file"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBView/deploy/CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    </target>
    </project>
    thanks!
    Wes

    Thanks all for the tips. After reading up a bit today on ear/war files and ant. I ended up just creating a task to mimic the ear/war file structure. My script isnt pretty but I'll work on refining that later. Here is what I have if anyone ever is interested:
    <target name="war" depends="">
    <echo message="Executing target war..."/>
    <mkdir dir="war"/>
    <copydir src="CRDBView\public_html" dest="war\"/>
    <copydir src="CRDBView\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBModel\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBLib\classes" dest="war\WEB-INF\classes"/>
    <echo message="Creating war file..."/>
    <jar basedir ="war" destfile="CRDBApps.war"/>
    <echo message="Done executing target war..."/>
    </target>
    <target name="ear" depends="war">
    <echo message="Executing target ear..."/>
    <mkdir dir="ear\META-INF"/>
    <copydir src="CRDBView\deploy\META-INF" dest="ear\META-INF"/>
    <copy file="CRDBApps.war" todir="ear\"/>
    <jar basedir ="ear" destfile="CRDBApps.ear"/>
    <echo message="Done executing target ear..."/>
    </target>
    <target name="cleanAndDeployCRDBApps" depends="build-all,deployear">
    <echo message="Executing target cleanAndDeployCRDBApps..."/>
    <delete dir="war"/>
    <delete dir="ear"/>
    <echo message="Done executing target cleanAndDeployCRDBApps..."/>
    </target>
    <target name="deployear" depends="ear">
    <echo message="Executing target deployear"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver:6003/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    <delete file="CRDBApps.ear"/>
    <delete file="CRDBApps.war"/>
    <echo message="Done executing target deployear"/>
    </target>
    ...

  • How to create a hyperlink to a onedrive file or folder without sharing it with anyone. (eg Create a hyperlink in Onenote to a file on my own Onedrive, for only me to use !)

    Hi All.
    When I view a file in Word online the URL displayed is:
    https://onedrive.live.com/view.aspx?cid=53B31F7A44698440&resid=53B31F7A44698440%2130033&app=Word
    Say I want to insert a link to the file in a website or OneNote page, such that it has NOT been shared with anyone.  ie Only I have permissions to view it like the file reference by the above link.
    Can I simply use the above URL as a link?
    I have used Ondrive sharing, but I think all the methods given result in the file being shared with other named people or publically.  eg like this one: http://1drv.ms/1zOli6p
    ...which when viewed in word online shows this URL:
    https://onedrive.live.com/view.aspx?cid=53B31F7A44698440&resid=53B31F7A44698440%2130035&app=Word
    I have been experimenting and it seems to work.  However, if the above does work, what I don't get is why OneNote does not allow a link to be created to a file stored on Ondrive. (On my PC it sonly seems to allow links to locally stored files).
    I have used GoogleDrive which allows you to select a  file and right click it to "receive a link" which you can use in the manner described above.  This is a really useful feature.
    Note that in a similar way, I would like to create a link that causes onedrive to open and display a chosen folder.  This seems to work ok when I use a URL this one that only I have permissions to view:
    https://onedrive.live.com/?cid=53B31F7A44698440&id=53B31F7A44698440%2130031 
    Any advise is really appreciated.
    Harvey

    Hi,
    >> Can I simply use the above URL as a link?
    Yes, the link above should work.
    >>Only I have permissions to view it like the file reference by the above link
    You can refer to this link to set permissions when sharing files and folders.
    Share files and folders and change permissions
    By the way, this forum is for discuss questions about Office Development. For OneDrive questions, you can refer to OneDrive forum to get more help, so more professional members will be involved. Thanks for your understanding.
    OneDrive Development Forum:
    https://social.msdn.microsoft.com/Forums/onedrive/en-US/home
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to define special character in html text file used in loadvars

    Hi
    I'm witing some maths software and need to use the division
    sign in a text file which is loaded using LoadVars().
    The variable loaded is then assigned to a text area. Here's
    the variable example.
    &hint1=<title><b>Challenge 1: Instant recall
    of any table</b></title><p>Including table
    divisions eg 56 ÷ 8= </p>
    the division sign is missing or a just a box. I've already
    tried most options: &#x00F7; (which works in XML loaded to
    flash), &divide; %F7
    Can anyone help please?

    Hi Michael. Thank you for your reply.
    There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
    Default API client:  FmTranslator
    SGML character encoding:  ISO Latin1
    XML character encoding:  UTF-8
    Namespace: Enable
    CSS2 Preferences:
    Generate CSS2: Disable
    Add Fm CSS Attribute To XML: Disable
    Retain Stylesheet Information: Disable
    Entity locations
    Entity search paths
    C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
    So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
    Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
    Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
    But what I would like to avoid is editing those isoent files each time new character is be needed.

  • How to define table specific QUERY in parameter file for Export Utility

    Hi All
    I am trying to create A SINGLE parameter file for export utility. I have 2 tables and want to use a different QUERY condition for each of these tables. However i do not want to create 2 seperate parameter files for this and run/script exp twice.
    Is there a way to do it ?
    NOTE: I am using normal export utility for Version 9 and NOT oracle data pump.
    Following is an example of what i want to achive in parameter file:
    Tables = (TabA,TabB)
    # for table - TabA
    QUERY = "where id =25"
    #for table - TabB
    QUERY = " where court_id=54 and id >1"
    Please advice on syntax of parameter file so that exp knows that it has to process 1st condition for only TabA and second condition for TabB.
    Any samples/syntax examples are greately appreciated.
    thanks in advance!
    cool tech

    No there is no such alternative. Query condition is applicable to all the tables listed in TABLES parameter.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1005843

  • How to define "byte stream type" for "open file"?

    Hello,
    I created some numbers (type "double") in Matlab and stored in a file. What value should I use to specify the "byte stream type" for "open file" in Labview? Should I put something like "DBL" or "I32". I don't know where to find the list of legal "types" in Labiew help.
    Thanks so much!
    Felicia

    Looks like 7.1:
    The Matlab "double" is 64 bits (8 bytes). It doesn't make much sense to use an integer datatype to read a floating point value, so you would use DBL in LabVIEW. The numeric data types table can be found here.
    By the way, this assumes you saved the file as raw binary, as opposed to a .mat file, which is something different.
    Message Edited by smercurio_fc on 08-08-2008 11:21 AM
    Attachments:
    read file 7.png ‏13 KB

  • How can i make hyperlink to local file for dowloading

    How can I make hyperlink to a local file for downloading it, it seams that only www links work in web Ui.
    Thanks

    If we assume that you have a LabVIEW application running on your cRIO that is exposing some data through web services, there are a couple of possibilities.
    You can create a web service call that returns the log data. In order for the browser to treat this as a file, you must set the correct content type in the http header. To do this you can't use the default form of data output. Instead you must create an "httpRequestID" input to your web service VI. With this you can call "Write Response.vi" to give the log data and "Set HTTP Header.vi" to specify the type (text/text probably works for a log). You can look at "examples\comm\webservices\address book\FindContacts.vi" to see an example of calling these 2 VIs. Once you create that web service entry point, you can set that as the URL of the hyperlink control and it should work.
    Another option is to have the cRIO application write to a log file that is under the root of the web server running on the machine. (This is the same place the xap for your Web UI Builder application is put.) This file could then be served up through the web server just like any other file.
    With either of these solutions there may be concerns about the browser caching results rather than requesting new content each time. There are additional values that can be set in the http headers with the first solution that can help with this, but I think there is still some variation between browsers.

  • How to define the date format for this date string

    2006-11-13 00:00:00.0
    How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
    thanks,

    SQL> desc t
    Name                                      Null?    Type
    TS                                                 TIMESTAMP(6)
    SQL> !cat t.ctl
    load data
    into table t
    truncate
    (ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
    SQL> !cat t.dat
    2006-11-13 00:00:00.0
    SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    SQL> select * from t;
    TS
    13-NOV-06 12.00.00.000000 AMBest regards
    Maxim

  • How can i define a type in a .odl file?

    I'm trying to pass a c struct from a dll to Teststand and i dont know how to define a type into the .odl file. Somebody can send me a working code?

    Bruno,
    Detailed information on the items of your interest can be found at the following link:
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DE0956A4E034080020E74861&p_node=DZ52195&p_submitted=N&p_rank=&p_answer=&p_source=External
    Hope this helps,
    Silvius
    Silvius Iancu

  • Make a PDF/A File

    How can i make a PDF/A File from a "normal" PDF File with Acobat XI Standart ?

    Acrobat Standard cannot validate or conform PDF/A files, so you cannot directly convert a random PDF into a PDF/A file - but you can "print" to Distiller and create a file that should pass verification. You'll lose all your interactivity, bookmarks, tags, etc. so it's only an option for type B files.
    helpx.adobe.com/acrobat/using/pdf-x-pdf-a-pdf.html

  • How to retain the hyperlinks when converting Word doc to PDF?

    For adobe acrobat 9 pro, I can't figure out how to keep the hyperlinks working. If I create pdf from word doc by save as, it can't embed fonts, but links work. If I use "print" in word, it embeds fonts, but some hyperlinks didn't work. What to do to keep fonts embedded and links working? It drove me crazy! HELP!!!

    Depends on the version of WORD. With OFFICE 2007, go to the Adobe menu and select Create PDF (this is PDF Maker). That will save the links. A similar process is needed for OFFICE 2003. With OFFICE 2010, you will have to upgrade to AA X or add them in Acrobat manually.

  • How can I retain hyperlinks while saving a webpage as PDF via Print?

    How can I retain hyperlinks while saving a webpage as PDF via Print?
    This is the title of an apple forum question, and it is a bug in both Safari 5.1.3 and under, and I find it to also occur in Firefox browser (at least 9.* 10.*, 11.0), running on Lion OS (10.7.2, 10.7.3). See:
    https://discussions.apple.com/thread/3212301?start=0&tstart=0
    Under the newer Mac OS mentioned, and Firefox 10.2, 11.0, 9.*, if I select:
    File -> Print -> PDF -> Open PDF in Preview"
    (and view / save the PDF in Preview, you will see none of the links in the original web page are active
    or using
    File -> Print -> PDF -> Save as PDF...
    same problem. Try this using any Wikipedia page, for example.
    When this problem was posed in Apple forums, by a user of the Safari browser, it was found to be a bug (since Aug 2011) fixed in a Safari browser build 5.1.4 circa Jan 2012. I tried the newer Safari browser and sure enough the problem went away (except that links embedded in the PDF no longer appeared as blue text - ARGH - but "hover over" with the cursor showed the link and clicking the link in Preview viewer activated the link in a browser window).
    So I post this to the Mozilla community, please fix this 'cause I don't want to have to switch over to Safari browser every time I want to archive a PDF with active links!!!!
    P.S. I did a spot-check and with the newer add-on Enjoy Reading 1.0.1 and FF11.0. When the Enjoy reading formatted version appears in the browser window, all URLs/links are preserved and highlighted in blue, but when I print that browser window as PDF, the links are dead (don't work) even though they appear in blue in the PDF.
    So, what's going on, can the Safari fix be researched and applied to FF?
    Also, on some forums, people are responding, Well, try installing Acrobat reader. Well, I don't want to, Preview reader has worked fine for me for years.

    Thanks jscher2000.
    RE: -- '''Generally speaking, PDF converters that work by intercepting a print job do not have access to the URLs behind links in the page.''' --
    I cannot say I agree. I could email you a PDF clipping or two (generated from Safari on Mac OS, in its native capability with no add-ons) that shows you otherwise. When I used PC platforms I did have to install PDF converters (tried both free and expensive ones) that did what I describe.
    I cannot try the add-on you mention, '''Print Pages to Pdf.''' in Firefox. It shows in my browser and Mac OS platform "Not available for your platform." So I am guessing it was written for the PC version of Firefox.
    The Mac OS has had a native PDF-creation functionality for as many years as I have been using it; I used PC prior to that, Win3.1 through XP and NT. And on my PC, I bought (and at work, my employer bought $$$, I had to justify three levels up to management the ability to create PDFs on my work PC) some Adobe functionality to CREATE pdf's (readin's free and easy, makin' em's costly on the PC).
    I've gone and dug through some of my (Mac) doc and clipping archives, and I find that stuff I created after about Dec 2008 or so seems to eliminate all link functionality. When viewed in the Apple native "Preview" application (sort of Apple's equivalent to Adobe Acrobat reader, ships with the OS): link tags are highlighted/tinted, clicking a link opens a (default) browser and takes you there; hover-over the tag text shows the actual link. (Of course, not all old links are still VALID or point to the desired source.)
    I could, in Safari or FF browser window and with no add-ons or Adobe paid products whatsoever, use the native OS method to create PDF's from any application (word processor, spreadsheet, browser, etc) via the menu File -> Print -> Save as PDF menu and create a PDF that had active hyperlinks. In Apple OS Lion 10.7.3, I still can't when it uses this broken WebKit interface, links are "dead" as a doornail until a fix is distributed in WebKit for a future Lion release. It seems this functionality died at least as far back as Leopard OS 10.6.8, but don't quote me on that. Also, my version of Pages 2009 version 4.1(923) (sorta like Word) STILL creates a PDF document that preserves (1) text hyper-links within the document, and (2) web links (in the PDF) that open the browser. I just made a test document.
    When all you can see in the PDF is the tag text, there is nothing to copy-paste to follow any link. Also, hypertext links are often used by authors to create links to other points in a document: now even *that* is broken in the PDF version of the documents I retrieve from the web and print from FireFox (Broken in Safari 5.1.3 and earlier but fixed in 5.1.4).
    Try this on the PC, in your browser and print a news clipping as PDF, do the links in the PDF work? What products do this, and what don't? I would bet the machine with a full Adobe suite this will work flawlessly. (Why should a PC user have to pay hundreds of $ to create this functionality in what I thought was an open standard (PDF)? But that's talkin' religion, let's not start that.)
    Some folks might say,
    go online and find the original source doc in your browser. Or,
    go and add those links manually using the Preview edit add-link capability (hunh? no thanks) , or
    save each item worth saving as an HTML archive instead of a PDF (argh, creating a whole directory in the process, I might add, including ads). Or,
    who needs PDFs, everything is online.
    Or, buy some Adobe product.
    I think they miss my point. This is a real strange dumbing-down of archival PDF documents, or at least a destruction of the ability to use PDF as an archive that retains its links and references.
    C.F. the guy who has archives of scientific papers, and the old material all cross-references nicely but after date X there are no working links.

Maybe you are looking for

  • Disabling auto switch off Internet Sharing Lumia 7...

    Is there anyway to disable the auto switch off of the auto switch off feature of the Internet Sharing on the Lumia 710? The reason I ask, is that I want to set this up as my main Internet connection at home using the Three UK One Plan Unlimited Data

  • My new ipod is showing that it is full but I have only loaded about 3gb

    My new ipod is showing that it is full but I have only loaded about 3gb

  • Link between HCM Processes Forms with portal

    Hello Friend's,       Can anyone tell me how to link HCM processes application with portal. I created process in backend. tell me how to call that process in my portal.

  • After Effects not downloading from Download Manager

    Having problems trying to download a Trial of After Effects. In the Download Assistant I am getting an error message: Error communicating with Adobe.com (Error 107). Restart Adobe Download Assistant and try to add the product again.

  • Material Forecast upload

    Hi all, We are trying to upload material forecast weekly data by TCODE MM02. Our input file has 4 fields as below: Plant, Material,     Weekly period, forecast value 1101, 20222222,  2011/34,           120 1101, 30222222,  2011/35,           110 1101