I've got some problem with sending sms from Android app. In strings.xml I have text1 and text2 with some text. When I'm trying to send sms with only one string, e.g
sms.sendTextMessage(number, null,message, null,null);
where message i getString(R.string.text1) it works fine. But what I need is send
String text = getString(R.string.text1) + someVariable + getString(R.string.text2);
but it doesn't work.
I've tried to make getResources().getString()
in both but still nothing, it's not sending;/ What am I doing wrong?