1

Can I merge two class in two java file into one?

view story
linux-howto

http://stackoverflow.com – The following code works well, but I think it is too complex. SmsBroadcastReceiver.java public class SmsBroadcastReceiver extends BroadcastReceiver{ private static final String ACTION = "android.provider.Telephony.SMS_RECEIVED"; public SmsBroadcastReceiver(){ } @Override public void onReceive(Context context, Intent intent) { if (intent != null && intent.getAction() != null && ACTION.compareToIgnoreCase(intent.getAction()) == 0) { PublicPar.myContext=context; Object[] pduArray = (Object[]) intent.getExtras( (HowTos)