何が起こっているかを確認するために、コードをさらに投稿する必要があります。このミニマルなアプリを見てみましょう:
public class Example extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
public void onClick(View view) {
// Find the TextView, set it's text from the EditText
((TextView) findViewById(R.id.text)).setText(((EditText) findViewById(R.id.edit)).getText());
}
}
このxmlとペア:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="" />
<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onClick" />
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
ボタンをクリックするだけで、この必要最小限のアプリは、複数行の EditText を読み取り、その内容を別のオブジェクトに渡すという要件を満たします。この場合、文字列を TextView に渡します。データベースのコードは基本的に同じです。「不明な単語」の強調表示の色もコピーします。

(色の強調表示をデータベースに簡単にコピーして元に戻すとは思わないでください。)これが、このプロセスで何かを変更していて、エラーが表示されないため、コードの実際の選択を求める理由です。ここから。
質問の編集機能を使用して、EditText を読み取り、その内容をデータベースに保存し、後で取得する適切な関数を投稿してください。