Hi Sunshineman,
Which version of the android OS are you using?
I am currently on an old phone with 2.3.6. It doesn't have the auto answer setting on the dial pad. I use the "Answer the Phone" $$ app to auto answer calls. Works best with a line out into the car stereo or if the BT is on for the entire ride on the bike (read flat phone battery). Because the headset is predominantly receiving not transmitting, it's battery lasts longer than the phone and can stay on permanently for the ride.
I've got a Scala Rider Q2 system (Bluetooth and line in) and a Tom Tom Rider GPS on the handle bars which is BT also.
I am working on writing a smarter app, but making time for it is not easy at the moment.
I want to:
Detect when the headphone line is connected and disconnected to automatically enable the app when connected (done) with option to enable/disable this feature.
Listen to music/podcasts via the line out (automatic default).
When the phone rings I want the app to:
Detect the incoming call (partially done)
Stop the media player (automatic default)
Turn the bluetooth radio on (done)
Connect phone audio to the Q2 via GPS
(not started .. I need to read more about BT protocols and also ability to connect directly to the Headset to accept/reject a call) and
Answer the call based on user's HFP responses (not completed) and
Route the call audio to the Q2 (not started) via the GPS (the GPS forwarding is handled by Tom Tom because the GPS is phone aware [Hands Free Profile, Headset Profile] but not A2DP enabled). The GPS has the ability to display the caller name if the phone address book is copied to GPS [PBAP] ... with accept reject buttons etc.
When the call ends, I want the app to:
Turn the BT radio off to save battery power and
Re-route the music to the line out... and restart the media player... which ever one was in use before the phone rang!!
Not at all ambitious for my first app.
I've got a setting for preferred BT device (from the list of paired devices) to shorten the connection time. I tried several apps from the play store and they would start but would take so long to connect that the call had been diverted to voice mail before connecting the call to the BT.... FAIL !! I have got a setting for the number of rings which should allow me to extend the ring time before diverting to prevent missed calls while connecting to BT.
Sometimes I think buying a new phone may be easier..

but the old one ain't broke apart from this missing feature.
Regards,
Linz.