彩信意图 ACTION_SEND
我需要从我的 Activity 发送彩信,但我不知道如何在没有 Intent 的情况下执行此操作。 出于意图,我发布了这样的信息:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra("address", "number");
sendIntent.putExtra("sms_body", "body");
Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory().getPath()+"/Image/Android/1_Hazey_Android.jpg"));
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
sendIntent.setType("image/*");
startActivityForResult(Intent.createChooser(sendIntent, "Send Image To:"),1);
三天来我一直在忍受这个痛苦。 我在android市场应用程序中看到:handsend sms、chompr sms、go sms,他们从他的应用程序发送彩信。 我需要做得很好。
告诉我该怎么做。
对不起我的英语
I need to send MMS from my Activity, but i don`t know how to do it without Intent.
with Intent, I'm posting so:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra("address", "number");
sendIntent.putExtra("sms_body", "body");
Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory().getPath()+"/Image/Android/1_Hazey_Android.jpg"));
sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
sendIntent.setType("image/*");
startActivityForResult(Intent.createChooser(sendIntent, "Send Image To:"),1);
for 3 days I am suffering with this.
I seen in android market apps: handsend sms, chompr sms, go sms, who send mms from his app.
me need to do well.
tell me how to do this.
Sorry for my English
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个
将为您提供问题的答案:如何发送有关附加内容的短信
我使用基于诺基亚 Java 的彩信实现。
为了接收彩信,我使用类
MmsMonitor
PS 数据的接收者至少有一些是来自哪里?
This
will give you the answer to your question: how to send SMS on the attached content
I use Nokia Java based MMS implementation.
For receiving MMS I use class
MmsMonitor
P.S. The recipient of the data at least some are coming from?