opengl supported well in G2?

by tainy » Tue, 04 Aug 2009 19:26:58 GMT

Sponsored Links
this is in android 1.5 version
I am using some OpenGL apis (GL10) for some graphic effect. The code
runs well on
emulator but not well on my HTC magic(G2). All the images which has
some skew effects
can not be shown and only show a white rectangle.

Could any one please give a hint what could probably cause this?
I really have no idea.

Thanks in advance.

Other Threads

1. Gallery Audio bounce effect on seekTo


I'm currently working on one issue in Froyo. Basically, the problem is
that whenever I tap the progress bar in the Gallery app to do a seek,
you can hear an audio frame play two or even three times after
repositioning. After some debugging, I found out that this is due to a
condition located in mediaplayer.cpp in frameworks/base/media/
libmedia. The condition is the following:

        LOGV("Received seek complete");
        if (mSeekPosition != mCurrentPosition) {
            LOGV("Executing queued seekTo(%d)", mSeekPosition);
            mSeekPosition = -1;
            LOGV("All seeks complete - return to regularly scheduled
            mCurrentPosition = mSeekPosition = -1;

What I'm understanding from this snippet (and probed) is that after
the video codec finishes repositioning, it reports back to the media
player, which checks the current position of the progress bar cursor
and if it is different from the target position, it calls the seek
function again until both variables are equal. This creates a "bounce
effect" in the audio track as for some reason with just a small tap on
the progress bar, it  detects two or three changes. My question is if
there is any property that can be set on the video progressBar object,
so it has a delay between seeks so it doesn't detect so many taps, or
any way to reduce the resolution of the bar, or anything you can think
that it could help with this issue.

- Thanks.



2. Sim Contacts

I have some code that manipulates the Contacts database via the
Contacts Provider (ContactsContract.RawContacts.CONTENT_URI), so I can
add/edit/delete my Google contacts, Phone contacts and the Sim
contacts cached there.

Changes to the Phone contacts are immediate, changes to the Google
contacts are synced to my Google account, but changes to the SIM
contacts only affect the Contacts DB and aren't persisted to the SIM.

Ie while I can delete the SIM contacts from the Contacts DB, once I
reboot my phone the SIM contacts get repopulated into the Contacts DB.

The IccProvider (accessed via content://icc/adn) seems to be a way to
directly access the SIM contacts. The source code seems to suggest so
and there is annectdotal evidence that this works, but it is an
internal Android API and it doesn't work on my Galaxy S in any case.

So, does anyone know a definitive way of modifying/deleting SIM
Or failing that, a way to stop the SIM contacts being reopulated on
reboot, though this seems less satisfying.


3. Android logo :D

4. KeyEvent Methods

5. Move one screen to another

6. donut to Froyo Audioflinger porting::

7. How to set text color for widget