Android:消息意图
我是安卓初学者。我需要知道是否有打开创建消息窗口的意图。我尝试使用这段代码 -
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("text/plain");
但是,它引发了,Gmail、电子邮件和;消息
我只需要提出消息。在我的应用程序中,当我按下按钮时,我必须集成它。有人能知道这个吗?指导我。
I'm a beginner to android. I need to know is there any intent to open the Create Message window. I tried with this code -
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("text/plain");
But, it raises, Gmail, Email & Message
I need to raise only message. In my application i've to integrate this when i press the button. Can anybody know this? Guide me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以在 xml 文件中添加
并在活动中:
You can just in your xml file add
and in activity:
试试这个:
Try this:
这将帮助您:
This will help you:
像这样使用所有应用程序都会接受这个意图
Use just like this for all applications will accept this intent
我想这应该有效:
I guess this should work: