Thank you, this code works well:
Intent intent = new Intent(ACTION_NETWORK_OPERATOR_SETTINGS);
boolean available =
intent.resolveActivity(context.getPackageManager()) != null;
On Feb 24, 10:32 am, Kostya Vasilyev wrote:
> OK then, use PackageManager to check for a match beforehand.
> 24.02.2011
OK then, use PackageManager to check for a match beforehand.
24.02.2011 12:27 пользователь "b_t" написал:
> This is not good for me. I would like to show a list to the user to
> select an action what to do.
>
> So I can't start the activity before to check if it exists or not.
> And it is not eleg
This is not good for me. I would like to show a list to the user to
select an action what to do.
So I can't start the activity before to check if it exists or not.
And it is not elegant that after he clicks on it I say, oops I can't
do that.
And I would like to set this intent in an appwidget.
3 matches
Mail list logo