Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Java
Orient Stackoverflow question code
Java
0
9
1083
Single Linked List
Java
0
2
1289
Facebook WebView: Displaying web pages
Java
0
10
1591
Parsing JSON documents with JSONObject on Android
Java
0
8
1697
Validate name, last names, phone number and email on Android
Java
0
6
1621
Encode and decode strings using base 64
Java
0
5
1882
Check Android device charge source
Java
0
5
1509
Hola mundo
Java
0
1
551
DDos Attack in Java
Java
5
5
14351
Convert Integer to Hexadecimal in Java
Java
0
6
1618
Get CPU architecture on Android
Java
0
13
2416
Convert size in byte to human readable string using Java
Java
0
13
1712
Get screen resolution as integer on Android
Java
0
7
1748
Remembering users previous tab selection on Android
Java
0
12
1465
Draw line graph using achart engine in Android
Java
0
12
1626
l
Java
0
1
648
MATRIKS 3 X 3
Java
0
1
594
Fibonacci (Recursiva)
Java
0
1
724
AnInterface Class
Java
0
2
809
MyWorld
Java
0
1
693