There is no class in the chrome codebase called "Intent" or
"PackageManager". Is this a chrome question?

On Wed, Sep 2, 2009 at 9:23 AM, 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.
>
> >
>

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

Reply via email to