android


How to bookmark a webpage in an Android application?


I am developing a Newspaper like application. I'm wondering how to save webpages with the click of a button and display it at a later point in time.
I googled for this in vain. If anyone knows how to do this and can provide some useful links, it would be greatly appreciated.
Perhaps you can just save the url in a database together with the favicon or try to get a screenshot from the site to use as icon?
You could probably convert the Webview to a Drawable/Bitmap without too much problems.
Here's two database/sql tutorials for Android:
http://www.screaming-penguin.com/node/7742
http://developer.android.com/resources/tutorials/notepad/index.html
Favicon for a site: http://developer.android.com/reference/android/webkit/WebView.html#getFavicon()
EDIT from comment:
Here is an official database tutorial from the Android team. http://developer.android.com/resources/tutorials/notepad/index.html
It creates a notepad app what uses a database to save notes. You can use it as a base for your news app and instead of storing notes in the database you can store URL, Title and any other information about the bookmark.
After you have saved the information to the database you can use the getFavicon() method in the Webview (if a webvire is what you are using) to get an icon for the bookmark if you wish one.
http://developer.android.com/reference/android/webkit/WebView.html#getFavicon()

Related Links

Xamarin.Forms.Labs Mediapicker hanging on Android trying to pull image from photo library with an Async method
Installation error : Unknown Failure on L build when running the application from Eclipse
Connecting TWO Android devices via USB OTG cable and running adb on the rooted one
adb shell dumpsys meminfo - What is the meaning of each cell of its output?
Fetch prices from Google Play, in-app-purchases
Android L - Icon background color
Android: how to integrate a 'report abuse' mechanism in my app.?
App including Google Maps crashes
Google Drive SDK for Android, Drive.SCOPE_FILE, and Multiple Devices
NXC StrToNum always returns 0
I can't split action bar in android
Android ExoPlayer seeking very slow
android studio can't build project
custom list view with section headers
How to use Otto event bus with Android Annotations
Android How to pass referrer to play store with intent

Categories

HOME
android
delphi-7
eslint
yahoo-finance
saml-2.0
opendj
simulink
visual-studio-emulator
pyqt4
zip
boto3
fosrestbundle
syntaxnet
github-enterprise
supervisor
3nf
magnetic-cards
selectize.js
job-scheduling
forgot-password
imessage
mapstruct
bourbon
boost-icl
asciidoctor-pdf
epsilon
monit
resourcebundle
game-theory
expressionengine3
slidetoggle
licensing
jasmine-node
android-maps
userdefaults
glib
r-grid
rselenium
android-sugarorm
jett
release
health-monitoring
kill
linqpad
lpsolve
flask-restful
opennms
mongotemplate
lightning
ngmaterial
bbpress
objectscript
stream-processing
kiosk
invoke-sqlcmd
realsense
custom-errors
decimalformat
intel-c++
.bash-profile
canalyzer
telepat
kubuntu
fits
umlgraph
packet-sniffers
boost-program-options
iiop
spy++
vsx
dsym
getopt
gwt-openlayers
visual-studio-express
gtm-oauth2
windows-phone-8-sdk
tlf
nevron
process-explorer
time.h
epiceditor
superscrollorama
android-loadermanager
mkv
veracity
faye
subgraph
fusefabric
apache-whirr
apache-commons-dbutils
filemerge
cgbitmapcontextcreate
umra
http-daemon
application-verifier
dojo-dnd
wysiwym
application-planning
int64
wcf-proxy

Resources

Encrypt Message