All posts by Eric at Ebscer

Inexplicably BlackBerry’s advertising has gotten worse

BlackBerry is a company that has never understood advertising. This was a company that though support for Adobe Flash was a feature worth advertising despite most consumers not understanding, and experts not caring. A company whose sole Super Bowl ad went out of its way to explicitly show zero of the phones features, and who once paid for an eleven minute ad about two girls in an ice cream truck fighting monsters.

It would be easy to think that the floor could not get any lower. Yet it has. The content coming out of the BlackBerry blog these days is pure nonsense.

In reaction to the Panama Papers scandal BlackBerry had some recommendations on how to prevent finding yourself in a similar situation. However, while most people would take an opportunity to advice against hiding your money in an offshore account, BlackBerry had a different reaction and instead decided that the real problem was Mossack Fonseca’s lack of internal security.

Their recent blog titled “How to Ease Employees’ ‘Big Brother’ Fears About Location Tracking” is not so much advising that you protect the privacy of your employees, but rather how to convince them to not worry about the invasion of their privacy.

However the worst bit is BlackBerry’s recent obsession on preparing for a work place shooting. Stories about workplace violence have been posted three times in the past three months, painting ridiculously unlikely scenarios. Somehow BlackBerry expects that this fear mongering is going to help them sell enterprise software.

Every line in the articles jumps between “active shooter incidents are now, unfortunately, a stark reality that must be given serious consideration” and “the likelihood of being involved in a workplace shooting is infinitesimally small“, but with the need to justify themselves they end up recommending “multiple training sessions and no-notice exercises“. And have also included such bizarrely unuseful information such as “Police officers responding to an active shooter situation are trained to proceed immediately to the area where shots were last heard. Their purpose is to stop the shooting as quickly as possible. The first responding officers will normally be in pairs. They may be dressed in regular patrol uniforms, or they may be wearing bulletproof vests, Kevlar helmets and other tactical gear. The officers may be armed with handguns, rifles or shotguns to address the situation.” The fact that during a shooting, police officers would arrive dressed as police officers should have been able to go without saying.

Worse though is the most recent post points out that the real danger of workplace shootings is that it leaves companies open to liability and OSHA compliance issues. I get that BlackBerry has now become a boring enterprise company, but that doesn’t mean that they need to be manipulative as well.

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;
}

Percentage of BlackBerry 10 users running OS 10.3 levels off in the low nineties

Use of BlackBerry 10.3 remains level at 91% of Pixelated users, and 93% for Stuff I Need users. These numbers have been level for a while with most users running the newest variant of OS 10.3.2.
2016Mar-Pixelated-BB10OSVersions
2016Mar-StuffINeed-BB10OSVersions
This data was collected by BlackBerry World for downloads of the free strategy game Pixelated and the free checklist app Stuff I Need. Data shown on the chart is from the beginning of March 2015 through the end of March 2016.

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

40 hours per week

The rate at which Ebscer apps have been released has slowed way down over the past year, and that is mostly because I have been spending 40 hours a week writing other software. As a result it has become increasingly difficult to get new apps and updates released in a reasonable time frame. Hopefully I can get better at this.

When I first started publishing apps I was a full time student, and by the time sales started to take off I was working a full time job so this is not entirely new. However with finite time each week, dedicating forty hours elsewhere makes things hard.

Updates will continue. New apps will be released. New platforms will be supported. It just might be a bit slower than I would like…

BlackBerry 10 distribution still flat

The distribution of BlackBerry 10 OS usage remained flat over the past month. In fact it has been flat for a while with 10.3.0 stuck at 91% and 10.3.2 leveling off a bit below that.
2016Feb-Pixelated-BB10OSVersions
2016Feb-StuffINeed-BB10OSVersions
This data was collected by BlackBerry World for downloads of the free strategy game Pixelated and the free checklist app Stuff I Need. Data shown on the chart is from the beginning of February 2015 through the end of February 2016.

Nook App Store shutting down

NookFrameThe Nook app store is shutting down in a little over a week. I have four games available on the Nook, and this will be your last chance to purchase them for this platform.

Any apps previously purchased will remain available to be redownloaded, but will not receive any more updates.

For a while, app sales on the Nook were really good, and even outpaced sales through Google Play. However, those days are now long gone and sales on the Nook have been close to zero for most of the past year. The store shutting down is not much of a surprise.

BlackBerry 10 OS statistics

Use of OS 10.3.x was level for both users of Pixelated and Stuff I Need, near 91%. The biggest difference in January was that the use of OS 10.3.2 is up to 76.5% of Pixelated users, and 85.6% of Stuff I Need users.

2016Jan-Pixelated-BB10OSVersions

2016Jan-StuffINeed-BB10OSVersions

This data was collected by BlackBerry World for downloads of the free strategy game Pixelated and the free checklist app Stuff I Need. Data shown on the chart is from the beginning of January 2015 through the end of January 2016.

Hockey Scores app updated

IMG_00000100The Hockey Scores app has been updated so that it will continue to work. After an unexpected change to the API the app had stopped working, but this update restores the scores.

About Hockey Scores

This application provides the day’s hockey scores is an intuitive and easy to use format. It also includes additional game statistics such as start times, goal scorers, shots on net, hits, faceoff percentage, and lists out the goal scorers.

OS Support

The app supports BlackBerry 10 phones running OS 10.1 or higher, and BBOS phones running OS 6.0 and higher. Support for BlackBerry 5 has been ended.

Links & Information

b76

Setting up Windows to use ls like dir

After spending a lot of time with the unix command line you can get used to simply using the ls command to list the files in the current directory, it can be annoying when the option is suddenly not there on the Windows. Using the cd command to traverse through directories is the same, so it is a bit jarring when suddenly ls does not work.

Fortunately I was able to find a simple way to fix this from Stack Overflow. This approach maps the ls command to the dir, and is so simple that the file to do so can be created with a single statement on the command line.

echo dir %1 > %systemroot%\system32\ls.bat

This statement will create a new bat file that is always visible and will replace ls with dir behind the scenes. Now you can just use the ls command without having to think about what operating system you are running.

10 more levels for Starbeams

Z10Starbeams has been updated to version 2.2 giving the game a total of 220 levels.

About Starbeams

The object of the game is to assign colors to each star in order to ensure that none of the stars are connected to another star of the same color. The game starts off easy, but quickly gets more complex, adding more colors and seven pointed stars that can not be changed.

Starbeams can be downloaded for free for Windows Phone, Windows 8, Windows 10, and BlackBerry 10 devices. A one time in-app purchase is required in order to play past level 25.

Links & Information

IconS150

Writing to a file in a Windows 10 Cordova app

While writing to a file is easy in C# applications, for apps written in JavaScript things are a bit more complicated. Especially if you want to write to a file outside of the app’s sandbox. Fortunately this can be solved using Microsoft’s WinJS libraries.

var exportData = "String of data";
var savePicker = new Windows.Storage.Pickers.FileSavePicker();
savePicker.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documentsLibrary;
savePicker.fileTypeChoices.insert("CSV", [".csv"]);
savePicker.suggestedFileName = "Export.csv";

savePicker.pickSaveFileAsync().then(function (file) {
    if (file) {
        Windows.Storage.CachedFileManager.deferUpdates(file);
        Windows.Storage.FileIO.writeTextAsync(file, exportData).done(function () {
            Windows.Storage.CachedFileManager.completeUpdatesAsync(file).done(function (updateStatus) {
                if (updateStatus === Windows.Storage.Provider.FileUpdateStatus.complete) {
                    //file saved
                } else {
                   //file not saved, failed for some reason
                }
            });
        });
    } else {
        //file not saved, canceled by user
    }
});

This will allow Cordova apps to write out to a part of the operating system where users can easily access the files.

Dropping Google Analytics

Within the past half year, a lot of attention has been given to the excessive bloat that is present in many websites. This has been in concert with discussions over ad blocking, where extensions such as Ghostery block trackers from non-advertising sources as well.

In light of this conversation, why has this blog continued to run Google Analytics? The additional JavaScript adds 42 kilobytes and 0.7 seconds to the page load time. All to collect data that (to be perfectly honest) was never really looked at anyhow. With Google being the only one benefiting from this data collection, the scripts are now gone from this site.

Enjoy this blog knowing that it is now both quicker and more private.

BlackBerry 10 is still dead

Occasionally it is necessary to state the obvious. BlackBerry 10 has received no major OS upgrades in over a year, with none planned for the future. It has been eight months since the release of the last BlackBerry 10 phone, and 15 months since the release of the last flagship device with zero phones announced or rumored for the future. BlackBerry 10 also shut down all their developer programs and announced that “there are no plans to schedule releases of new SDKs and APIs.”

That such a platform is dead should go with out saying.

For those paying attention this has been crystal clear since last summer, with the final nail in the coffin coming with BlackBerry’s release of an Android phone.

Yet last week when BlackBerry announced that they only planned to launch Android phones in 2016 some people found this to be a surprise. The tech press (who should have been paying attention sooner) suddenly started releasing articles about how BlackBerry 10 was dead and abandoned, a good half year after BlackBerry 10 was dead and abandoned.

BlackBerry CEO John Chen then further confused things when he lied and wrote a blog post saying that the company was still committed to BlackBerry 10. Yet the post reiterated that they only planned to release Android phones and would only be supplying security updates to BlackBerry 10 devices.

So despite all the “news” nothing has changed. BlackBerry 10 is still dead.