开发者

Android Intent-filter working for Magic, but no Hero, what could be the issue?

开发者 https://www.devze.com 2022-12-11 20:25 出处:网络
I\'m working on an application that got an activity that is set to have intent filter <intent-filter>

I'm working on an application that got an activity that is set to have intent filter

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

This works fine when im testing with a HTC Magic phone, when I go to settings -> set ringtone, i get to choose from my app or the built in ringtone picker... But on Hero it goes directly to the build in picker...

Anyone got any idea on what the pro开发者_运维技巧blem could be?


Thanks for response, but we already found a way... to add another intent-filter... seems like HTC Hero uses a HTC_RINGTONE_PICKER intent insted of RINGTONE_PICKER intent...

0

精彩评论

暂无评论...
验证码 换一张
取 消