Welcome To Snipplr


Everyone's Recent Snippets Tagged android



Displays a simple alert using Toast
0 1149 posted 13 years ago by Vetromilla
Need to check if your device is online before sending/getting a request? Here's how.
0 1016 posted 14 years ago by chrisaiv
There are roughly three ways to do this: programatically, through stylesheets, or through the Anroid manifest.
0 1237 posted 14 years ago by chrisaiv
0 1171 posted 14 years ago by sperales
This is part of a much larger class but I wanted to give enough context to explain the value of GeoCoder. GeoCoder has two methods called getFromLocation() and getFromLocationName() that allow you to capture an address or coordinates.
1 1377 posted 14 years ago by chrisaiv
0 2308 posted 14 years ago by jamepaul
0 3215 posted 14 years ago by hmvrulz
0 3127 posted 14 years ago by hmvrulz
0 3098 posted 14 years ago by hmvrulz
Bei vielen Applikationen fällt auf, dass beim Start ganz kurz ein komplett schwarzer Screen auf dem Display erscheint, der jedoch gleich wieder verschwindet. Über diesem Screen ist dann ein schmaler grauer Balken, in dem der Name der Applikation st...
0 1162 posted 14 years ago by UTA2000
0 1235 posted 14 years ago by KolNedra
0 1115 posted 14 years ago by KolNedra
0 1049 posted 14 years ago by arpit
0 1045 posted 14 years ago by KolNedra
0 1008 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 1279 posted 14 years ago by Raevonium
0 3176 posted 14 years ago by rottendevice
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 2359 posted 14 years ago by ehrenb
This is the simpliest way to make toast
0 1024 posted 14 years ago by dzr_gregory
0 1115 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 1162 posted 14 years ago by Znupi
0 1157 posted 14 years ago by hmvrulz