This sounds like an Android question.  Did you send this to the wrong
mailing list?
--Amanda


On Wed, Sep 2, 2009 at 12:23 PM, hap 497 <[email protected]> wrote:

>
> Hi,
>
> When I call PackageManager's queryIntentActivities() with this intent,
>
> Intent intent = new Intent(Intent.ACTION_SENDTO,  Uri.parse("smsto:"));
> packageManager.queryIntentActivities(intent, 0);
>
> it returns 1 result.
>
> But when I do this:
> Intent intent = new Intent(Intent.ACTION_SENDTO);
> packageManager.queryIntentActivities(intent, 0);
>
> It returns 0 result.
>
> I am trying to query how many *all* activities registered for
> ACTION_SENDTO, instead of just send to smsto.
> So i expect the result to be at least 1.
>
> Anyone has any idea for this behavior?
>
> Thank you.
>
> >
>


-- 
"Portability is generally the result of advance planning rather than trench
warfare involving #ifdef" -- Henry Spencer (1992)

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to