PROfile
All time reputation: 133
Achievement
BenClayton's Recent all Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 2] Next »
Java android
Fade out a view
posted on March 20, 2012 by BenClayton
Java android
Dynamically add widget / TextView to a RelativeLayout in code
posted on March 18, 2012 by BenClayton
Objective C iphone ios
iOS / iPhone: Extract groups from a Regular Expression (NSRegularExpression)
posted on February 15, 2012 by BenClayton
Java
Android: Get version name from AndroidManifest.xml
posted on April 8, 2011 by BenClayton
Objective C
iPhone: Slide view up and down to match keyboard appearing and disappearing
posted on April 7, 2011 by BenClayton
Java
Android: Iterate a JSONArray
posted on April 5, 2011 by BenClayton
Java saved by 1 person
Android: Read a text file from resources
posted on April 5, 2011 by BenClayton
Objective C saved by 1 person
iOS / iPhone: Continuously looping block-based UIView animation
posted on April 4, 2011 by BenClayton
Objective C saved by 2 people
iOS / iPhone: Fade out and remove view
posted on April 4, 2011 by BenClayton
Objective C
iOS / iPhone: Flip animation between UIView using block
posted on April 4, 2011 by BenClayton
Objective C
iOS / iPhone: Trim whitespace from string
posted on March 29, 2011 by BenClayton
Objective C saved by 2 people
iPhone: Change the background color of the bounce area above a UITableView
posted on March 17, 2011 by BenClayton
Objective C
Android: Get unique id of device
posted on March 16, 2011 by BenClayton
Objective C
iPhone: Make categories defined inside libraries actually work
posted on March 10, 2011 by BenClayton
Objective C
Android: String in strings.xml with multiple substitutions
posted on March 10, 2011 by BenClayton
Java saved by 1 person
Android: List files of particular type in a directory
posted on March 9, 2011 by BenClayton
Java
Android: Prevent onCreate being called when the orientation of the screen changes
posted on March 5, 2011 by BenClayton
Java
Android: Close soft keyboard when ENTER button pressed
posted on March 5, 2011 by BenClayton
Java
Android: Search and replace in a string with a quoted regex..
posted on March 2, 2011 by BenClayton
Java
Android: Open an Activity when a custom protocol is clicked in the browser
posted on March 2, 2011 by BenClayton
Java
iPhone: Set backgroud on a UITableView
posted on March 1, 2011 by BenClayton
XML saved by 1 person
Android: Fade between two Activities
posted on March 1, 2011 by BenClayton
Java
Android: Use format strings in a strings.xml file
posted on March 1, 2011 by BenClayton
Java save state android sharedpreferences
Android: Save and restore 'user preference' values using SharedPreferences
posted on February 28, 2011 by BenClayton
XML xml layout android saved by 1 person
Android: Layout with a vertically-centered widget
posted on February 27, 2011 by BenClayton
Java
Android: Template for an AsyncTask (task to run in a background thread)
posted on February 25, 2011 by BenClayton
Objective C
Android: Run a function after a delay
posted on February 25, 2011 by BenClayton
Java
Java: Convert ArrayList to Array.
posted on February 24, 2011 by BenClayton
Java saved by 2 people
Android: Download a string from a url
posted on February 23, 2011 by BenClayton
Java
Android: Set focus to a control
posted on February 22, 2011 by BenClayton
Java
Android: Get current orientation of the activity
posted on February 18, 2011 by BenClayton
Java
Android: Make Activity Full-Screen in code
posted on February 17, 2011 by BenClayton
SVN saved by 1 person
SVN: Get list of changes between revisions
posted on February 14, 2011 by BenClayton
Objective C saved by 2 people
iOS / iPhone: Fade and Zoom in UIView / UIButton animation
posted on February 12, 2011 by BenClayton
Objective C saved by 1 person
iOS: Cancel or stop a performSelector:withObject: afterDelay
posted on February 12, 2011 by BenClayton
Objective C saved by 1 person
iPhone: Display a number badge on your application's icon
posted on February 12, 2011 by BenClayton
Objective C saved by 2 people
iPhone: Close keyboard when done button pressed
posted on February 10, 2011 by BenClayton
Objective C saved by 4 people
iPhone: Create custom button that flashes on touch (like the info button)
posted on February 9, 2011 by BenClayton
Objective C
Log CGRect
posted on February 9, 2011 by BenClayton
Objective C saved by 1 person
iPhone: Get current orientation of the device
posted on February 9, 2011 by BenClayton