OpenGL garbage collection (with direct ByteBuffers)

by Urs Grob » Thu, 21 May 2009 06:33:09 GMT

Sponsored Links
 I think this problem is already being worked on.

This sounds like something this contribution will fix once it's checked in.

-- Urs


Other Threads

1. how to implement scrolling text?


What is the best way to implement scrolling text (with behavior
similar to that of HTML tag 'marquee')??

I've been trying to do this using TextViews + Animations but I'm
having troubles primarily because of sizing issues. If my text is long
enough that it exceeds the screen width, it won't be drawn completely
(it's size will be chopped at screen width). Thus,  when I animate it
from right to left, only a part of the text will be displayed. This
happens if I allow a maximum of 1 line in my TextView, because
otherwise it makes the TextView have multiple lines. If I make it
horizontally scrollable, the same 'chopped-off' behavior is seen.

I think this happens because the TextView's parent imposes some
restrictions on its size. Is there a way to bypass these restrictions
so that the TextView is 'drawn' even if parts of it will be off-

If that's not possible, what's an alternative way of implementing this


2. SimpleCursorAdapter and setListAdapter problems

I am trying to fill the data in two text views in a single row (see
xml) and am trying to use SimpleCursorAdapter to do it.  As I
understand the function, it is allowed to take an array of strings and
an array of ids which you see in the list below.  When I run the
application from the phone, it errors out at start (the client view is
the default view to show which is where this function is executed
from).  Can anyone fill me in on what I am missing?

<?xml version="1.0" encoding="utf-8"?>
       android:textSize="20px" />
       android:textSize="10px" />

private void fillData(){
       Cursor c = mDbHelper.fetchAllClients();

       // Set Client Row Title
       String[] from = new String[]{ FinanceDbAdapter.KEY_TITLE,
FinanceDbAdapter.KEY_BODY };
       int[] to = new int[] {, };

       // Now create an array adapter and set it to display using our
       SimpleCursorAdapter clients = new SimpleCursorAdapter(this,
R.layout.client_row, c, from, to);

3. Set Screen Orientation of a Tab

4. Touchscreen PenMount

5. Mp3 file read problem in Real device (G1)

6. A simple question regarding inter-process communication.

7. Permission of SystemClock.setCurrentTimeMillis()