Differentiating delivery reports of two separate SMS's
In a service, when sending smses in a loop with a broadcast receiver listening for delivery reports, how to differentiate the delivery report of each sms sent? This is similar to : How to get Delivery Report of each SMS sent in loop android? except that I think he's using it in an activity and I'm using it in a service where getIntent() is of no avail. Edit 2: posting my code public class CheckServer extends Service { public String snumber[] = new String[10]; public JSONArray array; public int onStartCommand(Intent intent,int flags, int startid) { // Do useful things. ServiceAction SA = new