If i m not having third party pdf application installed in the android device then? ??
On 29 Dec 2010 13:26, "Robin Talwar" <[email protected]> wrote: This is my onclick code public void onClick(View v) { // TODO Auto-generated method stub Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setDataAndType(Uri.parse("file:///raw/unlockingandroid.pdg"), "application/pdf"); try{ startActivity(i); } catch (ActivityNotFoundException e) { Toast.makeText(pdfviewer.this, "No Application Available to View PDF", Toast.LENGTH_SHORT).show(); } } I see a toast when i click the button :( i cant see the pdf On Wed, Dec 29, 2010 at 12:26 PM, Jake Basile <[email protected]> wrote: > > Just like opening... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

