Examples of Store Item Activities in Android

This is a follow-up to my previous blog article about a StoreItemFragment object in Android. That fragment can be used to display items in a store. My plan is to use this fragment for purchases made in a game with virtual currency and to use it so a player can make an in-app purchase using real money to purchase game coins.

I have not finished the app. It’s still a couple of months out. However, I did want to report that the fragment for store items seems to be working out about right. A couple of screenshots are included below. The only modification I made to the code that I wrote about last time is the addition of some text to indicate to the user that equipment has already been installed.

Figure 1 – Upgrades screen


Figure 2 – Coins screen


On the Upgrades screen, the symbol to the right of the purchase button is a gold coin. On the Coins screen, the unit of currency while I am debugging the game is an alpha test dollar. Each of the activities uses four StoreItemFragment objects in its layout xml file.

If you are curious about the game, it is a turn-based space war game. It should be available for beta test in another 2-3 months.

(Update – January 10, 2014. For the latest on the space war app, see the recent post: Starship App Alpha Test.)

About Bill Lahti

Bill Lahti is a software engineer building mobile applications and knowledge management solutions. Two of his interests are writing for this blog and building Android apps, with strategy games being an area of particular interest.
This entry was posted in Android, Game Design and tagged , , , . Bookmark the permalink.

4 Responses to Examples of Store Item Activities in Android

  1. Pingback: Starship App Alpha Test | More Is Not Always Better

  2. Pingback: More Mobile Enemy in Starship App | More Is Not Always Better

  3. Pingback: In-app Billing in an Android Space War Game | More Is Not Always Better

  4. Pingback: Tutorial: How to Implement In-app Billing in Android – Part 2 | More Is Not Always Better

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s