Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Image Handling in Edittext

Image Handling in Edittext

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Image Handling in Edittext

Postby bijoy » Mon Jun 22, 2009 11:56 am

hello sir,
I am doing a notepad application.In that we have to attach an image to Notepad(which is using Edittext for typing)
I am getting the image by parsing an html string which contains image tag.

Spanned sp=Html.fromhtml(string). I am using getdrawable mehod for getting image

and adding the image to edittext

edittexthandle.setText(sp,textview.buffertype.spannable)

But i dont know how to put an onclick listener to that image bcoz I am adding that image in the form of (Spanned). What my exact need is like i would be able to remove/replace the image while clicking on the image. please help me in this issue
bijoy
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Jun 22, 2009 11:33 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests