Android intent应用实例
2010-08-23 01:15:00 来源:WEB开发网核心提示:Uri smsToUri = Uri.parse("smsto://100861");returnIt = new Intent(Intent.ACTION_SENDTO, smsToUri);returnIt.putExtra("sms_body", "shenren
Uri smsToUri = Uri.parse("smsto://100861");
returnIt = new Intent(Intent.ACTION_SENDTO, smsToUri);
returnIt.putExtra("sms_body", "shenrenkui");
12,发彩信
Uri mmsUri = Uri.parse("content://media/external/images/media/23");
returnIt = new Intent(Intent.ACTION_SEND);
returnIt.putExtra("sms_body", "shenrenkui");
returnIt.putExtra(Intent.EXTRA_STREAM, mmsUri);
returnIt.setType("image/png");
更多精彩
赞助商链接