2011-11-22 78 views
-1

喜友如何在Android模拟器中传递数字和消息inbuild消息?

我的工作在这个应用我在此消息连接inbuild短信Android应用程序静态地掠过我的应用程序的数量和文本

怎么可能这种情况下,请提出了一些解决方案

预先感谢纳拉辛哈

+1

请再次通读您的问题并更正错误。使用标点符号也会大大提高您的问题的可读性。 –

+0

你能详细说明为什么你需要这样做吗? –

回答

1
String number = "12345678"; 
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.fromParts("sms", number, null))); 

Intent intent = new Intent(Intent.ACTION_SENDTO, 
      Uri.fromParts("sms", phone_number, null)); 
      startActivity(intent); 
+0

非常感谢您的宝贵回应 – Narasimha

+0

欢迎,但下次请澄清您的问题,如果可能的话,与一些代码,图像或堆栈跟踪,然后其他用户也可以帮助你。谢谢。 – user370305

+0

好的.............. – Narasimha