Monthly Archives: February 2010
How to say Pound (#) in Russian
I never knew how to say the # button on the phone or keyboard in Russian, until I found this article on Wikipedia: http://ru.wikipedia.org/wiki/%D0%9E%D0%BA%D1%82%D0%BE%D1%82%D0%BE%D1%80%D0%BF
I/Me/Myself
People always get confused whether to say I, Me, or Myself in a sentence. Here’s an excellent article explaining when to say which. http://www.wsu.edu/~brians/errors/myself.html
Easy getVersion method
Here’s an easy function to get the version name from the Manifest file. public String getVersionName() { try { PackageInfo pinfo = getPackageManager().getPackageInfo(getPackageName(), 0); return pinfo.versionName; } catch (android.content.pm.PackageManager.NameNotFoundException e) { return “Version Name Not Found”; } }
Changing background color of android buttons
It’s actually much more difficult to do this than one might think. There is no backgroundColor property or a method that takes color as a parameter. It took me a while to find the solution online. You actually have … Continue reading
Hello World!
This is my first post on my first blog! Since I’m a computer programmer most of my posts will be programming related, but I may deviate from time to time Enjoy!