how to implement html content editor in android application -
i receiving html server , need show user simple styles (like bold, italic etc) , user should able edit , impart similar style in it. used webview, not editable. have seen prev ques rich text editor, none of them clear do, or not understand newbie in field. in advance. here data string recieved server, contains html tags within. need editor can add new text, edit prev one, bold/unbold selected text , similar functions
webview = (webview) findviewbyid(r.id.webview1); webview.getsettings().setjavascriptenabled(true); webview.getsettings().setbuiltinzoomcontrols(true); webview.setenabled(true); webview.loaddatawithbaseurl("file:///android_asset/", data, "text/html", "utf-8", null);
Comments
Post a Comment