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.
メインアクティビティに文字列を表示するアプリだけが欲しいのですが、アプリが開いたときに起こるのは、文字列の配列が表示されることだけです。それ以上でもそれ以下でもありません。この情報はどこにも見つからないようです!
メイン アクティビティに textview を追加し、このように textview のオブジェクトを作成します。
TextView textView = (TextView) findViewById(R.id.id_of_text_view);
次に、次のように textview にテキストを設定します。
textView.setText("blah");
保存した場所からテキストを取得する