如何添加一行代码实现转发来电短信?

在注释后面添加,求大神!!

package com.Shaw.phonelistener;

import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.provider.Contacts.People.Phones;
import android.telephony.PhoneStateListener;
import android.telephony.TelephonyManager;
import android.widget.Toast;

public class ListenerServer extends Service{

@Override
public IBinder onBind(Intent intent) {
    // TODO Auto-generated method stub
    return null;
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
    // TODO Auto-generated method stub
    TelephonyManager mgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
    mgr.listen(new PhoneStateListener(){
        @Override
        public void onCallStateChanged(int state, String incomingNumber) {
            // TODO Auto-generated method stub
            super.onCallStateChanged(state, incomingNumber);
            if(state==TelephonyManager.CALL_STATE_RINGING){
                //直接转发来电短信


            }
        }
    }, PhoneStateListener.LISTEN_CALL_STATE);
    return super.onStartCommand(intent, flags, startId);
}

}

http://www.cnblogs.com/tiantianbyconan/archive/2012/03/01/2375408.html

http://download.csdn.net/detail/tianjia1872954551/7709563不知道能不能帮到你