Android Interest

by tberthel » Wed, 25 Jun 2008 19:18:00 GMT


Sponsored Links
 I develop Android apps that run on J2ME devices and also as Applets.


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



Other Threads

1. sql connection

Hi I wrote java code that connects remote sql server. But code does
not work in android. Code is as follows:
try {

        DriverManager.registerDriver(new
com.microsoft.sqlserver.jdbc.SQLServerDriver());
        String url="jdbc:sqlserver://hostname";
        Connection conn=DriverManager.getConnection
(url,"username","password");
        Statement stmt=conn.createStatement();
        DatabaseMetaData meta = conn.getMetaData();
        if (conn != null) {
                txt.setText("Conection Succesful");

        }
    }
        catch(SQLException se)
        {
                System.out.println("ERROR: " + se.getMessage());
        }


And log is follows:

08-22 17:32:40.777: ERROR/AndroidRuntime(17582):
java.lang.VerifyError:
com.microsoft.sqlserver.jdbc.SQLServerConnection
08-22 17:32:40.777: ERROR/AndroidRuntime(17582):     at
com.microsoft.sqlserver.jdbc.SQLServerDriver.connect
(SQLServerDriver.java:840)


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

2. Camera and video mode

can any one help me to create this jobs
i'm tried a lot but still failure.
plz help me.thanks for ur help.


i need these things .
1. Capture Image using Camera (with the name, format and path
provided)
2. Capture Video (with the name, format and path provided)

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

3. Can't get adb shell to connect to real M912

4. android-86.org down?

5. change seekbar progress color

6. List of running process.

7. onCreate -Prob?