添加 添加快捷方式是向桌面应用(launcher)发送相关action的广播:public static final String ACTION_ADD_SHORTCUT = "com.android.launcher.action.INSTALL_SHORTCUT";Code:private vo...
分类:
移动开发 时间:
2014-12-10 00:20:47
阅读次数:
343
npm init:For create package.json file which will recode the dependence.npm install:You can also write like:npm i This is a shortcut way to write npm i...
分类:
Web程序 时间:
2014-12-09 07:07:25
阅读次数:
903
String ADD_SHORTCUT_ACTION 动作:在系统中添加一个快捷方式。. "android.intent.action.ADD_SHORTCUT"String ALL_APPS_ACTION 动作:列举所有可用的应用。输入:无。 "android.intent.action.ALL_...
分类:
移动开发 时间:
2014-12-02 10:13:44
阅读次数:
368
修改用户目录下的shortcuts.xml文件, 关键是有些设置和内部快捷键冲突,优先级比较低。通过录制宏并设置快捷键解决,例如ALT+F。 <NotepadPlus>
??? <InternalCommands>
??????? <Shortcut id="41001"...
分类:
系统相关 时间:
2014-12-01 13:00:58
阅读次数:
543
都说前端容易,谁说的。前端上手快,越往后学习越困难。学习前端快一年了,依然发现一些小的知识点不会。这些经验性的东西不碰到永远学不会。
(1)title前面的logo。
就像这个编辑文章前面的logo。不知道大家知不知道这个图标是如何加载过来的。反正我之前不知道。。。如果大家知道的话就直接忽视掉我吧。当我自己做笔记了吧。
这个rel后面要写shortcut icon,代表这是tit...
分类:
Web程序 时间:
2014-11-29 14:37:58
阅读次数:
171
网上参考过N多的资料,最后发现还是这样写比较靠谱
//创建快捷方式
private void addShortcut(){
Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");//保持默认
//快捷方式的名称...
分类:
移动开发 时间:
2014-11-25 18:38:43
阅读次数:
206
$(function(){ $("#login_accounts,#login_account,#shortcut_login_accounts").on('focus',function(){ window.document.onkeydown = function(e...
分类:
其他好文 时间:
2014-11-17 17:15:41
阅读次数:
187
需要权限:调用方法:ShortCut.create(this);ShortCut代码如下:public class ShortCut { /** * 是否存在快捷方式 * @param context * @return */ private static...
分类:
移动开发 时间:
2014-11-09 17:50:16
阅读次数:
186
第一步: 利用图标工具(有很多)制作图标文件(favicon.ico)上传到网站所在的服务器的根目录下,这个文件必须是16*16大小的图标文件。 第二步: 在之间添加下面的语句: 1 根据亲测,在IE中"rel"属性还得添加"shortcut",才能正常显示。1 测...
分类:
其他好文 时间:
2014-11-08 22:09:54
阅读次数:
242
So I realise that it might be helpful if I clarify myself, the desktop shortcut file for Eclipse would contain something like this: [Desktop?Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE?for?all...
分类:
系统相关 时间:
2014-11-06 15:11:31
阅读次数:
152