Exceptions are useful if you use them properly. If you don't use them properly, you will be ridiculed and write bad code. We'll demonstrate how to handle exceptions correctly by showing some ways NOT to handle exceptions and how you can improve your exception handling.
Read MoreRxJava has many uses, especially for applications requiring any amount of asynchronous operations. If you do not have experience with RxJava (or any of its sister implementations), I recommend checking it out and seeing if it can help improve your applications. I will not be covering the basics of RxJava in this blog, so a familiarity with the core concepts is recommended. In this blog I will be covering how to create a simple bus implementation using RxJava in a pure Java application. This implementation can be ported to other Java-based platforms, such as Android. There are a few particulars I will cover before jumping into the implementation.
Read MoreAt the Google Nexus event today, Google's CEO and others from their leadership team unveiled several new and improved products as well as launched the new Android 6.0 update named Marshmallow. They made sure everyone understood that the ubiquity of Google and their products was only going to become more profound with the passage of time.
Read MoreAndroid M has officially been revealed to be Android Marshmallow, version 6.0. Among a number of improvements and changes are permissions. Previously, permissions were required to be accepted by the user before installing the app, and they could never be revoked. This meant that the only way to prevent an app from accessing something it requested was to not use the app. The new setup instead gives users granular control over which permissions are allowed on a per app basis.
Read MoreIn the past few development posts, Ron has given us insight into several aspects of Android unit testing. He began with an overview of unit testing concepts and then discussed JUnit, the framework that Android testing is built upon. Today, he rounds out the series with an article on some specific Android libraries that can make unit testing a whole lot easier.
Read MoreAndroid Unit Testing Implementation at Metova
Welcome back friends. Let's continue our discussion on Android Unit Testing from last weeks session.
Testing is a key activity in any software development effort. Manual testing (e.g., with QA personnel) allows a lot of flexibility, but testing old features repeatedly can be mind-numbing and cause testers to miss things. Manual testing also usually involves a full end-to-end system, so it can be difficult to test edge cases and error conditions because they can be difficult or impossible to recreate on-demand in the real system.
Read MoreGoogle I/O’s 2015 keynote was full of information about Android M, Lollipop’s successor. The preview is available today to developers with a Nexus. The full release will be available later this year. Here’s what you can look forward to.
Read MoreThere is a bug in IntelliJ that will show an ambiguous method call error when using getClass()
without an explicit cast. It looks like this:
Google has released a developer preview of ARC- App Runtime for Chrome. The project was launched last September and the latest developer preview gives a peek into the future of Android. Soon your Android app will be able to reach its users on desktop as well as mobile! ARC enables Android applications to run on Google’s browser, Chrome. Users won’t need a phone to use and enjoy your application, just a computer with a Chrome browser.
Read More