Android: Receive HTML page through intent -
i have enabled app share via options in html page. now, trying store html page triggered in sdcard. purpose, trying use intent contents.
i used following images , worked charm..
uri imageuri = (uri) shareintent.getparcelableextra(intent.extra_stream); uri uri = (uri) extras.getparcelable(intent.extra_stream); contentresolver cr = getcontentresolver(); inputstream = cr.openinputstream(uri); bitmapfactory.options options = new bitmapfactory.options(); options.injustdecodebounds = false; bitmap imagebitmap = bitmapfactory.decodestream(is ,null, options); please can give me hint of how save html page in sdcard?
within webview (a layout allows opening webpages within application...among other things) , using httpclient.execute() or httpclient.get() should trick you.
Comments
Post a Comment