communication between two device using sms
问题 I want my program to be able to receive sms from a special number("+9856874236"). I want application to be recive SMS ,if the SMS is contain "enable wifi" ,then change wifi to enable i 'm using this code but it working crash?? MainActivity package com.example.sms; import android.app.Activity; import android.content.Context; import android.net.wifi.WifiManager; import android.os.Bundle; import android.view.Menu; import android.widget.TextView; public class MainActivity extends Activity {