メインアクティビティでは、次のようになります。
((TextView)findViewById(R.id.TextView02)).setText(getSharedPreferences("FearAlert", 1).getString("contactName", "Tap to select an Emergency Contact."));
((TextView)findViewById(R.id.TextView03)).setText(getSharedPreferences("FearAlert", 1).getString("contactNumber", ""));
今、私は別のアクティビティでcontactNumber値を使用したいのですが、Activty2のactivity2は次のようになります。
SmsManager.getDefault().sendTextMessage(??, null, "message",null, null, null);
return null;
代わりに何を書くべきですか?上記..助けてください..