0
我正在尝试使现有的Android应用程序可穿戴。需要RemoteControlReceiver的包路径吗?
是否需要指定用于设置媒体按钮事件接收器的完整包路径?
我在官方文档中没有看到任何解释。这是因为在如下documentation:
<receiver android:name=".RemoteControlReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
虽然我有这个在我当前的代码:(。)
<receiver android:name="com.pckg.my.app.subpack.RemoteControlReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
你的问题是什么? – trincot
我编辑你的问题,包括一个实际的问题。不过,你应该编辑你的问题,并解释你的当前代码有什么问题。 – trincot