getGL in LatinKeyboardView returns null

by rajath » Thu, 08 Apr 2010 06:25:54 GMT

Sponsored Links
 Hi all,
I'm a beginner in android programming. In the SoftKeyboard example, I
over-rode the LatinKeyboardView::onDraw() function, and tried to get
the GL object from canvas. But it returns null. Does someone know why
this is so?

My intention is to draw on the keyboard using opengl calls.



Other Threads

1. Releasing Updates To My App - Is It Patching Or Replacing?

If I publish an update to my app on the Android Market, will the app
only "patch" (or only update changes to current application) or will
it just replace the old application with the updated one?

 The reason is because for my app I need the user to retain some
information (such as a database) on their phone that is gathered from
the user on the app's first setup and not have to ask the user to
repopulate this data on every update.


2. Android Emulator Proxy Issue, strange one


I am using latest android emulator for windows. Platform is 2.0. My
host is behind proxy and I need to give proxy in order to connect to
internet. So I tried -http-proxy method to connect emulator to

But the problem is, I am only able to browse selected 2-3 websites
from android browser. Like wikipedia or msn mobile. For rest, browser
do not show page and informs that no network connectivity error.

So I tried debugging by -debug-proxy and got TCP dump. In that I found
that, whenever I tried to connect to google, it establishes the
connection, exchange few headers, but then just stop in between.

Whereas, if I try to access wikipedia, then connection is established
and all data is transferred. and I can see and browse wikipedia .

I am attaching the logs of both test cases, could you please tell me
what i am doing wrong. Because it can connect and get the data, then
why it is not showing me page, where it can display
wikipedia pages.

Note: By setting proxy inside android doesn't work for me. Thats why I
choose to go by -http-proxy method.
PFA logs, which might give you clue.
Logs ->


3. Problem with video streaming .... Please Help

4. Android error and how to create library?

5. ? about sending emulator events

6. Single activity tabs

7. Increase Ram Virtually