Category: Games


Native dialogs in Android are boring! Open-mouthed smile if you are developing an app having some cool and customized theme then doing something about those dull dialogs is a must. They wouldn’t just compliment the overall look of your application. I faced this kinda scenario recently and while experimenting and trying different suggestions on forums, I finally got around it and made it to work!

First things first, as far as my experience went, AlertDialog is not going to help you here. It just don’t get rid of that black background that is there by default (talking about gingerbread dialogs here). No matter what you do, it’ll always show the black background from behind your image (if you have any). Anyways, to create a custom dialog, we need to create a layout first in a separate xml file. Here’s an example:

Capture

This is just a simple layout having a background image that has irregular borders. Now we just need to write a few lines of code in order to make it work:

Capture

Here, we are setting the background color to transparent in order to get rid of the default dialog background color. After that, we just need to assign the layout resource to the dialog and that gets the job done.

Notice the resultDlg.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); This will remove the dim effect that makes your parent layout a bit darker. You can also set some additional flags like adding a blurred effect to the background/host activity from which this dialog is invoked. To do this, simply use the addFlags function with FLAG_BLUR_BEHIND flag. Here’s the exact statement:

resultDlg.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);

This will create a very nice blur effect which I find more neat than the original dim effect. And that ends this post here. Feel free to comment and ask questions, I’ll try to answer them as swiftly as I can.

Checkers Redux is out now!

The wait is finally over, we have just unleashed our new checkers game on Android, GetJar and LGWorld marketplaces. Here’s the game’s description:

“Here comes the rebirth of one of the most played and entertaining board games on earth; The Checkers!

Play in Single player mode with your phone or in Multiplayer mode with your friends. Track your past performances against your phone and become a Checkers/Draught Master!

Play on Beach, on Leaves, on Paper and with Smileys (all selectable themes, more to come in future versions)

Choose from 4 difficulty levels. From Beginners to Advance level players, this game is for all. Challenge your inner Checkers/Draughts player to beat the phone in the best possible ways!

Intuitive touch controls make it easy to play checkers on your phone, just tap a piece and then tap where you want it to go. If you accidentally hit the wrong spot, the undo buttons let you take back your move and try again.”

Checkout the video after the break!

Here are the Android Market Links:

Paid: https://market.android.com/details?id=excelarz.games.checkersRedux.paid

Free: https://market.android.com/details?id=excelarz.games.checkersRedux.Free

The wait is finally over, we have just unleashed our new checkers game on Android, GetJar and LGWorld marketplaces. Here’s the game’s description:

“Here comes the rebirth of one of the most played and entertaining board games on earth; The Checkers!

Play in Single player mode with your phone or in Multiplayer mode with your friends. Track your past performances against your phone and become a Checkers/Draught Master!

Play on Beach, on Leaves, on Paper and with Smileys (all selectable themes, more to come in future versions)

Choose from 4 difficulty levels. From Beginners to Advance level players, this game is for all. Challenge your inner Checkers/Draughts player to beat the phone in the best possible ways!

Intuitive touch controls make it easy to play checkers on your phone, just tap a piece and then tap where you want it to go. If you accidentally hit the wrong spot, the undo buttons let you take back your move and try again.”

Checkout the video after the break!

eXcelarz Interactive has just launched a new game on Windows Phone 7 Marketplace. Here’s the link to their blog post:

http://www.excelarz.com/blog/?p=322