.jpg to .pdf conversion in windows phone 8 app - image

I have started creating windows phone 8 app and captured an image (.jpg) file, now I want to convert this .jpg file in to .pdf file.
Is there any way to do this ?
Please help me.
Thanks,

As you know that windows app support winrt .winmd files only and normal dll doesnt work in window apps. So you would need the pdf sdk for rendering a pdf and add image to it. In Aspnet application Itextsharp dll is free sdk to support it but there are lot of paid sdk available Component One.But there are free sdks like SilverPdf, itextsharp custom. or try to create new one Or you can extend to Web api service by using service (post api) with image encoded in byte array and in serverside using free tools like the itextsharp you can generate it as pdf and return it to windows app.

Related

Can a Xamarin app be updated by downloading an image, CSS, or .js files using WCF service?

Suppose we write a Xamarin MVC application which is deployed to a device and runs connected to the web.
If we need to update the application by downloading some images, CSS, or .js files using WCF service, for example, is that possible?
Does iOS, Android, and Windows allow you to do that?
Thanks
You can not update the app bundle itself on either iOS or Android, and presumably UWP but I am not very familiar with that platform so not sure. For iOS and Android the app bundles are signed so they can not be modified or else the signature will no longer be valid. You can, however, download anything you want and store the downloaded files in the file system. Every app does have a file system it can access to read and write from. See this Xamarin doc:
Forms:
https://developer.xamarin.com/guides/xamarin-forms/working-with/files/
You might also want to look into the PCLStorage plugin:
Xamarin Component: https://components.xamarin.com/view/pclstorage
NuGet: https://www.nuget.org/packages/PCLStorage/
Source: https://github.com/dsplaisted/PCLStorage
(I know I should paste relevant bits from links, but there is just too much to paste and would end up pasting the whole article. If above link is broken, just google "Xamarin working with files")
Note: I work for MS/Xamarin

PDF Viewer for Windows 8.1 app

Im trying to implement a pdf viewer for Win 8.1 app using https://msdn.microsoft.com/en-us/magazine/dn532207.aspx?f=255&MSPPError=-2147217396.
I need search text feature using this. I know Reader for Windows 8 does it, but i dont know how.
Can anyone help me please!
Thx!
check this great blog post with a summary of available components for WinRT.
http://blogs.msdn.com/b/paulwhit/archive/2013/02/15/pdf-view-components-for-windows-store-apps-winrt-xaml-c.aspx
You might check each component vendor specs as some have been enhanced since the time the article was written (ex : DevExpress PDF component for UWP supports search) BuiltIn PDF component purpose is to render documents, not manipulate. You can contact the dev team for feature requests.
http://blogs.technet.com/b/pdf_api_blog/

windows universal app pdf viewing

I'm trying to design a Windows 10 Universal application which can download pdfs from online and open them natively in the application while retaining the functionality to fill them out (obviously only for pdfs that normally have such functionality). Is this possible as of now (using either microsoft's own or third party products) ?
Since Windows 8.1 there is a API for rendering PDF documents. You can find a SDK-Sample here - https://code.msdn.microsoft.com/windowsapps/PDF-viewer-sample-85a4bb30/
The problem is: The API render the PDFs to an BitmapImage. You will loose all the functionality to edit forms, it´s viewing only. For Windows 10 there is no aditional way to handle pdfs.
Here is a list of third party controls, who maybe can do the trick.
http://blogs.msdn.com/b/paulwhit/archive/2013/02/15/pdf-view-components-for-windows-store-apps-winrt-xaml-c.aspx
This stuff is created for windows 8.1, but should work for windows universal as well.

Downloading file from web in wp7 application [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Launching other applications in Windows phone 7 Programatically
I have created an application in which I download Images/Files and other docs from web for my application but I need them to open using their default file launchers like pdf should be opened via adobe pdf viewer.
Currently I have acheived this using external web browser using webbrowsertask. I want it to happen within the app using webclient or webbrowser control. I tried these two methods, they worked correctly for images and text files but failed for pdf. Is there any other method?
Windows 8 has a native function which launches the default file handler. Is there something similar in WP7?
The link provided by Patrick say everything. You can't download and open files other than images and music files. Files like PDF/DOC need to be opened via webbrowsertask, so the file will fall into correct application's IsolatedStorage (for PDFs - Acrobat Reader). If you download the file, it will fall under your app's IsolatedStorage and Acrobat will not have access to that file.

Create PDF file in WP7 using C#

I want to develop small application for WINDOWS PHONE7 in which User enters Transaction details eg.Transaction Amount and Bank code.
I want to create new PDF file and write this data in it.
I tried adding iTextSharp.dll but is gives Error: Reference cannot be added it Windows Phone project will work with Windows Phone assemblies.
Please suggest other way or assemblies available for it.
You cannot do this on the phone. So don't do it on the phone. Do it on a server in a web service. You can deliver the PDF back to the phone if that is its final destination, or email it directly from the server.

Resources