title: How to get to another application's specific page
body: <p>I have a widget application, which I have made clickable to reach to another application. However, I am stuck on how to get to a specific <code>fragment</code> in my application. My code is making me open the application, but I want to open a specific page. For that, I tried to put the package of the class I want to be displayed but I got a <code>null pointer exception</code> on the category launcher line. Is it possible? This is my code so far. TIA</p>
  
  <pre><code>                  Intent in = new Intent(Intent.ACTION_MAIN);
                    PackageManager manager = context.getPackageManager();
                    in = manager.getLaunchIntentForPackage("com.playup.android");
                    in.addCategory(Intent.CATEGORY_LAUNCHER);
                    PendingIntent pendingIntent = PendingIntent.getActivity(context,0 /* no requestCode */, in, 0 /* no flags */);
  </code></pre>