Community Questions & Answers

iOS - Download and open a PDF

Hi, I'm a new developper on Titanium and I have tried to find a working simple example of downloading a PDF from a web address and open it in the DocumentViewer but when I execute my code it doesn't open and doesn't give me any error. I know that the...

iOS 7 Native Sharing Support

Is there a way to access that "share screen" in iOS 7 with the list of compatible apps? You see this screen if you open a PDF or something in Safari and tap the share option. Here is an image of what I'm referring to:...

Android PDF module - Any successful story?

Hi, I've been doing alot of research regarding PDF viewing on android. Aside from using Android Intent, which doesn't really work for us because we want the PDF to open within the app, the best alternative other developers had suggested is to create my...

image from pdf

There is the possibility to cerate an image from a single pdf page (or from total) in iOS? I don't want to open the pdf, I want to know if there is some routine for extract and save one page in image. Thanks

Open Pdf File in android app

Hi all, I want to create an app in which i will store pdf file as blob in sqlite database .And the problem is to retrieve that pdf file within my app is it possible?if yes then please provide me with some link or pseudo code? If no then wht shud u suggest...

Open PDF files in Android

I m having a PDF file in my **applicationDataDirectory**, I am trying to open it using below code. But i am getting error **file not found** ~~~ try { Ti.Android.currentActivity.startActivity(Ti.Android.createIntent({ action:...

Opening a PDF

Hello, Application Type: Mobile, Platform: Android, Device: Samsung Galaxy Tab 10.1, Development System: Windows I am trying to open a PDF file. I have a the Adobe Reader PDF viewer installed and it is able to open the PDF files that I want to view. Now...

Unable to merge 2 pdf docs

Hi, I am trying to merge 2 pdf documents and neither file.append(otherFile) or file.write(otherFile, true) works. All it does is overwrite the first file. Any help would be greatly appreciated. Here's the code I'm working with: ~~~ var f =...

PDF in webView?

I'm trying to get a PDF to load in a WebView and it just isn't happening. I keep getting the error "[ERROR] Couldn't determine the proper encoding. Make sure this file: 5_preludes.pdf is UTF-8 encoded." The KitchenSink app displays the PDFs just...

error loading pdf into webview

Hi, I get [ERROR] Couldn't determine the proper encoding. Make sure this file: The_iPad_App_Wave.pdf is UTF-8 encoded. when loading a pdf into a webview. I think the message doesn't tell the real problem, since it also appears when using the pdf used...

Pdf in Desktop application

Is there an easy way to display a (local) pdf within an titanium application? I tried it via iframe providing the file path as file:///... That did not work. Any suggestions? Cheers Rob

Opening of local PDF on Android

Hi, in my project I try to display PDFs from resource folder on android driven devices like HTC and nexus7. I copy the local PDF to tempfolder with this [code on pastie](http://pastie.org/7349180) On HTC it works fine and the content of tempFile is...

Display PDF files in Android

Is there a way to display PDF files in Android? I have tried the examples using a webview, but only get a blank page. It seems PDF files are not supported by default? Can I download and bundle some kind of framework with my application that will handle...

Open PDF File on Android

Has anyone found a way to open or view a PDF file on Android? I understand that webview doesn't support PDF on android. I have PDF viewers on the handset, but how can I open the PDF from the app?

iBook PDF reader

I've seen the ability to allow a pdf to be opened in iBooks in a couple Apps. Anyone have any idea how to do this with our good friend Titanium? Gratis!

[Android] Open local stored PDF via Intent

Hey ho, I'm new at Titanium and at the moment I am building my first Protype, after watching the videos and doing some tut's. Now I have a big problem by viewing PDF's via Intent. I've tried some "solutions" but they don´t work for...

PDF Reader Module urgent needed

We are looking for a developer who is able to program a simple PDF-Reader which can be used as a module in a Titanium App. Features should be: Go to page X, go next page, go previous page, zoom. We have a big PDF-document which we have to access via a...

PDF reader on ipad

Hi, i'm writing an app for iPad for a new fiction book that's coming out. among other things the app does, it needs to give users the ability to read the book. i have the book in PDF format. i tried putting the PDF in webview and it works fine, but it...

iPhone PDF file handling

Hello, I need the handling source for pdf files on the iPhone. It's because it's so complex in dealing to the pdf files with Quartz framwork. If Ti have some solutions, I will not hesitate to buy it. Please, let me know about the solution urgently!

Edit a PDF file with Adobe Reader

In my app the users can download files from a server and I want to know whether there is a way to open and edit a downloaded PDF file with Adobe Reader. With Adobe Reader you can add personal notices which are stored in the PDF. Can my app access the PDF...

Make PDF from tableview

Hello good people! Does anyone have a clue on how to make a PDF from a tableview? As if now i can make a pretty good looking email with some html styling but it would be nicer to have the whole she bang as a pdf. So if i do something like this it loops...

Android: loading of remote PDF

Hi, with this code I try it: ~~~ exports.createPDFViewer = function(_pdf) { var getFromCache = function(_url, _callback) { var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, Ti.Utils.md5HexDigest(_url) + '.pdf'); if...

Capture and Save an image into the pdf

Hi everyone... in my project i have to capture a signature and save it into datadirectory it supports only .png format. i tried to add file to pdf but pdf supports only jpeg.I have converted the image from png to jpeg and couldn't save that image into the...

Capture and Save an image into the pdf

Hi everyone... in my project i have to capture a signature and save it into datadirectory it supports only .png format. i tried to add file to pdf but pdf supports only jpeg.I have converted the image from png to jpeg and couldn't save that image into the...

Showing 1-50 of 161 1 2 3 4