I have an iphone app developed in Flash Builder/Flex Mobile Project that displays PDFs using stagewebview.
I am interested in printing these PDFs from the application. Does any one know if this is possible and if yes could you please suggest some example code?
Thanks!
AlivePDF did you have a look on this.
http://livedocs.adobe.com/flex/3/langref/mx/printing/FlexPrintJob.html
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html
With this you can read pixel by pixel and send to printer to print the Object.
Related
i have the next problem. I don't have Adobe Reader in my local machine and i have some Webform that show pdf files in fact i can't see this pdf files for it i need to find some way to open this files using the Adobe Reader from the server. Is that posssible? Somebody could show me how do this? Thanks
It isn't possible to use Adobe Reader to display a PDF to another machine through a web page. If this is just for local testing, try using Chrome or Firefox if you can. These have their own PDF readers separate from Adobe.
If you are trying to actually display the content as a non-PDF format, you may want to look into something that will parse the file into HTML. Mozilla's "pdf.js" is a good example, and might be of use to you. However, I don't think this is necessary. Nearly all users can view PDF files.
Have a look at PDF Js which can render a PDF in a web viewer.
I'm starting to play with printing in Flex. I tried to run the "Example: A simple print job" here from the Adobe web site and then by building the same app in FB4 and running it in chrome. Interestingly, the printing UIs I get look different (see picture). Is this because the example online is built with FB4.5 and I'm using FB4, or is it something else?
Note: I'm using Chrome on Windows 7.
thank you!
Is it possible to open a pdf file in a Flex Mobile application?I have searched but I didn't find anything.
Thank you
Use Document Launcher Native Extension for Android. I tried and it works nice!
You should be able to do this using the StageWebView:
http://blog.wookets.com/2011/05/flex-mobile-using-stagewebview-to-show.html
I have a flex application showing a chart. I want to give user the functionality to download this chart as image. How can i do it?
This Adobe Cookbook entry can answer your question. And yes, your project should be targeted Flash Player 10.
I would use the ImageSnapshot class to take a 'pic' of the chart, then save it locally using FileReference.save().
I am building a QT application which I customize through QT stylesheets. The images I use for the controls are SVG images which are rendered properly when ran in Linux. But when I load the QT application into a mobile device, the SVG images don't seem to appear.
Does anyone know what's going on? What should I do to make the SVG images work?
First check the log file in your emulator and find out what is the error occurred:
svg while implementing on mobile device may fail because of the following scenarios.
1.Memory footpring issue because of different OS;mobile OS is relatively small in size.
2.Device type on which it runs.
3.Framework that is used for implementing SVG applications.The framework availability
4.Sometime image encoding can also be an issue.
So need to get a framework that support all these characters on mobile device.
Currently there are few open source and commercail frameworks available.You will get more from this link
http://developers.sun.com/mobility/midp/articles/s2dvg/index.html