gpt4 book ai didi

Android Intent-filter 适用于 Magic,但没有 Hero,可能是什么问题?

转载 作者:行者123 更新时间:2023-11-30 04:53:28 25 4
gpt4 key购买 nike

我正在开发一个应用程序,该应用程序的 Activity 设置为具有 Intent 过滤器

<intent-filter>
<action android:name="android.intent.action.RINGTONE_PICKER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

当我使用 HTC Magic 手机进行测试时,这工作正常,当我进入设置 -> 设置铃声时,我可以从我的应用程序或内置的铃声选择器中进行选择......但在 Hero 上它直接进入构建在选择器中...

有人知道问题出在哪里吗?

最佳答案

感谢您的回复,但我们已经找到了一种方法...添加另一个 intent-filter...似乎 HTC Hero 使用 HTC_RINGTONE_PICKER intent 代替 RINGTONE_PICKER intent...

关于Android Intent-filter 适用于 Magic,但没有 Hero,可能是什么问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1770263/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com