natvie code try/catch statement support or not

by Jean-Baptiste Queru » Mon, 22 Dec 2008 10:44:25 GMT


Sponsored Links
 Native code development is not currently supported.

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

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



Other Threads

1. Screen is dark momentarily when launching OpenGL view (GLSurfaceView)

Dear all,
I want to implement the transition effect ( transparent with Z axis )
when user slip the android home to change home page.
therefore, I plan to launch the new activity that is implemented by
OpenGL ES to perform this effect.
However, i encounter a problem that the screen/display is dark
momentarily when launching the OpenGL ES activity.
would you please share your experience about this issue?
thanks a lot.

BTW, here is my implement procedure for your reference.
1. Create a new activity and new a GLSurfaceView.
2. Set the theme parameter in AndroidManifest.xml to make a
transparent background for activity (android:theme="@android:style/
Theme.Translucent")
3. Make transparent background for GLSurfaceView (refer the API demo
source - setEGLConfigChooser)
4. Implement the setRenderer function  for GLSurfaceView.
5. in render calss, I just refer the StaticTriangleRenderer.java of
API demo to add a texture on triangle and rotate.

Any help would be appreciated.

-- 

2. Admob and buttons

Since I'm not getting a response on the Admob group, I thought I'd ask
this here...

Scenario:  I am showing an ad banner for a certain period of time, say
10 seconds.  In displaying the ad, I set the visibility of a
TableLayout containing buttons to "gone" and set the visibility of the
AdView to "visible".  After the 10 seconds pass, I change the
visibility settings back to their original state: "visible" and "gone"
respectively.  When the buttons reappear, I am no longer able to click
on them, almost as if the application is no longer focused.   Nothing
else works on the view at this point. The only way out of the
application at this point is to hit the back button.

I have tried just hiding the TableLayout and NOT displaying the
AdView.  This results in the buttons WORKING.  It seems to be
something about the AdView taking over the application or something
and not releasing things back to the main view when it is hidden.

Thoughts?

-- 

3. Android 2.0 vs 1.6 Camera Rotation (how to handle different methods)?

4. Why I cannot download kernel?

5. Does the Motorola Droid support the multitouch API?

6. Google Wave Invitation Please

7. Max font size of a TextView?