Category Archives: Android

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 »

Android 8.0 Behavior Changes

Android 8.0 Behavior Changes

Introduction: As everyone knows, a lot of changes made after API level 26 for optimizing Android system’s performance, the battery uses and other system-level problems which I am writing below: 1- Changes in Service. 2- Changes in Broadcast Reciever. 3- Changes in Push Notification 1-Changes in Broadcast Reciever: So before understanding the changes in broadcast receiver let’s Continue Reading »

Offline Content Storage and Sync with Server when Modified

What is If-Modified-Since? The smart and efficient way to get images, icons and more from your server. If-Modified-Since is an HTTP header Which is sent to the server as a condition. If the content has been changed on the server, then the server responds with 200 status code with the whole requested document. Else If Continue Reading »

End-User Testing

How to Make Each Round of Testing Count?

1. Lets list things we need to discuss:- Set our goal clear. Understand value of feature for End-User. Keep a track of all the test scenarios and new findings. After testing check have we covered all the checkpoints. UI checkpoints. Last but not least, give app/web_app to another tester who is not a part for Continue Reading »

What is EventBus Library and How Does it Work?

In this blog, we are going to discuss about the Eventbus library. What is EventBus: EventBus Is open Source android library that simplifies communication between Activities, Fragments, Threads, Services, with Less code, better quality.When we develop an android application we need to manage a lot of intercommunication between android components which some time’s become very Continue Reading »

Nearby API Post-Connection Phase

We have already discussed near pre-connection phase in our previous blog. Check this reference : https://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 »

Room Persistence Library

  Last year 2017 Google announced a more secure and robust architecture to allow smooth database access while harnessing the full power of SQLite called Room Library. The Room Persistence library helps your app to create a cache on your device. In this blog, we are going to discuss Room Library and its implementation. Persistence in Android? 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 »

Version Control of Android Studio Project via SVN

Apache Subversion (SVN) SVN stands for Apache Subversion, a software versioning and revision control system distributed as open source under the Apache License. In order to demonstrate the process of adding an Android Studio project into SVN,  let’s first create a new project in Android Studio and name it HelloWorldProject. The project structure looks like this Continue Reading »

Reducing Size of Bitmap

Reducing Size of Bitmap Introduction- Images come in all shapes and sizes. In many cases they are larger than required size for a typical application user interface. For example, the system Gallery application displays photos taken using your Android devices’s camera which are typically much higher resolution than the screen density of your device. So Continue Reading »

All About SQLite

  What is SQLite? SQLite is an open source, zero-configuration, self-contained, stand-alone, transaction relational database engine designed to be embedded in an application. SQLite is an embedded relational database management system used in the mobile applications. SQLite is different from other SQL databases because unlike most other SQL databases, SQLite does not have a separate server Continue Reading »

SOLID: Interface Segregation Principle

Interface Segregation Principle Previous Principle: Liskov’s Substitution Principle A client should never be forced to implement an interface that it doesn’t use or clients shouldn’t be forced to depend on methods they do not use. In OOD we provide abstraction to module using interfaces, so we create an interface for a module and an implementation class. Continue Reading »

SOLID: Open Close Principle

Open Close Principle If you have not read Single Responsibility Principle Start from here Single Responsibility Principle Classes should be open for extension, but closed for modification This principle states that any new functionality can be added in a system with minimum modification in the current code. Means the system should be open to additions but it should 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 »