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.


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


Other Threads

1. How to do this correctly in SQLite?


I want to insert a String value call temp but I don't seems to get it
working for the INSERT INTO statement.
Anything wrong with the code?

This is the initialization to create table and insert some default
values into the table if the database doesn't exist.

Many Thanks.

   public void onCreate(SQLiteDatabase db) {
      db.execSQL("CREATE TABLE " + TABLE_NAME + " (" + _ID
            + " TEXT, " + FIELD3 + " TEXT, " + FIELD4 + " TEXT, " +
FIELD5 + " TEXT);");

      String tmp = "temp";
      db.execSQL("INSERT INTO " + TABLE_NAME + " VALUES (0 'A',
'Hello', '', " + temp + ", '');");


2. How to create a common library in android - containing resource files as well


I have several android projects, they share some common codes, resources files. Does any body know how to create an android library that can be used among different projects? I know how to do this if it's only java code. But how do you deal with the resource files? The auto generated How to make the resources in the lib are accessible to the importing project? Thanks, tj --

3. How to get android version programmtically

4. HttpURLConnection or HttpClient

5. system_server debugging using eclipse.

6. performance using while transferring file via wifi

7. Any way to animate a 2D Game Smooth without OpenGL ?