Phonegap - loading an external PDF/XLS/DOC/etc, what happens?

Hey all,
I'd like to make a phonegap app but I'm curious how one part of it will act.
This would be a very simple brochare-ware type app (like apps that show off cars, etc). It will contain office-esque docs (.pptx, .docx, .xlsx, .pdf, etc). These documents will be hosted on the web. If the user chooses to view one of these files, is it possible to contain the document so you don't leave the app?
What I'm thinking is I'll need to insert an iframe somewhere and point it to the resource. Will this keep me inside the app?
My biggest fear is making an app with phonegap and every time a user wants to view a PDF (or anything) it leaves the app and launches safari to go view the asset. I'd like to remain inside the app at all times when viewing these resources.
Does anyone know if an iframe approach would work? Other alternatives?
Thanks for tips!

For the time being, store everything in the same folder (as good a place as any) and use code like you showed. 

Similar Messages

  • New to iPad from android/PC...How can I view PDF, XLS, DOC files when I am not connected to wifi?

    I understand that GoodReader is able to open PDF, XLS, DOC, etc., but is not actually able to edit them. 
    Documents-to-Go can edit them, but will they be stored on my iPad?
    Evernote seems to be able to access them without being connected to wifi, but cannot edit spreadsheets that I am aware of.
    Does anyone have any good suggestions to be able to access documents while in airplane mode?

    GoodReader, Documents to Go, Pages, Numbers can all store documents on the iPad.

  • How do I use the filter to automatically print email and .pdf, .xls, .doc attachments to my default network printer and to other network printers

    I receive sales orders by email. I want to filter some to print on my default network printer and others to print on another network printer. The email body must print as well as txt, .pdf, .xls, .doc attachments.

    You can filter messages to file them to a certain folder, but I don't think you can have Thunderbird to automatically print them.

  • Spotlight stopped finding files, even after "index". They're visible files, not system files (like.jpg, .xls, .doc). This happened for no apperent reason.

    Spotlight stopped finding files, even after "index". They're visible files, not system files (like.jpg, .xls, .doc). This happened for no apparent reason.
    Worked well with Yosemite the first week, but now it doesn't.

    Any advice would be helpful. Thanks

  • OT: Aperture analogue for .pdf, .eml, .doc etc?

    Does anyone know if there is a way to view .eml and attachments such as .pdf, .jpg, .doc etcetera in some kind of real size 8 1/2 x 11 inch view on my MacPro or MacBookPro? I am struggling right now with portfolio submissions that I am trying to organize and while I have previously printed out the email /and/ the cover letter /and/ the portfolio, this is getting increasingly difficult to handle.
    Is there some kind of software that acts like Coverflow on steroids that will let me drop these into a folder and scroll through them very quickly like I handle my images in Aperture (small icons on left and choice of display and sizes etc) in the Browser?
    Somehow Coverflow does not quite cut it since I need to save out the .eml and the .pdf and the .doc (and it is also not showing me the full pdf or the full .doc just the cover page) and Mail or Postbox will let me organize the emails themselves but the attachments stay pretty buried until I open them.
    Is there such an animal on the mac continent?
    TIA

    Hi CO.
    Thanks so much for the help here. Sorry for the OT.
    Aperture seems really great at making access to images very easy and I am sort of struggling to get my other items together as I push this port to mac forward.
    Is it possible there is something that will just sort of "lay them out" or "splay them out" in a way that Aperture seems so good at? I got to realizing that Coverflow and Quicklook are really awesome but I'm wondering if there is a way to expand on this or minimize the organization that is required. I've been looking at FileMaker and I'm also wondering if there isn't some kind of /linkage/ that I can make between my data.
    I mean, the problem I am having is that if I take 100 resumes from within Postbox (my Mail equivalent) I have to first move them to a dedicated folder and then I have no real way of seeing the imagery in the portfolios unless I click on the email, select the portfolio and then hit the spacebar and do a quicklook. This will only give me a cover page and then I have to double click on the pdf or .doc or whatever to actually see the contents.
    I /think/ Aperture handles pdf's in the same way but if I import them into Aperture (and not all of them will be pdf) I then have disconnected them from their .doc coverletter or even the email that they came in with. You follow me? I mean, I am just sort of hoping to knit this info together a little better in a way I can see it and it isn't buried.
    I bought Papers to organize and search for pdf's but somehow this type of thing still seems like the documents that should go together are all going to be very segregated and also hard to see unless you specifically open them. Just thinking out loud and hoping for a recommendation but I almost want a Aperture-Preview-Coverflow hybrid in a way...
    I mean, I have organized these into 3 Ring binders so I can pull them out and see it all at once but I can't figure out how I would do this in my mac which really should be the place I handle this from now on...
    Do you see where I am at?
    - Jon

  • After recent update to firefox, can no longer read attachments in word or pdf. other computer can. what happened?

    recently updated firefox, per suggestion. now, on computer with update, can no longer read word/pdf attachments. can still do so with adobe 5 on old computer. what happened? what do i have to do?
    == This happened ==
    Every time Firefox opened

    Extensions that may '''interfere with Back Button''', and these are already listed in [http://kb.mozillazine.org/Problematic_extensions Problematic extensions] for other reasons
    *McAfee Site Advisor see [https://support.mozilla.com/questions/805964 805964] (update perhaps 3rd week July 2011)
    *Yahoo Toolbar (https://support.mozilla.com/questions/845691)
    Back/Forward Home don't work in 7.0.1 due to '''network.http.max-connection'''s being upped to 256, reduce back down to 32.
    *https://support.mozilla.com/questions/889087
    Back/Forward: navigation/buttons are disabled (repair with an extension)
    *http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Thumbnails for XLS, DOC, etc

    Hello,
    is it possible to have XLS file checked in and to have thumbnail for it? As far as I can see, one option is to use XLS -> PDF conversion with Inbound Refinery and then we will have thumbnail. I can agree that we need to have M$ Office installed for this purposes, but I don't want to store data as PDF, I still need XLS as file format. Is it possible and if "yes" then "how"?
    Thanks!

    Not sure if you can do it via web (not to say there isn;t a way), but my guess would be to write a JNLP to get them to DL a tmp java prog that has the info tied into it, then the prog auto executes, it creates the file. You could also set up a 'client' version of your prog that would be able to accept that stuff. Again prob using XML make it generate some kind of document, get the client to auto goto a URL it has been sent then, accept that XML (or you can use other methods) then parse it client side, write the file that way.
    Not sure if that helped at all, you never really explained what your server prog does.

  • Backing up External drives to Time Machine - what happens if the drives are not connected at the same time?

    I have 2 x 1 TB drive that I use interchangeably. 1 holds Video and the other Photos. I only have 1 connected when I'm working (using Premiere or Lightroom). I have a 2 TB NAS for making redundant copy of the other 2 drives.So far I've been doing the copying manually.
    I'm considering of using Time Machine to make proper backup sets (though I'm always only interested in the latest set). I know that I can set Time Machine to backup to Nas over the network and include any external drives connected to the mac at the time.
    The questions now are:
    Will Time Machine fails if it can't find any of the external drives?
    Does Time Machine handle backing up the external drives one at a time - only when it's connected - without thinking the files on the "missing" (or disconnected) volume had been deleted?
    Thanks

    Hi Ronald,
    I can't answer the TM question, but Tri-Backup handles those situations perfectly...
    http://www.tri-edre.com/english/tribackup.html

  • I followed the instructions but my new computer does not show my old bookmarks, etc. what happened?

    I followed the instructions to sync firefox to my new computer. I saved info, printed my sync key. I had to disconnect my old computer from the internet, and then reconnect to my new one.
    When i entered the sync key, I did not receive my favorites, etc.
    What do I do now?

    Hey williamfromslingerlands
    If you are having issues with Home Sharing, check out the following article to give you some troubleshooting steps to get it working again.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HT4929 Even after I move to icloud, Lion download, etc., what happens to my saved email file folders? Do I leave them? Move them? Lose them?

    I have downloaded Lion, etc, have a moblie me account that I have not moved to the cloud.
    I have a lot of email folders with emails and links to websites, etc. that I don't want to lose.
    After June 30th, will I still have these saved folders if I've moved to icloud prior to that date,
    or do I need to move everything to a hard drive or a gmail account? Not sure what to do to
    save all of this.

    Welcome to the Apple Community.
    All your mail should migrate from Mobile Me to your iCloud Mail account. If you are at all worried, alt-drag the mail to a folder in your 'on my Mac' account to copy it, to serve as a back up.

  • My NEW iphone has just frozen. The screen is blank and the only thing showing is a loading sign that is also frozen. What happened? How do I fix this?

    Help!

    Kristen, is the "loading" sign a bar which moves( or should move) across the home screen?  Also, have you "activated" it, either via iCloud or iTunes?

  • Firefox was fine earlier today.Now, I have no access or visualization of the Main Menu (File/Edit/View/Bookmarks,etc) What happened and how can I fix?

    Firefox was fine on my LapTop earlier today, Now, I have no access or visualization of the Main Menu Listings that are usually just below the title bar,i,e,,File,Edit,View,History,Bookmarks, Helpetc. Since I don' have access (it's not there), I cannot change settings. I have uninstalled and re-installed and it re-installs the same way.

    * In Firefox 3.6 versions on Windows and Firefox 4 on Windows and Linux it's possible to hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu of a toolbar.
    * Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • Load external PDF in Acrobat Reader

    Hi Guys,
    I'm creating projectors for both Mac and PC and I want to get my button to load an external PDF into Reader and not the browser. Not sure how to do this the best in AS3? external .bat file maybe (I tried but with no success)???
    Any help/advice would be great.
    Cheers,
    Corey

    Sure I understand the OS prefs for each file type. But the std Flash external PDF link opens the file in your browser and not the default PDF reader that is set in your OS. I would have thought that I could open my PDF using the OS deafult reader instead of the browser?

  • Load balancing - what happens if a server goes down?

    Hi, Just an academic question.
    Assume I have 2 DA servers behind a BIG-IP load balancer, named DA1 and DA2.
    If I enable Load Balancing (BIG-IP in my case), what happens to the clients already Connected to DA1 when IP-HTTPS is used?
    For example:
    Client1 is connected to BIG-IP, which in turn redirect this client to DA1-Server. Assume that DA1-server goes down, what happens with the client then? I assume the Client will be redirected to DA2-server by BIG-IP after some time, meaning it will have to establish
    the connection from scratch. Is this correct and roughly how long does it take for the clients to connect to the DA2-Server?
    Since IP-HTTPS is using it's own pool and IPv6 prefix per DA server, I assume this will happen? And the DA client1 will receive a new IPv6 address from DA2 ?
    Thanks!

    Hi,
    It depends of the way your Big-IP is checking the servers in your pool.
    The client will try to reconnect to the HTTPS interface and still be redirected to server1 until your Big-IP validate that the server1 is not responding and disable it.
    And yes, you'll receive a new IPv6 address because each server in a DirectAccess NLB cluster has a specific IPv6 range for the clients.
    Gerald

  • I have stored everything on my Macbook pro in a external hard drive (Time Machine)  Now that we have "wiped the machine" I am told I can start it over and load ontent--apps, docs, etc from the hard drive, just plug it in, find the time machine and what?

    I have stored everything on my Macbook pro in a external hard drive (Time Machine)  Now that we have "wiped the machine" I am told I can start it over and load ontent--apps, docs, etc from the hard drive, just plug it in, find the time machine and what?    I need to know what to highligh, what to click on. 

    hirogliffix,
    take a look at this Apple page — in particular, the “Restoring data from Time Machine backups” section and its “Restoring your entire system from a backup” subsection.

Maybe you are looking for

  • I pad user from Sri lanka

    Hi , I am Ipad user from Sri lanka. I can't buy any book , songs or films using i tunes  .My credit card is from Sri lankan Bank. Is it a problem ? Please help ....

  • Management console Cisco UCSB-B200-M3

    Are there any free tools that come with Cisco UCSB-B200-M3 servers which could do a quick management freindly healthcheck report/check settings of the server against best practice.

  • Error while registering ard of an add-on

    Hi Experts, When i am trying  to to install my add on system is giving error the message is - "Add-on QCCHECK: Add-on %s - Uninstall Failed "QCCHECK" is the name of add on Thanks Edited by: agrawalamitcs10 on May 30, 2011 8:17 AM

  • Missing windows 7 display driver for my Toshiba Satellite?

    Hello everyone, I've got a problem with the display driver of my laptop. Specifically, the display driver is stop working when I awaken the device from a sleep. I have tried to update the driver from Toshiba Australia but surprisingly I did not find

  • Updating BIOS, Windows won't run the exe

    I'm running Win7 Pro x64 and I want to update the BIOS on a a55m-p33 mobo. Live update just says 'download fail', so I've downloaded the file separately and put it on a pen drive as per the BIOS Update SOP. When I run the exe it says it isn't compati