I had written an simple program in android to show an notification..By click on notification msg i have to go to inbox. I am using the following code.
Intent notifyIntent = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("content://sms/inbox"));
PendingIntent intent = PendingIntent.getActivity(SimpleNotification.this, 0,
notifyIntent, android.content.Intent.FLAG_ACTIVITY_NEW_TASK);
I am able to recieve notification but by clicking on notification i am not able to go to inbox..
Please any help..thanks in advance
According to the answer to this question, the following will launch the messaging app. However, this makes use of undocumented APIs which are not part of the Android core. Developers should not use the
com.android.mmsapplication as it is not guaranteed to work in future versions or on all devices.