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