Welcome To Snipplr


Everyone's Recent Java Snippets



1 2 3 4 5 6 7 ... 13
0 1057 posted 14 years ago by KolNedra
The right way (According to Google I/O-10) to use getView with the convertView-param within a custom adapter class.
0 1377 posted 14 years ago by Raevonium
0 1254 posted 14 years ago by cupakob
This is a current side project. I make changes (mainly adding new things) about once a week (when I have time). Notes: GUI in XML(not here), Eclipse Android plug-in, some images not here
0 2425 posted 14 years ago by ehrenb
0 1032 posted 14 years ago by ziuek
This is the simpliest way to make toast
0 1087 posted 14 years ago by dzr_gregory
0 1163 posted 14 years ago by arunmishra07
0 1013 posted 14 years ago by arunmishra07
This creates a rounded rectangle (10x20) with a given color (such as #AABBCC) as a drawable, which you can later use anywhere (I use it in TextView.setCompoundDrawables).
0 1232 posted 14 years ago by Znupi
metodo para generar hashcodes
0 811 posted 14 years ago by intoxicadocoder
0 1223 posted 14 years ago by hmvrulz
An example of Karatsuba algorithm for multiplication of n digit numbers.
0 1309 posted 14 years ago by josepino
Simple way to insert a new Column into a Cassandra ColumnFamily using the Thrift API. This snippet uses Cassandra 0.7.3 and Thrift 0.5. For a full explanation of how this code works, check out a detailed tutorial with a screencast here: http://abel...
0 1076 posted 14 years ago by abelperez
0 1115 posted 14 years ago by vss
This is especially useful to have appear in logs. While it is totally up to the JVM implementation what to return for the name, most seem to return a numeric process identifier.
0 1183 posted 14 years ago by cruelfate
You need to create a new package android.bluetooth in your project, and add the files: IBluetooth.aidl y IBluetoothCallback.aidl from the android source code
0 2367 posted 14 years ago by efor18
0 1245 posted 14 years ago by coder_
A RestClient class for calling webservice using both, get and post methods, and getting the response dropped into an String.
0 1027 posted 14 years ago by luixal
This is a sample JTextArea with a custom background image.
0 1320 posted 14 years ago by lethalwire
0 1278 posted 14 years ago by arunpjohny
1 2 3 4 5 6 7 ... 13