string - Passing textView to other apps with text properties -
i calling onclicklistner
send textview
text other apps..
my code is:
bshare.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { tf = typeface.createfromasset(getassets(),"fonts/custom.ttf"); textview.settypeface(tf); string strsend = textview.gettext().tostring(); intent sendintent = new intent(); sendintent.setaction(intent.action_send); sendintent.putextra(intent.extra_text, strsend); sendintent.settype("text/plain"); startactivity(intent.createchooser(sendintent, strsend)); } });
now share textview not preserve tf help? thank you.
Comments
Post a Comment