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
Java snippets by Cesar Augusto Nogueira
Refer to a color programmatically in Android
Java
0
12
1558
AssetFileDescriptor and FileDescriptor on Android
Java
0
12
1632
TextToSpeech Android example
Java
0
3
1572
Send SMS in Android
Java
0
11
1778
Using bluetooth on Android
Java
0
14
1977
Register default user on Firebase
Java
0
9
1455
Big view notification on Android
Java
0
11
1670
Drag and drop on Android
Java
0
8
2174
Request location updates on Android Wear
Java
0
13
1967
Facebook WebView: Displaying web pages
Java
0
10
1619
Parsing JSON documents with JSONObject on Android
Java
0
8
1732
Validate name, last names, phone number and email on Android
Java
0
6
1655
Encode and decode strings using base 64
Java
0
5
1908
Check Android device charge source
Java
0
5
1543
DDos Attack in Java
Java
5
5
14438
Convert Integer to Hexadecimal in Java
Java
0
6
1644
Get CPU architecture on Android
Java
0
13
2472
Convert size in byte to human readable string using Java
Java
0
13
1741
Get screen resolution as integer on Android
Java
0
7
1775
Remembering users previous tab selection on Android
Java
0
12
1492