Thursday, December 15, 2011

Testing the syntax highlighter for blogger and for java

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

this the real code and lets see how it works

To get this kind of code..
Follow steps at: http://heisencoder.net/2009/01/adding-syntax-highlighting-to-blogger.html#comment-form

But the sixth step has one more thing to do.. You have to add this....

<link href="http://lockimage.googlepages.com/SyntaxHighlighter.css" rel="stylesheet" type="text/css"/>

<script language="javascript" src="http://lockimage.googlepages.com/shCore.js"></script>

<script language="javascript" src="http://lockimage.googlepages.com/shBrushCpp.js"></script>

<script language="javascript">



</script>





0 comments:

Post a Comment