23 Dec 2012 3:08 AM #41
i found a solution
23 Dec 2012 3:40 AM #42
does this work off line?
i cached teh pdf file. but if im off line it wont work. doesnt even get to the spinner.
5 May 2013 4:42 PM #43
sorry,i'm try to package into android or iphone
but afrer i build app ,the pdf canvas just not working.
android will show an div (Hi Hi Hi),iphone just loading or crash
i try include the pdf.js outside the app.json ,but not work either
is this component can't build native app???
12 May 2013 10:52 PM #44
I have the same problem than QMG, I can see the pdf page duplicated and the text very big!
9 Jun 2013 12:50 PM #45
However, when I build through phonegap and deploy to Android, some of the pdfs are garbled like previously posted. But, it works great in iOS - both iPhone and iPad.
Does anyone know what causes the garbled image of the PDF on android?
12 Jul 2013 5:29 AM #46
Can you give me a quick update on the status of the pdf panel? As far as I can tell, it's still the only real solution for ST2. I have it working suitably in browsers, but it seems to hang when packaged in a native app (I've seen someone else post this problem in the forum). Are there plans to continue development on the panel? Thanks so much for sharing your efforts!
7 Aug 2013 5:55 AM #47marco.marsalaGuest
Hi. The demo is not working on IE10 because is using an old pdf.js version.
I’ve fixed by using the newest version of pdf.js (I cloned latest version from git repository then built with “node make generic” as explained in pdfjs site).
Still two issues with this component:
a) on IE10 you cannot scroll the PDF
b) using sencha app build the minification routine damages the pdf.js file. You can fix by manually overwriting, after every build (tedious!), the minified pdf.js with the unminified one from that you've built.
There is any app.json option to tell Sencha Cmd to not minify some .js files?
Dr. Marco Marsala
Network Solution srl
9 Aug 2013 5:05 AM #48marco.marsalaGuest
Solved: how to fix pdf.js in production build
Simply replace the minified pdf.js in your production build with the pdf.js you're using in test build... this is needed because the minification routine damages the file.
See my question here on how to disable minification on some files: http://www.sencha.com/forum/showthre...-on-some-files
9 Sep 2013 11:15 AM #49
short notice (haven't much time lately), I updated PDF.js to latest commit and Sencha Touch to 2.2.1
16 Sep 2013 1:31 PM #50
Thread Participants: 29
- WixSL (2 Posts)
- neoart (1 Post)
- mrsunshine (1 Post)
- extjs5788 (1 Post)
- hotdp (1 Post)
- hudibm (5 Posts)
- loveferoz (1 Post)
- biggbest (3 Posts)
- digeridoo (1 Post)
- pthirlby (4 Posts)
- frankie0515 (1 Post)
- SButts (1 Post)
- acorotchi (3 Posts)
- kmayank (3 Posts)
- morphew (2 Posts)
- dadaking (1 Post)
- Prozaxx (3 Posts)
- jerrysolomon (1 Post)
- QMG (1 Post)
- phoenix_trigo (1 Post)
- richard.styles (1 Post)
- alanthales (1 Post)
- jdockins (1 Post)
- javier.ruiz (1 Post)
- lstolz (2 Posts)
- mob2 (3 Posts)
- marco.marsala (2 Posts)
- mirkotus (1 Post)
- rfrancois (1 Post)