How to download apk files from Google Play Store on Linux

Suppose you want to install an Android app on your Android device. However, for whatever reason, you cannot access Google Play Store on the Android device. What can you do then? One way to install the app without Google Play Store access is to download its APK file using some other means, and then install […]
Continue reading…

 

How to implement notifications in Android Lollipop

Notifications are messages that can be displayed to users outside of an application’s UI in an Android phone or tablet. Android displays an icon in the status bar to indicate a notification. Swiping down from the status bar reveals the notification drawer, where the notifications are displayed, usually with an icon, a title and content […]
Continue reading…

 

How to implement the FAB (Floating Action Button) in Android apps

Material design introduced some new styles, components and widgets. One of such components is the Floating Action Button (aka FAB). The FAB is a special type of circular button that “floats” in the bottom right of the screen, and displays an ink reaction upon press. It should be used to perform the expected primary action […]
Continue reading…

 

How to hide/show toolbar in response to scrolling on Android

The Toolbar is a new android widget, introduced in API 21 (Lollipop), designed and intended to replace the ActionBar. The ActionBar was introduced in API 11 (Honeycomb), to appear at the top of an activity’s window. The Toolbar, on the other hand is more powerful than the ActionBar. For example, the Toolbar can be placed […]
Continue reading…

 

How to create document centric apps with concurrent tasks on Android Lollipop

Android L introduced a great new feature: the ability for a single app to have multiple tasks available on the ‘Recent Apps’ list. This is called Document Centric apps (Concurrent Tasks). In fact, this feature is a rather significant change in multitasking model in Android L, where focus has been shifted from traditional app-centric multitasking […]
Continue reading…

 

How to create activity transition animations on Android Lollipop

Android KitKat introduced the transition framework, which is a very convenient set of APIs for animating between different UI states in an application. The framework is built around scenes and transitions. A scene refers to a given UI state in an application (think of a scene like a ViewGroup, so the entire layout of an […]
Continue reading…

 

How to use RecyclerView and CardView on Android Lollipop

Android Lollipop introduced a whole new design paradigm, called Material Design. It encourages the use of bolder colors, flatter UI elements, and smoother animations. Android Lollipop introduces corresponding new APIs to help developers implement the Material Design guidelines, and two of these UI widgets are RecyclerView and CardView. The RecyclerView is designed to replace the […]
Continue reading…

 

How to set up two-factor authentication for SSH login on Linux

With many high-profile password leaks nowadays, there is a lot of buzz in the industry on “multi-factor” authentication. In a multi-factor authentication system, users are required to go through two distinct authentication procedures: providing something they know (e.g., username/password), and leveraging something they have “physical” access to (e.g., one-time passcode generated by their mobile phone). […]
Continue reading…

 

How to integrate Android into KDE Linux desktop

KDE desktop has long been favored by many Linux geeks because it has every element to fulfill their appetite: customizable every bit of it, aesthetically pleasing desktop effects, openness to adopting new technologies such as semantic desktop, etc. Beyond all these bells and whistles, the KDE desktop community constantly tries to advance the state of […]
Continue reading…

 

How to configure Nagios for audio alerts and mobile notifications

In a Network Operation Centre (NOC) environment, setting up alerts is extremely important. As one of the most popular NOC monitoring systems, Nagios features powerful alerting services. Alerts generated by Nagios can be sent out in various means, so that they can be acted upon immediately. Email notification is the most commonly used option. This […]
Continue reading…