title: How to set in-call volume programmatically on android?
body: <p>I've been searching through the questions but can't find a similar one.</p>
  
  <p>I'm trying to set the volume of the phone while on a call from my program. I'm using Java and Eclipse. I want this to run on ICS.</p>
  
  <p>The ultimate goal is to make an app that lets the user select a contact (or group of contacts) and assign a specific volume to the phone when this person calls. Not the ringer, but the incall volume. </p>
  
  <p>For example, my mother-in-law barks over the phone (in person too!) and every time she calls I have to press the volume down several times. Then, another person calls and I can barely hear them.</p>
  
  <p>I have searched the play store for a similar app with no luck.</p>