Is it possible to open the default activity for Android messages due to an action you write yourself? For example, I click the Mail button inside my program and open the Android Messaging application just as if I clicked the Messages icon on the main screen.
I did something similar to this with the activity of contacts, but only the list of contacts appears, there are no additional functions, such as adding / changing / deleting, etc.
Any ideas?
edit: I found this way to open the "Create a new message" action, I just need to backup this step. Does anyone know the correct MIME type instead?
Intent sendIntent = new Intent(Intent.ACTION_VIEW);
sendIntent.setType("vnd.android-dir/mms-sms");
m_activity.startActivity(sendIntent);
source
share