The end result is the same. Activity not found.
For reference: Using ComponentName(Package, Class) produced the same
values
as unflatten(package/class).
On Jul 11, 1:34 am, Dianne Hackborn wrote:
> On Sat, Jul 10, 2010 at 5:39 PM, CMWiii wrote:
> > "name" was just chosen for the psuedo code.
On Sat, Jul 10, 2010 at 5:39 PM, CMWiii wrote:
> "name" was just chosen for the psuedo code. It is a component name of
> the form" packagename/classname",
> hence the unflatten.
>
Don't use flattened names. The only time you'll use those is if you
actually to have to flatten to a string, to pu
"name" was just chosen for the psuedo code. It is a component name of
the form" packagename/classname",
hence the unflatten.
On Jul 10, 5:24 pm, Dianne Hackborn wrote:
> What is "Name"?
>
> ComponentName has a constructor that takes a package name and class name; in
> the activity info these are
What is "Name"?
ComponentName has a constructor that takes a package name and class name; in
the activity info these are .packageName and .name.
On Sat, Jul 10, 2010 at 3:52 PM, CMWiii wrote:
> Same result:
>
> used:
> myIntent.setComponent(ComponentName.unflattenFromString(Name));
>
>
> On Ju
The line:
ResolveInfo ri = manager.resolveActivity(exceptionIntent,0);
should read:
ResolveInfo ri = manager.resolveActivity(myIntent,0);
On Jul 10, 3:28 pm, CMWiii wrote:
> In a test app I pass an intent to resolveActivity to find out what is
> the
> best fit for the intent.
>
> For example:
Same result:
used:
myIntent.setComponent(ComponentName.unflattenFromString(Name));
On Jul 10, 3:38 pm, Mark Murphy wrote:
> Try setComponent() instead of setPackage().
>
>
>
> On Sat, Jul 10, 2010 at 6:28 PM, CMWiii wrote:
>
> > In a test app I pass an intent to resolveActivity to find out wh
6 matches
Mail list logo