如何在Android中以编程方式添加应用程序快捷方式 [英] How to add application shortcuts programmatically in Android

查看:63
本文介绍了如何在Android中以编程方式添加应用程序快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将Android应用程序添加为主屏幕,作为程序化的快捷方式.

I need to add my Android application to home screen as shortcut programmatic.

请给出想法.如果可能的话,请告诉我如何管理现有的快捷方式(删除并添加更多快捷方式).

Please give the idea for that. If possible please tell me how to manage existing shortcuts (deleting and adding some more shortcuts).

推荐答案

我已经阅读了一篇文章,该文章可以帮助您以编程方式在主屏幕上添加应用程序快捷方式.

I have read an article which can help you in adding application Shortcut programmatically on Home Screen.

您可以参考示例.

您还可以在此处处引用与stackoverflow有关的问题.

You can also refer the stackoverflow question related to shortcut here .

这篇关于如何在Android中以编程方式添加应用程序快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆