Category Archives: Android

Projectile Physics app updated

shapeitappThe Projectile Physics app has been updated for iOS, Android, BlackBerry, and Windows Phone. After this update the app now uses the official ISO value for acceleration due to gravity. Additionally iOS and Android users are now given the option to remove all advertising from the calculator with an in-app purchase.

About Projectile Physics

This app is a projectile physics calculator designed to solve for all of the components of a typical projectile motion problem. The app solves for both the vertical and horizontal components of the distance traveled, the constant acceleration, the initial and final velocity, as well as the time. These factors are solved for in real time in order to help you get back the factors of the equation quicker.

Links & Information

144icon

Xploding Boxes expanded with another 10 levels

z10Version 5.8 of Xploding Boxes has been released, bringing the total number of levels in the game up to 540. This newest version of the game is available in Google Play, the Amazon App Store, BlackBerry AppWorld, Windows 10/Windows Phone App Store.

Starting with this release, the minimum supported OS version for Android has been increased to 4.0 (Ice Cream Sandwich).

About Xploding Boxes

Xploding Boxes is a strategy game where the goal is to start a chain reaction that will explode all of the boxes on the screen. Each level presents a different look and number of touches, requiring a different strategy to solve.

The game itself, and the first 25 levels are available for free, while a one time in-app purchase can be used to access the rest of the levels for just $2.99 while still maintaining your progress from the free levels.

Links & Information

icon

Black Out updated for Android

The game Black Out has been updated to version 1.4.2 in Google Play, and the Amazon App Store.

How to Play

The goal to Black Out is to tap the tiles, so that they all get ‘blacked out’. This is complicated because whenever you tap to flip a tile, it also flips all of the tiles surrounding it. As such it requires a well laid out strategy.

In order to accommodate different difficulties, the game supports board sizes from 3×3 all the way up to a 10×10 grid. Furthermore, there is also a hint button in case you find yourself in need of help.

Links & Information

icon300

Buffalo Metro Rail app updated

iphoneThe Buffalo Metro Rail app has been updated to version 1.3. This update makes use of the new data format that is being used by the NFTA, and also adds support for iphones and iPads.

About the Buffalo Metro Rail app

This app shows the departure times for trains along Buffalo’s Metro route. The app automatically selects the proper schedule for the day, allows for sorting options, and also shows a map of the full light rail line. Additionally the app only needs to be synced once a month, and can otherwise be used without an active internet connection.

Links & Information

512

Update for Weather Beautiful app

Z10cropThe Weather Beautiful app has been updated for Android and BlackBerry phones. Now at version 2.3, the Weather Beautiful is more efficient, and also includes a two percent reduction to the file size of the app.

About Weather Beautiful

This is a simple weather app that displays stunning photography of your surrounding area. In addition to the current temperature and weather conditions, the app also allows you to scroll for a full weekly forecast.

Links & Information

icon480

Smartphones have gotten boring

Last week Google hosted their I/O conference for developers. For those of us who develop Android apps for phones and tablets there was very little announced. Android was mentioned often, but more for use in watches and virtual reality than for phones. And when phones were mentioned it was as a platform for Google’s own messaging apps. The biggest new item for developers is the Vulkan API, which as a low level graphics processor is not something most developers are going to use directly anyhow.

It is not just Android, but rather that the smartphone market has matured. It has become boring. Despite being an enthusiast, there is a reason that I am ok with using a two and a half year old phone running a dead operating system. Things are not changing as quick as they once were.

Furthermore new platforms such as wearables, virtual reality, and the internet of things lack the standardized platforms (and stores) that once made phones so exciting.

Synchronous AlertDialogs in Android

In general Android does not want developers creating alert dialogs that block the flow of code, but for those situations where it is needed, there is a way to force a dialog to wait. The approach essentially uses a handler to create a slightly more elegant version of a busy loop.

private boolean resultValue;
public boolean getDialogValueBack(Context context)
{
    final Handler handler = new Handler()
    {
        @Override
        public void handleMessage(Message mesg)
        {
            throw new RuntimeException();
        } 
    };

    AlertDialog.Builder alert = new AlertDialog.Builder(context);
    alert.setTitle("Title");
    alert.setMessage("Message");
    alert.setPositiveButton("Return True", new DialogInterface.OnClickListener()
    {
        public void onClick(DialogInterface dialog, int id)
        {
            resultValue = true;
            handler.sendMessage(handler.obtainMessage());
        }
    });
    alert.setNegativeButton("Return False", new DialogInterface.OnClickListener()
    {
        public void onClick(DialogInterface dialog, int id)
        {
            resultValue = false;
            handler.sendMessage(handler.obtainMessage());
        }
    });
    alert.show();

    try{ Looper.loop(); }
    catch(RuntimeException e){}

    return resultValue;
}

Another 10 levels for Xploding Boxes

IMG_20150206_175129_cropXploding Boxes has been updated to version 5.7 with 10 new levels. The new version of the app has been updated in Google Play, the Amazon App Store, BlackBerry AppWorld, Windows 10/Windows Phone App Store.

About Xploding Boxes

Xploding Boxes is a strategy game where the goal is to start a chain reaction that will explode all of the boxes on the screen. Each level presents a different look and number of touches, requiring a different strategy to solve.

The game itself, and the first 25 levels are available for free, while a one time in-app purchase can be used to access the rest of the levels for just $2.99 while still maintaining your progress from the free levels.

Links & Information

icon

Ebscer highlights of 2015

With 2016 just beginning, I thought it was worth looking at some of the highlights of 2015.

Overall 4 apps were added for BlackBerry, 3 apps for Windows Phone, and 4 apps for Android.

App for Buffalo’s Metro Rail updated

IMG_20141110_114110The app for the Buffalo Metro Rail has been updated to version 1.2 for both Android and BlackBerry 10. This new version involves a significant reduction in the app’s file size (93% reduction for BlackBerry, and 74% for Android). This results in an app that is also quicker to launch.

About the Buffalo Metro Rail app

This app shows the departure times for trains along Buffalo’s Metro route. The app automatically selects the proper schedule for the day, allows for sorting options, and also shows a map of the full light rail line. Additionally the app only needs to be synced once a month, and can otherwise be used without an active internet connection.

Links & Information

512

Update released for Xploding Boxes

Nexus4Xploding Boxes has been updated to version 5.6 in BlackBerry World, Google Play, the Amazon app store, the Nook app store, the Windows 8 app store, and the Windows Phone app store. This update adds 10 new levels to the game, giving the game a total of 520 levels.

About Xploding Boxes

Xploding Boxes is a strategy game where the goal is to start a chain reaction that will explode all of the boxes on the screen. Each level presents a different look and number of touches, requiring a different strategy to solve.

The game itself, and the first 25 levels are available for free, while a one time in-app purchase can be used to access the rest of the levels for just $2.99 while still maintaining your progress from the free levels.

Links & Information

icon

Weather Beautiful updated

Q10cropThe Weather Beautiful app has been updated to version 2.2 for both Android and BlackBerry users. This update makes the app launch quicker. Additionally the app’s install size is 37% smaller on BlackBerry, and 23% smaller on Android.

About Weather Beautiful

This is a simple weather app that displays stunning photography of your surrounding area. In addition to the current temperature and weather conditions, the app also allows you to scroll for a full weekly forecast.

Links & Information

icon480

More Levels for Xploding Boxes

ShapeItAppXploding Boxes has been updated to version 5.5 in BlackBerry World, Google Play, the Amazon app store, the Nook app store, the Windows 8 app store, and the Windows Phone app store. This update adds 10 new levels to the game, giving Xploding Boxes 510 levels overall.

About Xploding Boxes

Xploding Boxes is a strategy game where the goal is to start a chain reaction that will explode all of the boxes on the screen. Each level presents a different look and number of touches, requiring a different strategy to solve.

The game itself, and the first 25 levels are available for free, while a one time in-app purchase can be used to access the rest of the levels for just $2.99 while still maintaining your progress from the free levels.

Links & Information

icon

Coloring a ProgressBar on Android

On newer versions of Android (such as Lollipop and Marshmallow) the activity indicator now has a distinct color instead of just being a shade of gray. While this is neat, it brings up the potential for the color of the activity indicator to clash with your design.

Fortunately it is possible to change the color of these controls. Starting with the xml in the layout, your progress bar will look as follows…

<ProgressBar
    android:layout_height="wrap_content"
    android:layout_width="wrap_content"
    android:id="@+id/activityIndicator"
    android:progressDrawable="@drawable/colorProgress"
    android:indeterminateOnly="true"/>

The relevant part of this code is the setting of progressDrawable to a custom drawable object. While this custom object must exist, it doesn’t actually have to do anything. The full source of colorProgress.xml is below and is essentially blank.

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
</selector>

Finally we will get to the Java code that actually sets the color of the progress bar. This is done as the program starts up and consists of three steps. First, you filter out the older Android OS versions to avoid crashing the app on Android 4.x phones. Next you get a reference to the ProgressBar object, and then finally you set the object to the color you want.

protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
{
ProgressBar progressbar = (ProgressBar) findViewById(R.id.activityIndicator);
int color = 0xFF2980b9;
progressbar.getIndeterminateDrawable().setColorFilter(color, PorterDuff.Mode.SRC_IN);
progressbar.getProgressDrawable().setColorFilter(color, PorterDuff.Mode.SRC_IN);
}
}