No Future Support for JNI

by Harish Pandey » Tue, 30 Dec 2008 03:12:55 GMT


Sponsored Links
 JNI is working fine in the first release of Android
SDK & we tested.
If JNI is not supported in future releases then the Android phones
will not be able to RUN lot of Application written in JSR.
Currently there are so many free java apps written in JSR(e.g by using
JSR135, JSR180 etc) which rely on the platforms native API to realise.
                 Also lot of intelligent code has already been
wriiten in C, C++ by many phone companies like Motorola, Nokia which
are very tested & already in production phones. In future if they want
to leverage these codes thru java apps to Android platform, it wld not be
possible
without JNI or something similar to it.

-Harish

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



Other Threads

1. ODBC Driver

Anybody know how to load an ODBC driver into Android?  For example, a
MySQL driver?  The usual drill doesn't seem to work.  Class.forName
blows out.

import com.mysql.jdbc.*;

  class odbcConnection {
     public static Connection getConnection() throws Exception {
          Driver d = (Driver)Class.forName
("com.mysql.jdbc.Driver").newInstance ();

          DriverManager.registerDriver(d);

          String URL = "jdbc:mysql:xxxx";

          d = DriverManager.getDriver(URL);

          Connection c = DriverManager.getConnection(URL, "yyyy",
"xxxx");
          return c;
        }
}
--~--~---------~--~----~------------~-------~--~----~

2. Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

Hi Todd,

Its not clear to me what you are trying to do, I read twice through your
post, but I couldn't figure it out.

Thanks,
Megha





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

3. How to get a GL11Ext instance to call OpenGL Extension functions?

4. Please review my short code !

5. Android app communicating with the "outside"

6. Maven Android Plugins: Masa 1.0 Released

7. stand-alone notepad content provider insert error