Native code is being called successfully but not executed properly

by Dianne Hackborn » Thu, 10 Sep 2009 14:04:23 GMT


Sponsored Links
 Hi, you are more likely to get help on android-ndk.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Displaying unicode in a TextView?

I am parsing epub books, and I want to render the pages inside of a
TextView.

I am able to get the book content, and I display it as follows. Assume
"bookContent" is a String which contains the text from an epub book
section, and assume that "this.view" is a reference to my TextView ...

    this.view.setText(Html.fromHtml(content).toString());

This renders fairly nicely inside of my TextView, but if the book
section contains unicode characters, they show up as garbage on the
screen.

I would like my TextView to properly interpret the unicode characters
and display them how they're intended to look.

How can I configure my TextView to properly display utf8 characters as
something readable?

Note that I don't want to eliminate the utf8 characters, nor do I want
to convert them into any other encoding. I just want them to display
properly on the screen.

Thanks in advance.

-- 

2. CM 7.5 Release

http://sklad.krtek.net/CM-6.1.0-Spica-a7.5_update.zip


CyanogenMod
7.5;;;kcriminal-2.6.29.6.r1;;;krnl015-cm-uv150;;;system_ext2_nokrn_update_v2;;;wipe.data.ext2;;;fsckdata;;;qbanin_touch-mt-stable;;;tweak_xda_ext_v2

-- 
===============
"

3. Voice recording issues - ALSA, OMAP

4. Contact API problem with save datas Options

5. lower EditText isn't panned to when opening the Virtual Keyboard

6. [WTA] Desire screen tearing

7. [WTA]wipe batterystats