Android Development – Using Custom Fonts

An Android device comes with 3 basic fonts – Droid Sans, Droid Sans Mono, and Droid Serif. These are sufficient for every day use, but for your custom apps you will most probably want to use your own font. This post will show you how you can do so. First Steps First step is to [...]

 

In this brief post I’ll go over how to implement a bare bones bounce animation on some hard-coded text in an Android app. To achieve this effect, we will be using both a translate animation class and a bounce interpolator class, both provided by the Android SDK. [Edit:] Some readers wanted to see what this [...]

 
Android Development – Database Management

In this post, I’ll go over bare bones database management in an Android application, demonstrating how to create a database and perform simple CRUD actions against this database. I’ll also wire up a very simple UI to test our CRUD functionality. Finally, I’ll show how to utilize the built-in database upgrade functionality. The Database Android [...]

 
IBatis.NET Tips & Tricks Part 4 – Nulls & Lists

In this part of our IBatis.NET series, we’ll go over how to handle null values declaratively. Also, we’ll review how to hydrate list types with your query results instead of having to define new classes. We build on the code from the prior parts of this series, so start there if you want to be [...]

 
Android Development – Fun With Files And UI

Bare bones file manipulation on an Android device is stupid easy, as long as you know how to interact with files in Java and as long as you stay within your application’s designated space. The former, well, this post isn’t going to fill in the blanks. The latter is cake; just start with the guidelines [...]

 
Android Development – Debugging Your App

Coming from a Windows environment, specifically the .NET space, I’ve been used to a pretty easy and seamless debugging approach. If I’m working on some source code in the IDE and I want to debug it, I hook up some sort of executable aspect and press F5 and click things until I get to my [...]

 
Android Development – The Dreaded Dalvik Error

One of the best ways to learn when it comes to coding is to read source code. This especially applies when you’re dealing with a new language or a new platform. If you’re dealing with both a new language AND a new platform, well, you better be reading someone else’s source code (that works, of [...]

 
Using LINQ to SQL with a Stored Procedure

In this post I’ll go over a very bare bones way to call a stored procedure using LINQ to SQL. Scenario So I was writing up a bare bones tool to send me the results of a handful of queries I wanted to run against our OnTime database. This tool would have at most three [...]

© 2011 Musings of the Bare Bones Coder Suffusion theme by Sayontan Sinha