Android: Updating You App – New Version

September 27, 2012

Now that the first version of my application is in the Play Store, i have started thinking on how i can improve on it and what i will need to have in Version 2.0

One of the things that bothered me with version 1 was that the data of my app was stored in the app and that made the app static

I decided to store the app data in the cloud and make my app dynamic

  • Created a Data Model for my application and mapped it to “Class” / “Table” in Parse
  • I stored data in the parse cloud – created CSV files with the data and use the CSV File Import in Parse
  • Updated the application to use the Parse Android API to do queries and retrieve the data from Parse. Check my blog entry on Android and Parse / First Parse Application to get more details. I am including a code snippet here that shows the usage of the Parse API

ParseQuery query = new ParseQuery(“VrChildrenContent”);
query.whereEqualTo(“ContentGroupName”, cartoonName);

try {
contentList = query.find();

} catch (ParseException e) {


I am not yet ready to deploy the second version, i may have some more enhancements to do. Once i am ready – I will also describe the process of changing the manifest to specify the new version no: etc.

BTW – Before I started changing code in my app, i created a copy of the app in eclipse and renamed it to VrChildren_v10, so i can go back to the deployed v1.0 at at anytime.


My First App on Google Play Store

September 24, 2012


VrChildren provides kids with a fun and entertaining application that allows them to learn and play at the same time. The first version of this applications brings a collection of videos from YouTube of the most famous cartoon characters. Let your child have some fun and be a kid !!!

Feels Good To Have My First App Published On The App Store …..

VrChildren App on Google Play App Store

Android: Publishing your Application

September 24, 2012
  • Export your application from Eclipse. It requires you to create a KeyStore and Key to sign your application. Eclipse guides you through the process – thought i faced a few challenges that are known and documented here. [ The certificate that signed this apk is not valid until the future. Create a new certificate  – Changes I had to make: 1. make the certificate valid for at-least 27 years” and 2. Need to set back my computer clock like a day and then retry again, I am not sure why i had to do this though :), but it worked …..

Export Android App for Deployment

  • Once you have exported the application, you need to publish it using Google Play. Prior to doing that you will have to register [Pay $25 using Google Wallet] and get access to the Google Play Android Developer Connection which will be your console for app control and publishing.  Click Here for Detailed Instructions to Publish Your Application.

Android: Testing on a Samsung Device

September 22, 2012

I finished my first application and got it tested on the Nexus 7 Tablet

Now wanted to test it on a phone and a Samsung Device – My Samsung Galaxy Rocket SII

Changed the Manifest of my application to support Api Level 10

As mentioned in my Previous Blog Post on “Testing on a Android Device” – I installed the Samsung USB Driver and Enabled USB Debugging on the phone.

Went into the Eclipse DDMS Perspective, made sure the device was visible and then went ahead and ran the application on the phone and worked like a charm

Testing on Samsung Galaxy SII

Android: Reading From a Properties File

September 21, 2012

Copy the file that you want to read from in the assets folder of your project

and use the following code to read

AssetManager am = c.getAssets();
inpStream =“”);

NOTE: I had a properties file and read it into the Java Properties object

Android: Getting Text from Selected List Item

September 19, 2012

I spent a lot of time trying to figure out how to do a very simple thing – you have a list view and you select a particular item – i wanted to get the text associated with the selected list item – it ended up being more complex than i thought 🙂

Here is the code you will need in the AdapterView.OnItemClickListener to retrieve the textview and this code worked for me

private AdapterView.OnItemClickListener onListClick = new AdapterView.OnItemClickListener() {
public void onItemClick(AdapterView parent, View view, int position,
long id) {
Intent i = new Intent(MainActivity.this, CartoonListActivity.class);
TextView txt = (TextView) parent.getChildAt(position).findViewById(;
i.putExtra(“CartoonName”, txt.getText().toString());

Android UI – A Better Looking List View

September 18, 2012

I used the following article –, to help me build a more professional looking list view.

Currently my code uses static images, as a next step i plan to use Parse to store image information and make the UI dynamic

I like the look and feel i have got now 🙂 , if you need access to the project with all the code and the graphics – let me know