如何增加Android的书签从网页主屏幕? [英] How to add android bookmark on homescreen from web page?

查看:343
本文介绍了如何增加Android的书签从网页主屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的网络应用程序为Android。

I'm new to web applications for Android..

这是使用JavaScript从一个点击按钮的网页主屏幕上你怎么能添加书签?

How can you add a bookmark on the home screen from a web page using Javascript from the click of a button?

如果我们做一个简单的方法为用户书签的页面,就会显示书签他们的兴趣。这是为我的项目的要求之一。

If we make an easy way for users to bookmark pages, they will show some interest in bookmarking them. This is one of the requirement for my projects.

如何才能做到这一点?

推荐答案

有些人回答在这里似乎不明白,你想要的东西移动,而不是IE,Firefox等他们也似乎并不十分阅读好,你说,网站,而不是移动应用。不过,我相信我看过你的问题正确。

Some of the people answering here seem to not understand that you want something for mobile, not IE, Firefox, etc. They also don't seem to read very well where you said "website", not "mobile app". However, I believe I have read your question properly.

有非常高的几率,你可能还需要这个为iPhone,所以我会回答这个为iPhone和Android也是如此。

There's extremely high odds that you'll probably also want this for iPhone, so I'll answer this for iPhone and Android as well.

有关iPhone,它的简单,只要使用该脚本:

For iPhone, it's as simple as using this script:

<一个href="http://$c$c.google.com/p/mobile-bookmark-bubble/">http://$c$c.google.com/p/mobile-bookmark-bubble/

有关Android的,这不是那么pretty的,很遗憾。你必须做一个按钮或超链接重定向到您的网站说明页面。该说明会告诉网站访问者办设置>更多>添加快捷方式到首页,希望他们得到它。

For Android, it's not so pretty, unfortunately. You'll have to make a button or hyperlink that redirects to an instructions page on your site. The instructions will tell web visitors to do "Settings > More > Add Shortcut to Home" and hope they "get it".

一种选择为Android是,你可以派生移动书签泡沫,使其在页面底部加载没有底部三角形,并使其写着点击设置按钮>更多>添加快捷方式到首页 。同时,你可能想要把的设置按钮是什么样子旁边的设置按钮的2条图标。

One option for Android is that you can fork mobile-bookmark-bubble, make it load at the bottom of the page without the bottom triangle, and make it read, "Click the Settings button > More > Add Shortcut to Home". As well, you might want to put the 2 bars icon of what the Settings button looks like right next to "Settings button".

至于如何自定义被创建的图标,我还在研究这一点,会更新这个答案时,我发现了。

As for how to customize the icon that gets created, I'm still researching that and will update this answer when I find out.

这篇关于如何增加Android的书签从网页主屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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