ahmed ahmed

ahmed ahmed

  • NA
  • 2
  • 4.3k

how to reach database of my andorid device

Jul 19 2012 9:28 AM
Hi all,
i have connected my android device by USB cable with my system. i am using C# for make connection with database which is using under project of android.

using System.Data.SQLite;
public void connection()
        {
            try
            {
                String path = @"G:/data/data/Cadastra.Domicilio/databases/DBC";
                SQLiteConnection conn = new SQLiteConnection("Data Source=" + path);
                conn.Open();
            }
            catch (Exception e) { MessageBox.Show(e.StackTrace.ToString()); this.Close(); }
        }
its not working help me plz i want open database and get receive data into MySQL.