Sunday, September 30, 2012

Adding ads to my app

I signed up for admob, and then I followed the steps in this tutorial
I had some issues with the adview libraries not being found, so I moved the insert out of the xml and into the code as detailed in this stackoverflow post.


I don't have much more to add on this subject for now ...

Saturday, September 29, 2012

Releasing version 1.0 of my App

So after writing the code for my app, testing on my phone, setting the bar for the number of features I want to include to its bare minimum, I'd love to publish my app in the Google Play Marketplace.

Here's my running notes on what I'm doing.
I'm following the instructions in Google's guide to App Publishing.  While it would be best to follow every step, I'll probably just do some of the recommended steps just to get this out there, and then go back and improve on some of my mistakes later.

Register for a publisher account.
I give google my name, my email, 25 dollars, and they give me the ability to post applications.  Sounds fair. The only snag I ran into was that my name was already taken. I added a middle initial, and then I was accepted.

Check out the developer console.
As a new publisher, with no apps, there isn't really much to see in the console.  This will be the place where you upload your app.

Completing the publishing checklist.
Well, there are 16 steps on this checklist, which is a bit much for me. 
The first one of significance to me is to 'build and upload the release-ready APK'.

Update your manifest xml.
I updated the package_name, because it was something from something like MyHelloWorldApp to com.dhgg.appname...  This hierarchy should ensure that your app package name is unique.
I also updated the project name in eclipse, so that the apk name better reflected this app's name.  
I updated the minsdkversion and targetsdkversion to 10 (Android version Gingerbread), which covers a decent amount of the Android population.
I checked for debugging tags like android:debuggable, but I had already removed those.

Building the apk with eclipse.
I used eclipse to set up the keys and build the apk file.  I wasn't too sure about all of the terms, but the key things I had to input were:
a file name for the keystore, which holds key info,
an alias, which is the thing I'm prompted for
and passwords which I set to be the same for the keystore and alias.
At this point, I have a release ready apk file.

Uploading to Google Play
In addition to the apk app file, you also need 2 screen shots and a high resolution 512x512 high resolution icon.  
I also added a title and a description of the app. I expect to update all of these in the future.  I didn't really try too hard to make any of these images or the description especially nice, because I just wanted to publish it successfully.

After agreeing to keep my app as a free product and some other quick fixes, I published the app.

Here is my android app: the App Usage Monitor.

Thursday, September 6, 2012

2012 Presidential Race

The 2012 presidential race is well underway.  Here are my notes on what's going on:

The Bain way.  Mitt Romney, the Republican candidate, is one of the founders of Bain Capital.  Oddly, this prosperous company and Romney's financial success have been used by the Democratic Party as political liabilities.  The Democrats have been portraying Romney as a money-hungry selfish capitalistic animal. This seems very odd to me.  I think Mitt should just say,
    "I made a lot of money, all legally, because that was my job, and I have always excelled at my job.  The next job I would like to do, is to become President.  In that role, I'd work, just as I have before, to make the United States of America as prosperous as possible ..."
    Maybe I'm biased, because I read about Bain Capital before I heard about Mitt Romney, but I would have been excited to work there, if given the opportunity.  Thus, saying that something is done the "Bain way" as a derogatory thing feels very odd to me.

Wednesday, September 5, 2012

Charlottesville, Virginia

The Pigeon Hole.
We went here for lunch, and we loved it.  The restaurant looks like it was once a house.  It has outdoor seating on the lawn and the porch and indoor seating on the first floor.  It is located in the 'Corner' district, thus it is mostly filled with college students.
The menu isn't extensive, but every dish we saw looked well made and individually prepared with care.  We tried the egg and cheese sandwich, hash browns, scrambled eggs, grits, pancakes, and huevos rancheros.
The restaurant has a very young, hipster, fresh vibe, yet it still felt very wholesome.

The Whiskey Jar.
We went here for a good drink, and we found it.  They also had live music with indoor and outdoor seating. 
This is in the downtown area at one end of the walking mall.
If you find the music to be too loud or the bar too crowded, there are a bunch of other bars in the area.

Blenheim Vineyards.
If sitting in a college-town or in a lively bar isn't your thing, Charlottesville offers this winery (established by Dave Matthews).  This charming little winery is serene and beautiful.  The caretakers are kind and warm.  The food is natural and wholesome. The wine (I'm not an enthusiast) is unpretentious and delicious.