Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
動作しないコードがあります。誰が私が間違っているのか教えてもらえますか?
String option = names.getText().toString(); Cursor c = db.rawQuery("SELECT * from numbers Where fname=option", null);
以下のように変更します。
Cursor c = db.rawQuery("SELECT * from numbers Where fname='"+option+"' ", null);