And, if we skip the test and let the code continue on, a PDF is
successfully displayed through a simple startActivity with an intent
for ACTION_VIEW on a PDF file.

On Oct 4, 1:23 pm, Mark Murphy <[email protected]> wrote:
> On Mon, Oct 4, 2010 at 2:17 PM, DanH <[email protected]> wrote:
> > Why would this viewer not be found???
>
> > (The meaning of MATCH_DEFAULT_ONLY is unclear to me, but it appears to
> > imply that only apps that would respond to a vanilla "click" on the
> > file in a file list should be selected.  Surely the default PDF viewer
> > would respond to this, no?)
>
> Have you tried with 0 in place of MATCH_DEFAULT_ONLY? Perhaps that
> activity does not have the default category specified in its intent
> filter.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

-- 
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

Reply via email to