I guess the *Send For Signature *Activity is part of the Adobe Reader 
package/app *com.adobe.reader* as well.

On Friday, May 10, 2013 2:17:05 PM UTC-4, bob wrote:
>
> I'm trying to understand Intents better.
> So I have this code to show a PDF:
> *String file_loc = "/mnt/sdcard/mypdf.pdf";*
> *Uri dest = Uri.fromFile(new File(file_loc));*
> * *
> *Intent i = new Intent();*
> *i.setPackage("com.adobe.reader");*
> *i.setDataAndType(dest, "application/pdf");*
> *startActivity(i);*
> I thought it would definitely pop up Adobe Reader, but instead it gives a 
> strange choice:
>
>
> <https://lh6.googleusercontent.com/-eO6koTVzS3U/UY05mCP0i0I/AAAAAAAAAdg/PAQSwyBiQ8A/s1600/for_signature.png>
>
> Why does it offer the option "Send for Signature"?  Shouldn't it know what 
> to do since I specified the exact package name?
> Thanks.
>  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to