Category Archives: Android

Mobile App development Company UK

Custom & Filterable Adapter

Code optimization is one of the most core features of a good developer. As far as Android developers are concerned the better the optimised code the better is the performance. Every time creating a new separate class for each adapter for a simple RecyclerView makes the code redundant.  Create a new adapter class  Extend with Continue Reading »

Blutooth API Basic Data Transfer

How To Use Android Bluetooth API For Basic Data Transfer From One Device To Another Device

Introduction: Bluetooth: The Android platform supports Bluetooth connection, which allows us to exchange data with other Bluetooth devices. The application framework provides Bluetooth related functionality through the Android Bluetooth APIs.All of the Bluetooth APIs are available in the Android Bluetooth package. There are two types of Bluetooth in Android Classic Bluetooth and Bluetooth devices with Continue Reading »

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 »

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 : http://blogs.innovationm.com/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 »

Retrofit Library in Android

Retrofit is REST API Client for Java. It is developed by Square Inc. It uses OkHttp library for HTTP Request. It is a simple library that is used for network transaction. It is a very easy and fast library to retrieve and upload the data via Rest based web service. Adding Dependency in Build.gradle-

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 »