How to get package name of camera application

前端 未结 4 2058
陌清茗
陌清茗 2021-01-06 16:33

Thanks for previous replies,

Is it possible to get Package name of camera application which is installed on the device? If the OS is customized the default package n

4条回答
  •  迷失自我
    2021-01-06 16:44

    I guess it is impossible or possible with some precision. You can enumerate all system packages (applications that are provided with the device) and try to select the package that has CAMERA permission. But this approach can give you several applications, because several applications can use camera for their needs. But in general case I guess this is impossible.

提交回复
热议问题