title: How do I set the activity of the Android Up-button dynamically?
body: <p>The following two methods seem like they should do the trick, but I can't get them to work. Does anyone how to get these methods to work, or know of another way?</p>
  
  <p>getSupportParentActivityIntent
  <a href="http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html#getSupportParentActivityIntent()" rel="nofollow">http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html#getSupportParentActivityIntent()</a></p>
  
  <p>onCreateSupportNavigateUpTaskStack
  <a href="http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html#onCreateSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder)" rel="nofollow">http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html#onCreateSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder)</a></p>