Sha256: 6a5891bc26924681e13dd401331d4559f22ace3e2ecfe321a8184300e4257505
Contents?: true
Size: 702 Bytes
Versions: 15
Compression:
Stored size: 702 Bytes
Contents
package com.moode.sms.service; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class SMSDeliveryCallbackReceiver extends BroadcastReceiver { private static final String TAG = SMSDeliveryCallbackReceiver.class.getSimpleName(); @Override public void onReceive(Context context, Intent intent) { switch (getResultCode()) { case Activity.RESULT_OK: Log.d(TAG, "SMS delivery OK"); break; case Activity.RESULT_CANCELED: Log.w(TAG, "SMS delivery Cancel"); break; } } }
Version data entries
15 entries across 15 versions & 1 rubygems