2013-07-16 352 views

回答

0

您需要如下創建一個BroadcastReceiver,

public class checkSMSSending extends BroadcastReceiver 
{ 
    @Override 
    public void onReceive(Context context, Intent intent) 
    { 
     if (intent.getAction().equals("android.intent.action.SEND_SMS")) 
     { 
      System.out.println ("SMS Sent"); 
       // Place your code here. 
     } 
    } 
} 
+0

感謝名單......這是工作好.... – Imran