Search code examples
androidsmsmms

how to send a message to multiple contact in one thread


how to send a message to multiple contact in one thread?

eg:

sendto:NO1,NO2,NO3

The results in threads table like below:

recipient_ids:1 2 3

type:1

solution renew(20121213):

Build the android system by myself ,and use the libary in

out/target/common/obj/JAVA_LIBRARIES

and reference the stock mms app ,creat or get new thread id with

getOrCreateThreadId(Context context, String recipient) 

recipient: a comma separated list of numbers


Solution

  • Build the android system by myself ,and use the libary in

    out/target/common/obj/JAVA_LIBRARIES
    

    and reference the stock mms app ,creat or get new thread id with

    getOrCreateThreadId(Context context, String recipient) 
    

    recipient: a comma separated list of numbers