Dynamic Android Call forwarding
问题 I'm developing a mobile APP and I need to forward the incoming calls to different numbers based-on contact group. I divided my contacts into groups and each group has a different call forwarding number. When I receive the incoming call I should forward it based-on its group. I wrote this code in PhoneStateListener in Call_State_Ringing: package com.example.user2.callforwardnew; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri;