Tag Archives: Android

How to Use data Binding in Android

How to Use Data Binding in Android

What is Data Binding? Databinding is a part of android-architecture components in an android jetpack. It is a support library and It is used to bind UI components in the layout to data resources in your app. In another word, we can say that Databinding allows you to write expressions that connect variables to the views in Continue Reading »

Capture Image on Eye Blink

Capture Image on Eye Blink

The Mobile Vision API provides a framework for recognizing objects in photos and videos. The framework includes detectors, which locate and describe visual objects in images or video frames, and an event-driven API that tracks the position of those objects in video. The objects that can be tracked by Mobile Vision API include facial features, text Continue Reading »

Custom Camera using SurfaceView

Custom Camera using SurfaceView

SurfaceView is a class provided by android.view package. It offers a dedicated drawing surface embedded inside of a view hierarchy. We can manage the format of this surface, however, the SurfaceView takes care of putting the surface at the right location on the screen. In this post, we will use the SurfaceView to preview the Continue Reading »

Nearby API Post-Connection Phase

We have already discussed near pre-connection phase in our previous blog. Check this reference : http://innovationm.co/nearby-api-pre-connection-phase/ Now, in this blog, we will have a look at the post-connection phase. After the connection between advertiser and discoverer is made successfully, post-connection phase starts. In the post-connection phase, there is no distinction between advertiser and discoverer. Both can Continue Reading »

Design Pattern – Database Transaction Handling (in Android)

This blog is about database transaction handling and its design pattern in android. It also gives a brief knowledge on how to handle Exception. Here we have a main method which is responsible to get  database instance  -> start Database Transaction  ->  Mark Transaction Successful   ->  Commit or Rollback Transaction  ->  Close database. This main Continue Reading »

SOLID: Single Responsibility Principle

Object Oriented Design Principles A good design is most important step of Software Development life cycle, and to have a good design we must follow some set of guidelines. According to Robert Martin in “Agile Software Development: Principles, Patterns, and Practices” there are 3 main reasons of bad design that should be avoided: Rigidity – System Continue Reading »

Multiple AsyncTask In Android

What is AsyncTask AsyncTask is an abstract Android class which helps the Android applications to perform tasks without blocking the UI Thread. AsyncTask is designed to be a helper class around Thread and Handler. Thread Pool Pattern AsyncTask uses a thread pool pattern for running the stuff from doInBackground() The Thread pool Pattern is where number of Continue Reading »

InnovationM Lazy Loading Memory Management UITableView Android

Lazy Loading and Memory Management of Images in ListView in Android

Introduction to Lazy Loading What is lazy loading? A little introduction of lazy loading is  it is a design pattern to defer the initialization of an object until the point at which it is needed. In simple words create objects when it is needed. Problems to Tackle Before talking about lazy loading of images, I Continue Reading »

65k-Method-limit

Android 65K method limit

It cyber monday ugg boots critical to UGG Black Friday are uggs black friday 2015 aware uggs Black Friday that uggs cyber monday 2015 all legitimate uggs cyber monday deals sources black friday uggs will ugg black friday sale give uggs black friday 2015 you http://www.lillybunn.com/product1.html a uggs cyber monday 2015 cash. Cyber Monday They Continue Reading »

Nokia supports Android

New Nokia phones supports Android

Great opportunity for Android developers. Nokia has launched a new Nokia X Software Platform, a customized platform built on the Android Open Source Project (AOSP). The Nokia X family features smartphones powered by Android. The UI resembles Windows Phone — but other parts of the system feel distinctly Android or even Asha-ish. To publish Android Continue Reading »

InnovationM Secure Webservice Integration Mobile Apps

Secure Web Service integration in Mobile Apps

Web services have gained lot of importance lately. From mobile apps perspective, native apps (Andorid, iOS, Windows Phone, etc.) or HTML5/JS Frameworks like Sencha Touch need to talk to the web services to get the data and push the data. How do we ensure that request sent to web services is from authenticated client? For Continue Reading »

InnovationM Testing Facebook Integration

Testing – Facebook Integration in iOS and Android

Testing – Facebook integration of the app – requires different combinations of situations and cases to be tested. Ex Login to Application using Facebook when Facebook app is installed on the device. In another case, Facebook app is not installed. Let us go through some of them …. iOS – Login Test Scenarios  1. User Continue Reading »

Multiple Profiles In Android

Multiple User Profiles in Android

What is this offering from Android? One Tablet used by multiple users – How can we shield users from seeing each other stuff. Jelly Bean has an answer to it. Just like Windows OS, several user profiles (accounts) can be created on Android from Jelly Bean 4.2  (Tablets only) and onwards versions. This feature abstracts Continue Reading »

Handle Android Fragmentation while developing Apps (Role of UI Designer)

Fragmentation in Android can be broadly attributed to following 4 factors: Android OS Versions Devices with different densities (ppi) Devices with different form factors / screen sizes Customization done by OEM (Original Equipment Manufacturer)   Developing applications is a team work and there are key roles that help in containing fragmentation while developing apps. These Continue Reading »