1

Can't send SMS if more than 160 character

view story
linux-howto

http://stackoverflow.com – I made sms application, it's running well if the message length < 160, but, when message length is more than 160, the emulator said that the application force close, How I fix that? here is my code.. private void kirimSMS(String string1, String string2) { pi1 = PendingIntent.getBroadcast(this, 0, new Intent("SMS_SENT"), 0); pi2 = PendingIntent.getBroadcast(this, 0, new Intent("SMS_DELIVERED"), 0); sendBroadcastReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated meth (HowTos)