Showing posts with label mobile development. Show all posts
Showing posts with label mobile development. Show all posts

Conference: Android Summit 2015


This is how Android Summit started for me! A delightful dinner for the speakers where I had the chance to make some new friends; including the friendly conference committee lead by folks at Capital One.

Talk: Developing Maintainable Apps

Great Android apps only include what's needed to achieve the goals of the product, not enhance the resume of the developer. What’s more, the more maintainable an application is, the more likely it will have increased user satisfaction and decreased time to market.




So how can you do it?  Keep these four factors in mind:


  1. Choose your 3rd Party Components Wisely
  2. Keep your Code Simple
  3. Use Static Code Analysis Tools
  4. Write Unit Tests


Resources:

Android: Determining if a Wearable Device is Connected

I'm playing around with developing an application that integrates with the new Android Wear API. In my case I don't want to perform certain actions locally if a wearable device is connected. So this is how you can detect if a device is connected. You would have this code included in the Main Activity of your primary (phone) application: