I already shown a PDF file in android device. But I need to scribble (writing with my finger) in that PDF page and I need to save the changes with existing PDF file itself in the sdcard. I searched so many source codes but i can't get what i am expected. Could you anyone help me on this. Thanks.
Related
I am trying to create an app that will be able to display a pdf file in the app itself. I'm currently using the Xamarin.Bindings.PDFView-Android by SIDOVSKY which works really nicely. I can open a file easily from the assets... what I'm struggling to do is open a file from the internet.
Just a single line of code:
FindViewById<PDFView>(Resource.Id.pdf_view).FromAsset("report.pdf").Show();
Is enough to display a PDF that can be pinched to zoom which is great. However, I now want to access a file stored on the local network. Either using a SMB share, or through the intranet. Whichever way I try I can't figure it out.
There is a .FromFile setting, but I can't get it to work by putting a smb path in here. Is there a way to convert this? Or must I download the file to the local device first?
Thanks
Andrew
I have a URL which points to some PDF file. The thing I want to achieve is to share it with some app. Sharing not a link, but the PDF file itself. The question is how to achieve this? With my investigation I came to the following conclusion:
Download it using Retrofit
Save it inside device
Get somehow the path of the file and share it
Is it correct path to solve the problem? Maybe there are other, more easy solutions?
Am developing an offline pdf reader, which will download pdf files from remote and store inside the directory(say Android->data->com.example.test) and it will be shown in my app and i can read both in online and offline.
My issue is, If I open any PDFViewers like Adobe,Radaee viewers I can see my PDF's.
How can i avoid this. I dont want to show them in other apps.
This is not intended behaviour. we can control. Am looking for solution.
Example : Whatsapp's media like albums,profilepictures will be stored in device. We can view it. If you open any external Imageviewers we cant see the Profile Pictures. We can see the Media files. But Profile pics will be hidden. I need the exact solution.
Any help will be much appreciated.
Thanks in advance.
Imran.
Store the PDF on internal storage. You are presently storing the PDF on external storage.
I have an PDF file and there are certain inputs that ought to be filled in the same. There are two approaches to this. Either, I create an entirely new screen that looks like the PDF file and get the user inputs and parse it to the iText library to create a PDF file or open the template PDF and fill in the contents through the android screen and save it in different file.
I am trying to concentrate on the second option. Here, I will have to open the existing template PDF and enable the user to enter the input items. I will also have to allow the users to scribble in certain areas. Is this feasible? I have done some research and am not sure, if all these are possible using iText.
Please can someone help me?
I am working on android applications. I gone through the link http://dhruvvaishnav.blogspot.in/2013/05/download-file-to-your-android-device.html and able to display the pdf file. But now my problem is with security. When I display the pdf file in my android application it is possible to save that file. But according to my requirement the pdf file should not be saved. It should be only readable and should not be savable. What is best solution for this?
Please anybody help me with this issue.
Thanks in advance