Oracle database to android
<pre><code>android to oracle db:

public class OracleActivity extends Activity{
private Connection con;
protected void OnCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
try{
connector();
}
catch(Exception e){
System.out.println("not connected"+e);}
public void Connector() throws ClassNotFoundException{
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("oracle jdbc driver loaded ok.");
con=DriverManager.getConnection("jdbc:oracle:thin:karthi/xxxx@198.162.12.11:1521:biodata");
system.out.println("connected to biodata@198.162.12.11");
con.close();
system.out.println("sucessfully connected");
}
catch(SQLException e){
System.out.println("not connect oracle db"+e);}
}
}

am also add ojdbc14.jar file and and user-permission: added
Failed resolving Loracle/jdbc/xa/OracleXAResource; interface 265 'Ljavax/transaction/xa/XAResource;'
</code></pre>
