<span style="white-space:pre"> </span>try {
Intent intent = new Intent(Intent.ACTION_CALL, Uri
.parse("tel:" + item.jlusertel));
context.startActivity(intent);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
调用电话
<pre name="code" class="java"><span style="white-space:pre"> </span>try {
Uri smsToUri = Uri.parse("smsto:" + item.jlusertel);
Intent intent = new Intent(Intent.ACTION_SENDTO, smsToUri);
context.startActivity(intent);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
调用短信