BenClayton

Member since 01/20/2010

Name: Ben Clayton

Location: UK

Website: http://pervasivecode.blogspot.com

Technical director of http://calvium.com


76 snippets

View their favorites



Their Tags

PROfile

All time reputation: 228

Achievement

first submission:submitting first snipplet

BenClayton's Recent Snippets



« Prev [Page 1 of 2] Next »
  1. FAVFade out a view

    Java android
    posted on March 20, 2012 by BenClayton
  2. FAVDynamically add widget / TextView to a RelativeLayout in code

    Java android
    posted on March 18, 2012 by BenClayton
  3. FAViOS / iPhone: Extract groups from a Regular Expression (NSRegularExpression)

    Objective C iphone ios
    posted on February 15, 2012 by BenClayton
  4. FAVAndroid: Get version name from AndroidManifest.xml

    Java
    posted on April 8, 2011 by BenClayton
  5. FAViPhone: Slide view up and down to match keyboard appearing and disappearing

    Objective C
    posted on April 7, 2011 by BenClayton
  6. FAVAndroid: Iterate a JSONArray

    Java
    posted on April 5, 2011 by BenClayton
  7. FAVAndroid: Read a text file from resources

    Java saved by 1 person
    posted on April 5, 2011 by BenClayton
  8. FAViOS / iPhone: Continuously looping block-based UIView animation

    Objective C saved by 2 people
    posted on April 4, 2011 by BenClayton
  9. FAViOS / iPhone: Fade out and remove view

    Objective C saved by 3 people
    posted on April 4, 2011 by BenClayton
  10. FAViOS / iPhone: Flip animation between UIView using block

    Objective C
    posted on April 4, 2011 by BenClayton
  11. FAViOS / iPhone: Trim whitespace from string

    Objective C
    posted on March 29, 2011 by BenClayton
  12. FAViPhone: Change the background color of the bounce area above a UITableView

    Objective C saved by 4 people
    posted on March 17, 2011 by BenClayton
  13. FAVAndroid: Get unique id of device

    Objective C
    posted on March 16, 2011 by BenClayton
  14. FAViPhone: Make categories defined inside libraries actually work

    Objective C saved by 1 person
    posted on March 10, 2011 by BenClayton
  15. FAVAndroid: String in strings.xml with multiple substitutions

    Objective C
    posted on March 10, 2011 by BenClayton
  16. FAVAndroid: List files of particular type in a directory

    Java saved by 1 person
    posted on March 9, 2011 by BenClayton
  17. FAVAndroid: Prevent onCreate being called when the orientation of the screen changes

    Java
    posted on March 5, 2011 by BenClayton
  18. FAVAndroid: Close soft keyboard when ENTER button pressed

    Java
    posted on March 5, 2011 by BenClayton
  19. FAVAndroid: Search and replace in a string with a quoted regex..

    Java
    posted on March 2, 2011 by BenClayton
  20. FAVAndroid: Open an Activity when a custom protocol is clicked in the browser

    Java
    posted on March 2, 2011 by BenClayton
  21. FAViPhone: Set backgroud on a UITableView

    Java
    posted on March 1, 2011 by BenClayton
  22. FAVAndroid: Fade between two Activities

    XML saved by 1 person
    posted on March 1, 2011 by BenClayton
  23. FAVAndroid: Use format strings in a strings.xml file

    Java
    posted on March 1, 2011 by BenClayton
  24. FAVAndroid: Save and restore 'user preference' values using SharedPreferences

    Java save state android sharedpreferences
    posted on February 28, 2011 by BenClayton
  25. FAVAndroid: Layout with a vertically-centered widget

    XML xml layout android saved by 1 person
    posted on February 27, 2011 by BenClayton
  26. FAVAndroid: Template for an AsyncTask (task to run in a background thread)

    Java
    posted on February 25, 2011 by BenClayton
  27. FAVAndroid: Run a function after a delay

    Objective C
    posted on February 25, 2011 by BenClayton
  28. FAVJava: Convert ArrayList to Array.

    Java
    posted on February 24, 2011 by BenClayton
  29. FAVAndroid: Download a string from a url

    Java saved by 2 people
    posted on February 23, 2011 by BenClayton
  30. FAVAndroid: Set focus to a control

    Java
    posted on February 22, 2011 by BenClayton
  31. FAVAndroid: Get current orientation of the activity

    Java
    posted on February 18, 2011 by BenClayton
  32. FAVAndroid: Make Activity Full-Screen in code

    Java
    posted on February 17, 2011 by BenClayton
  33. FAVSVN: Get list of changes between revisions

    SVN saved by 1 person
    posted on February 14, 2011 by BenClayton
  34. FAViOS / iPhone: Fade and Zoom in UIView / UIButton animation

    Objective C saved by 4 people
    posted on February 12, 2011 by BenClayton
  35. FAViOS: Cancel or stop a performSelector:withObject: afterDelay

    Objective C saved by 2 people
    posted on February 12, 2011 by BenClayton
  36. FAViPhone: Display a number badge on your application's icon

    Objective C saved by 2 people
    posted on February 12, 2011 by BenClayton
  37. FAViPhone: Close keyboard when done button pressed

    Objective C saved by 3 people
    posted on February 10, 2011 by BenClayton
  38. FAViPhone: Create custom button that flashes on touch (like the info button)

    Objective C saved by 5 people
    posted on February 9, 2011 by BenClayton
  39. FAVLog CGRect

    Objective C
    posted on February 9, 2011 by BenClayton
  40. FAViPhone: Get current orientation of the device

    Objective C saved by 2 people
    posted on February 9, 2011 by BenClayton
« Prev [Page 1 of 2] Next »