I can't seem to find a simple example of how to make a button that is on a widget launch an external activity. I'm well aware of how to do this with a button in a normal activity. But it seems that things are a little different when down through a widget.
I'm trying to make a button on my widget open up the official Facebook App. From what i've read it looks like this is the package name: com.facebook.katana
I've seen this done before, so i know it is possible. Anyone have any ideas? Or could point me to some examples? REMEMBER i'm trying to do this in a widget, not a regular activity.
edit: I was trying to play around with Intent.ACTION_VIEW, Uri.parse("com.facebook.katana.HomeActivity")
if i do, Intent.ACTION_VIEW, Uri.parse("http://touch.facebook.com ") it loads the browser, but i cant get something like Intent.ACTION_VIEW, Uri.parse("com.facebook.katana.HomeActivity") to load the activity