0

In my project I am try to pick the Gallery images and Emoticons into the Edit Text, I want like chat application. I need to pick the multiple Gallery images and add into the Edit Text field here with I attach my example imageThis images contain text,Emoticons and gallery images

Pans
  • 199
  • 17

1 Answers1

0

You cant type messages with images inside the edittext for that fact that it wont scroll up or scroll left when editText is full.

solution:

what you need to do is create a string equivalent of the image

example:

:) = for happy face

:( = sad face etc.

rr:)tttt:(

After you hit enter you can then parse your string and check for the emoticons in string form and delete it then replace it with picture.

Rod_Algonquin
  • 26,074
  • 6
  • 52
  • 63
  • I send just example images but i want to pick images from the gallery also where ever we can attach the emoticons and images. I have almost done with pick images from Gallery using image getter method but i can show one image at a time – Pans Jun 06 '14 at 05:39
  • Yes i can post but im having small issue in this line d.setBounds(10,200, d.getIntrinsicWidth(), d.getIntrinsicHeight()); – Pans Jun 06 '14 at 06:47