예제 #1
0
        public void Save_User()
        {
            // Creating The User_Score Object.

            EditText   Player_Name_EditText = FindViewById <EditText>(Resource.Id.Player_Name_EditText);
            User_Score User = new User_Score(Player_Name_EditText.Text, int.Parse(Time));

            // SQLite

            Sqlite_Helper Sqlite_Helper = new Sqlite_Helper("Top10 " + Difficulty);

            Sqlite_Helper.Add_User(User); // Adding The User To The DB.
        }
예제 #2
0
        List <string> Load_Data()
        {
            Sqlite_Helper Sqlite_Helper = new Sqlite_Helper(Intent.GetStringExtra("DB_Path"));

            return(Sqlite_Helper.Load_Users());
        }