Unable to get shortcut intent from contact ,direct dial and direct message activity
<p>I want the list of all shortcut the same which you get on long press home screen.I am able to get the list and on clicking the contact, direct dial and direct message those activity get launch. But on my <code>onActivityResult</code> the intent from those activities are null, so unable to get the short cut for those contact which I need to display. </p>

<pre><code>Intent intent = new Intent(Intent.ACTION_PICK,ContactsContract.Contacts.CONTENT_URI);
ComponentName distantActivity = new ComponentName(appInfo.getPackageName(), appInfo.getClassName());
intent.setComponent(distantActivity);
intent.setAction(Intent.ACTION_MAIN);
intent.setAction(Intent.ACTION_CREATE_SHORTCUT);
context.startActivityForResult(intent,PICK_PHONE);
</code></pre>

<p>so am I missing some thing here in the intent because of that it comes null.
I search a lot before posting here. </p>
