I'm trying to enable hw acceleration in Honeycomb, and display some Bitmaps on Canvas. All works fine, but for large bitmaps (>2048 in one dimension), I get error in log:
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, May 14, 2012
HW accelerated activity - how to get OpenGL texture size limit?
Tuesday, May 8, 2012
TextView setScaleX()/setScaleY() and setTextIsSelectable(true) selection
I have TextView and want to use setScaleX()/setScaleY() to make the text zoomable. But when I try to select some text by calling someTextView.setTextIsSelectable(true); and TextView has zoom other than 1.0f the text selection markers apprear in wrong place, it seems that the selection is shown in the old place of selected text.
Sunday, April 8, 2012
How do I fix Html.fromHtml link focus visibility problems (in ICS and Honeycomb)?
To get a TextView to display (and act friendly with) Html strings my code looks something like:
Thursday, March 8, 2012
Loaders in Android Honeycomb
I'm trying to figure out how to use Loaders in Android 3.0 but can't seem to get it to work. The docs only describe using CursorLoader but I'm using AsyncTaskLoader.
Tuesday, January 17, 2012
Android dialog not showing on Honeycomb
I'm creating an AlertDialog in my Activity (which is set in Portraid mode in manifest file and in onCreate() ). When I'm testing my application on device there is no problem, but when I test in on Android Emulator 3.0 and I'm in landscape mode, in the beginning it's loading my application for a few milliseconds in landscape mode (I can see that in LogCat messages which I've added to my activity), enter in onResume() method of my activity and shows it on Portrait mode. But during this all I can see in my LogCat an error :