How to save EditText styles

by loty » Wed, 19 Nov 2008 12:16:43 GMT

Sponsored Links
 I have an EditText where users can set text to bold, italic, etc but I
can't figure out how to save that text with style in db. I use getText
but that only returns text and no style info.
Any help is appreciated.

How to save EditText styles

by Dianne Hackbod » Wed, 19 Nov 2008 13:27:03 GMT

 We don't currently have a general flat rich text format for android.  You
can use android.text.TextUtils.htmlEncode and android.text.Html for
converting to/from HTML, but those may not be able to represent all of the
style information in your text view.

Dianne Hackborn


Sponsored Links

Other Threads

1. how to install steel browser

i want to install steel browser in my android emulator .Can u guys
please help me with the steps involved


2. Application run


Is it possible for an application to run automatically after
completion of download/install from android market (Similar to First
Run Run after installation in Symbian OS).



3. Uploading content onto android market

4. Custom Themes

5. Reg: Layouts

6. Specifying LinearLayout orientation in resource "values"

7. Install eclair di spica