FAQ: What is a Code Snippet ?

Quickly share your Android Code Snippets here...

FAQ: What is a Code Snippet ?

Postby plusminus » Sat Oct 04, 2008 3:27 pm

Hello Developer,

A Code Snippet is a pretty small portion of code. Example:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. private String stripTags(final String HTMLString) {
  2.       final String noHTMLString = HTMLString.replaceAll("\<.*?>","");
  3.       return noHTMLString;
  4. }
Parsed in 0.011 seconds, using GeSHi

You can use this forum to share snippets that you think they might be valuable for other fellow Android-Developers. Please choose an expressive title for your post, so information remains easy to find.
(:rarrow: example :larrow:)

/plusminus for anddev.org
Image | Android Development Community / Tutorials
User avatar
Site Admin
Site Admin
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany


Postby Gurbuh » Sat Oct 11, 2008 9:25 pm

This looks like a really cool idea to me. Even though it's just little snippets of code, if it's one here you don't have to reinvent it yourself. 8)
Junior Developer
Junior Developer
Posts: 17
Joined: Mon Sep 08, 2008 9:49 pm
Location: The Netherlands

Postby Mitoman » Tue May 12, 2009 8:35 pm

thanks, we'll do our best to use it
User avatar
Posts: 7
Joined: Tue May 12, 2009 8:15 pm

Good thoughts on Code Snippets

Postby vikrant » Sun May 31, 2009 8:46 am

This will help android community to have a library and help us in faster code development :D
User avatar
Posts: 6
Joined: Tue Oct 14, 2008 7:26 am
Location: CA,USA

Re: FAQ: What is a Code Snippet ?

Postby onerain » Sun Sep 04, 2011 8:40 am

Once Poster
Once Poster
Posts: 1
Joined: Sun Sep 04, 2011 3:23 am

Re: FAQ: What is a Code Snippet ?

Postby anniedulce » Fri Apr 20, 2012 2:39 pm

thank you........
Rizecorp Android Development, Android Mobile Apps
Experienced Developer
Experienced Developer
Posts: 84
Joined: Mon Mar 05, 2012 12:28 pm


Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 6 guests