(RCS) Rich communication service DB

Hello,
I develop SMS/MMS viewer application in Korea.
There was no problem to get sms & mms when I use this query.
=> Uri.parse(“content://mms-sms/conversations?simple=true”

But there’s no RCS message when I query using this.
There looks no reference about RCS message .

Can I know or have guide to develop RCS messge ?

한국 개발자입니다. RCS 메시지가 추가되면서 안드로이드 개발시
이 메시지는 기존 방식으로는 보이지 않습니다. RCS관련해서는 갤럭시 개발 가이드를 받을수 있을까요?

Hi,
As far as I know RCS messaging is not still available for 3rd party apps. It should be available from R OS.

Thanks.

If an SMS/MMS message send over wifi/mobile-data on newer devices with Android 10/11/12, then these message are transformed into chat messages. Here are no intent-filter as such as “sms_received” or “wap_push_received” supported. Incoming messages are stored in “content://im/chat”. Unfortunately there is no well-known way to fetch images of an chat-mms, you know?

Please not, that from older Android 9 devices sent MMS will be handled as MMS without “wap_push_received” notification. You have to pull periodically “content://mms/inbox” from content resolver.

Here is what I used for testing all possibilities:

    Uri uri = Uri.parse("content://im/chat");
    Date date = new Date();
    Calendar calendar = Calendar.getInstance();
    calendar.set(date.getYear(), date.getMonth(), 1, 0, 0);
    String selection = "date >= ?";
    String [] selectionArgs = {String.valueOf(calendar.getTimeInMillis())};
    Cursor cursor = contentResolver.query(uri ,null, selection, selectionArgs, "date DESC LIMIT 40 OFFSET 0");
    int count = cursor.getCount();
    if(cursor != null){
      try{
        int columnCount = cursor.getColumnCount();

        if (cursor.moveToFirst()) {
          for(int i = 0; i < columnCount; i++) {
            Log.e("__T", "[" + i + "=" + cursor.getColumnName(i) + "] " + cursor.getString(i));
          }
        }
      } catch (Exception ex) {
        ex.printStackTrace();
      }
    }

The param ‘address’, ‘date’ and ‘body’ contain sender phone number, timestamp and message. Unfortunately there is no field for a pointer with images (if your message as mms message contained images).

If somebody has a clue, how to fetch or retrieve image data from mms-chat message, don’t hesitate to answer with code example.