Android - add menu item to Android's built-in apps?

前端 未结 3 633
清酒与你
清酒与你 2021-02-06 18:31

I\'d like to add a menu option to the Android camera app. Is this possible to do using the current SDK?

Thanks.

Edit : Ok I know I need to add a

相关标签:
3条回答
  • 2021-02-06 19:14

    I think the build in applications are mostly open source. Maybe you should go to the source code and compile your camera with the added menu buttons yourself?

    0 讨论(0)
  • 2021-02-06 19:16

    Most of the built-in Android applications do not add third-party options to their menus.

    0 讨论(0)
  • 2021-02-06 19:24

    The closest you can get is to add an option to the 'Share' menu of the built-in camera application. The built-in e-mail app uses the following intent-filter to do this:

    <intent-filter>
      <action android:name="android.intent.action.SEND"/>
      <data android:mimeType="image/*"/>
      <category android:name="android.intent.category.DEFAULT"/>
    </intent-filter>
    

    (Note the mime-type is specific to image files.)

    0 讨论(0)
提交回复
热议问题