All I have to do is change the code below to use a PendingIntent and pass
that to startActivity?
public void onReceive(Context context, Intent intent)
{
if (intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT) !=
null)
{
Intent newIntent = new Intent(Intent.ACTION_MAIN);
newIntent.setClass(context, ActivityListView.class);
newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(newIntent);
}
}
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------
On Tue, Sep 15, 2009 at 11:00 AM, Paul Turchenko
<[email protected]>wrote:
>
> Use PendingIntent
>
> On Sep 14, 8:01 pm, Tikoze <[email protected]> wrote:
> > Anyone?
> >
> > On Aug 31, 4:26 pm, Tikoze <[email protected]> wrote:
> >
> > > Any info on this would be appreciated. I know it can be done because
> > > I have installed a few apps that are able to launch via the camera
> > > button without having the camera app launch as well.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---