title: Is it possible to get another application's primary color like lollipop's recents view
body: <p>I found</p>
  
  <p><a href="http://developer.android.com/reference/android/app/ActivityManager.html#getRunningTasks(int)" rel="noreferrer">http://developer.android.com/reference/android/app/ActivityManager.html#getRunningTasks(int)</a></p>
  
  <p>to retrieve current application's baseActivity or topActivity. Then I was able to get the Activity's <strong>Resources</strong> object.</p>
  
  <p>However, the api is no longer available to third party applications in <strong>Lollipop</strong></p>