Re: [mono-android] Open Pdf

2011-06-23 Thread jnmahi
Hi all , i am using intent to display my pdf ... i want that in my intent there will be two buttons with pdf also so that on clicking button user can move forward or backword how to achive this kind of functionlity Thanks in advance -- View this message in context: http:

Re: [mono-android] Open Pdf

2011-06-22 Thread jnmahi
Hi , I found the issue issue is i am creating file through my application and then launching pdf reader pdf reader dosnt have access to that file which is created by application and file is also deleted once pdf reader is launched Can anyone tell me at which location should i cre

Re: [mono-android] Open Pdf

2011-06-20 Thread jnmahi
Hi all, i opened pdf using below code FileOutputStream fos = new FileOutputStream(file); fos.Write(byteArray); Android.Net.Uri path = Android.Net.Uri.FromFile(file); Intent intent = new Intent(Intent.ActionView);

Re: [mono-android] Open Pdf

2011-06-17 Thread Andrew Sinclair
pplications register their interest in certain types of data.) Hope this helps. Andy -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of jnmahi Sent: 17 June 2011 12:17 To: monodroid@lists.ximian.com Subject: Re: [mono-andro

Re: [mono-android] Open Pdf

2011-06-17 Thread jnmahi
Thanks Andrew is there any way to directly open a pdf which is in byte array i mean through webservice i am getting pdf in byte format can i open it directly through intent ... and one more question do i need to install anything on my emulator so that i can pdf files will be opened ??? --

Re: [mono-android] Open Pdf

2011-06-15 Thread Andrew Sinclair
Something like: Java.IO.File file = new Java.IO.File(fileNameAndPath); Android.Net.Uri uri = Android.Net.Uri.FromFile(file); Intent intent = new Intent(Intent.ActionView); intent.SetDataAndType(uri, "application/pdf");