Posts Tagged ‘code’

5 Useful Android Code Snippets

January 12th, 2013 Leave a comment
5 Useful Android Code Snippets

Sometimes it’s hard to make Android programs without trying to reinvent the wheel: often there are simple tasks that aren’t obvious at the start, and it can be more trouble than it’s worth writing them from scratch. To help make your code writing process easier, here are 5 Android code snippets for some common tasks that may not be obvious! 1. Reading a Text File from A Device SD Card This one is a snippet that’s often used simply because it’s a common use case- the way to do it, however, isn’t always obvious. Here’s a snippet to help you read… View full post »