title: How to kill application using its name?
body: <p>Is there any way to get package names from application name ??
  for e.g if app name is location , can I get its package name com.android.location, so that I can kill it using</p>
  
  <p>am.killBackgroundProcesses(package name)</p>
  
  <p>or someone knows any function directly to kill using app name. any other suggestions ??</p>