When we click on messages we are showed with the inbox.
I want to show the same window when i clicked on my application\'s button.
So, I want to start message in
I extended srinivasa's solution above to get the package name of the default SMS app currently being used on the device:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
application_name = Telephony.Sms.getDefaultSmsPackage(this);
}
I found this worked well across Samsung and Nokia devices which both use a different app for SMS out of the box.