Image keyboard in android - android

I need a keyboard consisting of images. How to send the images to respective applications.
Problems:
As keyboard it can be only linked to EditText. Emoji's as unicode. Images are not rendered in EditText
So basically what images are doing is share functionality in applications.
How to achieve this ?
Eg: I opened my whatsapp and changed keyboard to my custom keyboard. selected a image in that. It should send the image to the current person. Applicable to all applications.

Related

Show Animated Emojis (Like Telegram) on other android apps

Telegram is openSource and recently they added live (animated) emojis to the app.
if a user sends a single emoji (and if large emojis be active in telegram settings) telegram shows a giant animated emoji:
I tried to find where the frames of animated emojis are stored in the telegram source code
I didn't find them. I just find a folder containing the normal png of apple's emojis:
https://github.com/DrKLO/Telegram/tree/master/TMessagesProj/src/main/assets/emoji
now I have 3 questions:
Where animated emojis may be stored on the telegram app?
If any way we can find them, do we allowed to use them in our app (open source license)?
Is there a library for this that I missed?

How do applications store and display attributed text (similar to HTML)

I was wondering how do applications store and display attributed text. By attributed text I mean text that can have photos, colors, style(bold italic etc) and so on.
is there a universal way through which one can store attributed text and display it everywhere (ios/android/web/desktop etc) ?
the only way I found after a lot of research was to store your text in HTML format and then using some kind of webview to render the html back. But is there another way to do this ?
an example of such app: the notes app on mac os

How to format text for android app?

I'm trying to build an android app that displays a set of templates of cards (wedding cards, birthday cards etc) which can be customized as per user requirement. On selecting a template, i want the end user to fill out a form with basic details. I am trying to format the information fetched from user with different fonts, styles, colors, shapes ( like Word Art).
How should i do that ?
Thank you in advance

Android Send Text with custom emoticons

I have made a custom keyboard with my custom emoji icons. I have two devices and I have installed the keyboard on both of them. But when I try to send my icons to the other person through normal text, they show up as boxes and not the emoticons. What do I have to do to make my emoticons visible to the other person also? Android looks in the default folder (res/drawables). Is there anyway to make it look at my own folder when my keyboard is selected?
The other person has to have your emoticons stored somewhere in his/her phone as well, otherwise you can't show them. That is, if the other person does not have your custom keyboard installed, he/she will not have your emoticons.
Another solution if he/she doesn't have them is to send the whole emoticon when used for first time (if whatever chat program you're using supports this, that is).

Highlight text on an image in android

I am working on an app in which I have pdf images that contain have text, I need to highlight the text on which user long pressed by his finger, as in pdf reader like repligo and others.I searched a lot but didn't find any relevant way to do it.
Can someone will share the idea to do it or it maybe more helpful if someone can explain via some code or example.
My Friend.
Even I am also thinking about the same kind of situation. According to me, It can only be done if u know the pixel values of the text . I mean from where it start and at which pixel it ends. Then you have to make a Database for the entire pdf like the Quran Android Application on Market. They simply recognize the device before sending the data from server to client. '
Suppose u r using tablet, then tablet specific pixels are there n if you are using Mobile Device, Then device specific coordinates will come in form of database which can easily be matched by touch.
Then u can easily find which word or paragraph is going to be selected . Then u can do the selection part by using the object of Path in Canvas.
Thank You

Categories

Resources