SmS count not increasing. message id is constant
问题 here I am inserting a record to DB each time I receive or send a SMS. its working fine.But some time all sms will get same id . In which situation do I get same sms id for different sms. public SmsMms(Handler handler) { super(handler); Log.d(TAG, "SMS Constructor"); } public void onChange(boolean selfChange) { super.onChange(selfChange); Log.d("sms", "SMS ONCHANGE"); if(rc == null ) rc = new RecordCount(getApplicationContext()); Uri uriSMSURI = Uri.parse(SMS); Cursor cur = getContentResolver(