how can we insert symbol of copyright in application programatically? [closed]
how can we insert symbol of copyright in application programatically?? if possible then please provide me example
This is plain old Java, so it should work on Android. The "\u00a9" is Unicode for the copyright symbol.
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
class foo
{
public static void main (String args[]) throws UnsupportedEncodingException {
String unicodeMessage =
"Copyright \u00a9 My Name";
PrintStream out = new PrintStream(System.out, true, "UTF-8");
out.println(unicodeMessage);
}
}
Here is the ampersand code for the copyright symbol:
Copyright © 2011, Stack Overflow
精彩评论