如何在我们的应用程序中打开短信设置活动? [英] How to open SMS setting Activity in our application?

查看:150
本文介绍了如何在我们的应用程序中打开短信设置活动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下code,我只能够打开撰写短信.....

我想打开短信设置活动没有选项菜单pressed ..

 `字符串SMS_MIME_TYPE =vnd.android-DI​​R / MMS短信;    意图defineIntent =新意图(Intent.ACTION_MAIN);    defineIntent.setType(SMS_MIME_TYPE);`


解决方案

有什么在Android SDK这一点。

欢迎您,如果他们有他们的应用程序之外发布其设置活动的文档和支持手段联系每个几百SMS客户端的的要求他们开发。在Android开源项目的应用程序不会有这样的手段 - 该应用程序的设置活动只能由应用程序本身,而不是由第三方打开

In following code I only able to open compose SMS.....

I want to open SMS setting activity without option menu is pressed..

`String SMS_MIME_TYPE = "vnd.android-dir/mms-sms";

    Intent defineIntent = new Intent(Intent.ACTION_MAIN);                

    defineIntent.setType(SMS_MIME_TYPE);`

解决方案

There is nothing in the Android SDK for this.

You are welcome to contact the developers of each of the hundreds of SMS clients, asking them if they have a documented and supported means of launching their settings activity from outside their app. The app in the Android open source project does not have such a means -- that app's Settings activity can only be opened by the app itself, not by third parties.

这篇关于如何在我们的应用程序中打开短信设置活动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆