B4A Library msEmoji V1.0.0

jotaele

Member
Licensed User
I was watching those threads a lot of time yesterday. :)

Like this?

maybe is IS in the lib but set to private... I only wrapped public methods... Will check later.
Are you looking for expose the private methods or you mean that is imposible to wrap this methods. I don't understand you. Sorry.

Yesterdayk, I was thinking about, and I tried to use Reflection, but was imposible to access this methods, events, ...

If you can't wrap them, I can use the iconic font and use a EditText with all the methods. Its the only option that I thinked.

The "whatsapp keyboard" is near to be finished but in black and white.

I will stay for your response before changing to a iconic font.

Thanks by you efforts.
 

jotaele

Member
Licensed User
I was watching those threads a lot of time yesterday. :)

Like this?



Are you looking for expose the private methods or you mean that is imposible to wrap this methods. I don't understand you. Sorry.

Yesterdayk, I was thinking about, and I tried to use Reflection, but was imposible to access this methods, events, ...

If you can't wrap them, I can use the iconic font and use a EditText with all the methods. Its the only option that I thinked.

The "whatsapp keyboard" is near to be finished but in black and white.

I will stay for your response before changing to a iconic font.

Thanks by you efforts.
From the thread:

http://www.b4x.com/android/forum/threads/wrapped-library-inheritance.54830/#post-345343

I will clean and then post the code of the keyboard.

Anyway, it's working, but don't put the icons in the correct position, only in the begining or a the end, but can help to some one.
 

jotaele

Member
Licensed User
From the thread:

http://www.b4x.com/android/forum/threads/wrapped-library-inheritance.54830/#post-345343

I will clean and then post the code of the keyboard.

Anyway, it's working, but don't put the icons in the correct position, only in the begining or a the end, but can help to some one.
Here is the link of the "Like Whatsapp Keyboard" that I tried to do.

It's only a test, but can help anyone.

https://drive.google.com/file/d/0B4cxOc_dZWIgbEY2WnNuMncwZkU/view?usp=sharing
 

Reids

Member
Licensed User
Hello this library is cool!!
but how I can add this emoji on the listview, text wont replaced with emoji when emoji was added in listview
 

Reids

Member
Licensed User
Yes I mean customlist view, the emoji won't appear too, text only displayed as [de] [uk] [us] [wine_glass] tag
wont replaced as image, I make sure label defined as emojitextview, and this emoji label has added to customlistview

Private lblEmoji As EmojiTextView

pnl.AddView(lblEmoji , 10dip, minHeight, sv.Width - 5dip, h1)
 

jotaele

Member
Licensed User
Yes I mean customlist view, the emoji won't appear too, text only displayed as [de] [uk] [us] [wine_glass] tag
wont replaced as image, I make sure label defined as emojitextview, and this emoji label has added to customlistview

Private lblEmoji As EmojiTextView

pnl.AddView(lblEmoji , 10dip, minHeight, sv.Width - 5dip, h1)
Paste the code of your project.
 

DonManfred

Expert
Licensed User
Yes I mean customlist view, the emoji won't appear too, text only displayed as [de] [uk] [us] [wine_glass] tag
wont replaced as image, I make sure label defined as emojitextview, and this emoji label has added to customlistview
https://www.dropbox.com/s/krblaweyi5pio4j/emoji_clv.zip?dl=0



The first item is placed in designer and the layout is loaded to a panel and the panel added to the clv.
The second item is added to a panel by code and the panel is added to the clv
 

Reids

Member
Licensed User
Here I attached the file, we working on line 179 at customlistview module
I do the same as example you attached but why it still not replaced as image :(
therefore I forget to tell please add more properties like :
-TextColor
-Gravity
to the emojitextview :D
Thankyou :)

ps : attached file doesn't contain of image smilies due my lack of internet connection here :(
 

Attachments

DonManfred

Expert
Licensed User
ps : attached file doesn't contain of image smilies due my lack of internet connection here
It is also missing the line to INCLUDE the images to your app.

I uses your example. Added the resource folder AND the additionalres command
B4X:
#AdditionalRes: ..\Resources
It looks like this
 

Reids

Member
Licensed User
How stupid, I'm missing that piece line of code
now it work! sorry :'( ahahaha
This is great library!
please add more properties like TextColor & Gravity, the textcolor properties is most usefull properties
 

jotaele

Member
Licensed User
Hi another time @DonManfred

Are you added more properties to EmojiTextView, like Gravity, ...? Are you thinking in release more versions with the standard methods of the standard EditText, Events, or this is the final version?
 

DonManfred

Expert
Licensed User
Are you added more properties to EmojiTextView, like Gravity, ...?
Not as yet. Did not have the time the last days/weeks and still have not much time in near future
Are you thinking in release more versions with the standard methods of the standard EditText, Events, or this is the final version?
I don´t think it is the final version... But: as the wrapping of libraries for b4a is kind of a hobby for me sometimes i do not have the right mood to work on a specific wrapper.

I´ll do more on it when i have time; just keep reminding me ;)
 

Reids

Member
Licensed User
Is it possible to replace text like smilies one using () instead [] forexample
B4X:
:D or :)
instead [smile]
 
Top