I am looking for documentation for sending intent from application to SAM to start it with app details of specified application, it is mentioned in SAM description that these intents exists, but no information of what exactly intent must be.
For example in Android Market application , the appropriate call look like:
String s="market://details?id=com.SomePackageName";
try {
Uri uri=Uri.parse(s);
try {
startActivity(new Intent(Intent.ACTION_VIEW,uri));
finish();
}
catch (ActivityNotFoundException e1) {
// fail to start Market app
}
}
catch (NullPointerException e) {
// fail to parse Uri
}
How to do the same for SAM ?