Android Send Text with custom emoticons - android

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).

Related

Get the texts typed from keyboard (or custom keyboard)

My question is that while we are typing text either they are email, passwords, credit card number all these are saved in device cache and shall we can fetch those typed texts from device cache?
Actually what I want to achieve is that to satisfy that my custom keyboard is secure and it does not saves the user typed texts to the device.
But how to know that either keyboard saved texts or not?
I have searched many website there is no clue that how to know that which keywords and how keyboard saving data.
Thanks in advance!
Well if you are really concerned about security then best option would be not to use custom keyboard.
In Android end keyboard or any data related transaction normally stores locally in your same application cache if that custom keyboard would save anything out of application cache then app would ask you for the permissions which you can deny.
Although it is quiet possible to do low level keyboard hookup in Windows.
Low level keyboard hook example
I hope it will satisfy your question.

Image keyboard in 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.

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

In android, Can I get a selected text to my Application from Mozilla?

I'm planning to develop english tool-tip dictionary in android.
As I mentioned in the title, is there any way to get a selected(or tapped) text from Mozilla or any other text viewer program to my application??
copying to clipboard is not convinient, so I want to pop up the meaning of word when people select it or tap it..
but I still can't find how to carry out the text.
I only found getSelectionStart() and document.onselectionchange which is used when we get the text of it's own program.
Is there any way to carry out the selected text to other program? and without being rooted.
Please rescue me!
No, you cannot access events like this unless it is your own application for security reasons.
If allowed, malicious apps could use this to copy personal details like usernames and passwords

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