Author Archives: Noyabronok

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

Posted in Uncategorized | Leave a comment

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”; } }

Posted in Uncategorized | Tagged | Leave a comment

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

Posted in Uncategorized | Tagged | Leave a comment

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!

Posted in Uncategorized | Leave a comment