How to format text for android app? - android

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

Related

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

Display different language in textview provided from web api

I want to have an android app where, i want to display text in some foreign language lets say urdu.. I will call a web service and will get urdu text. my question is can i set that text in textview as it is.
I have made an application in the past which can take the text from strings files for different localisation and can show the text however this is different use case, as i can not save the texts locally.

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.

Best way to display large amount of text in an Android App

I'm relatively new to mobile app development - I'm kinda learning as I go. I'm creating an app that will serve multiple purposes - notifications, audio/video, etc. One of the features of the app will be to display the contents of an unpublished book (no plans to publish it either via the traditional methods available today). Essentially, I want the part of the app to do teh following:
1) Have a menu which will server as a table of contents.
2) Display the text, which will be in English and Arabic.
3) Have the english text searchable.
4) Have the ability to favorite certain sections of the text.
Just wondering what's the best way to build this? Should I convert sections of my file to html and use webview? Or should I use textview?
I'm looking for the option that gives me the most robustness in terms of functionality, and flexibility when it comes to design (i.e. background images, custom fonts, formatting).
Thanks in advance.
WebView or HTML page is not a very good approach.
You can try an approach in which your data is stored in json format in your resources-->raw folder and then parse each element of the JsonObject to populate views dynamically.(If you have server then you fetch data via HttpConnection). For start you can see here
convert your file to html file and display it using webview container...If you have your book in word format then convert it to html file in any website and then display it using webview.

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

Categories

Resources