Author Archives: InnovationM Admin

Paytm Integration in Swift

This blog is about how to integrate Paytm with the iOS App. Steps to integrate paytm via SDK 1. Import the library : A library can be imported by two process : a) Via pods Add pod ‘Paytm-Payments’ in the pod file. Run ‘pod install’ from terminal. Now open the xcworkspace Go to “Link Binary With Continue Reading »

controller, restcontroller, spring boot

Difference Between the @Controller and @RestController

Spring Framework introduced @Controller and @RestController annotations to create a controller. Basically, the controller is used to handling the client requests for a particular resource. For example mydomain.com/home This request goes to dispatcher servlet then it will be forwarded to controller corresponding methods with that URL mapping If you create your controller using @Controller annotation 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 »

Spring Hibernate With EhCache

Ehcache is an open-source, standards-based cache for boosting performance, simplifying scalability and offloading your database. EhCache is used to improve performance by reducing the load on underlying resources.  It can also be used for RESTful server caching, application persistence, and distributed caching. In simple words, cache means a store of things that will be required Continue Reading »

Nearby API pre-connection phase

  Nearby Connections API is one of the many APIs available in google play services. This framework was introduced in early 2015. Initially, it allowed only those devices to share data which connected to the same wifi network. After June 2017, in the version 11.0, it also made use of Wifi hotspots, Bluetooth and BLE Continue Reading »

Hibernate Query Language

  In this tutorial will discuss about Hibernate Query Language. HQL is an object-oriented query language. Hibernate Query Language(HQL) is same as Structured Query language(SQL), except that in HQL we use entity class name instead of table name. HQL provides its own syntax and grammar Ex.  From Employee emp . Where Employee is an entity class Continue Reading »

Spring Security with OAuth2

  Spring Security provides comprehensive security services for J2EE – based enterprise software applications. It is powerful, flexible and pluggable. It is not Proxy server, firewall, OS level Security, Intrusion Detection System,  and JVM Security. OAuth is open authorization protocol, which allows accessing resources of the resource owner by enabling the client applications on HTTP Continue Reading »

Functional Interface and Lambda Expression

  Welcome to the tutorial of Functional Interface and Lambda expression. In this tutorial we will discuss fundamental concept of functional interface and lambda expression. Functional Interface : Functional Interface is just a interface with one abstract method, but it  can have any number of default and static method. Runnable and Comparable interface are the Continue Reading »

Spring Data JPA

  Spring Data JPA is not a JPA provider but is a specification. It is a library / framework that adds an extra layer of abstraction on the top of our JPA provider. It simply “hides” the Java Persistence API (and the JPA provider) behind its repository abstraction. JPA is the sun specification for persisting Continue Reading »

Job Scheduling with Spring Batch

 Spring Batch Spring Batch is a processing framework designed for robust and parallel execution of multiple job. It follows the standard batch architecture in which a job repository takes care of scheduling and interacting with the job.  Spring Batch Job Spring batch job reads input data, processes the input data, and writes the processed data 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 »

AutoCompleteView – Synchronous server call with Filter

In order to implement synchronous server calling within filter, autocomplete textview is being used. Web service is hit with each character typed in Autocomplete list. For having data dynamically in the list, we can make customized adapter. I have implemented it by making this adapter to implement filterable interface. For getting data from server, two Continue Reading »

Fragment to Fragment Communication

Communication Between Fragments We can communicate from one Fragment to another Fragment and receive callback from calling Fragment to caller Fragment by using a standard method setTargetFragment() and getTargetFragment(). Scenario – We are in a Fragment and want to open a Dialog Fragment on top of Fragment. On Dialog Fragment, we do some task and Continue Reading »

What’s New in iOS 11

Apple has announced iOS 11 in WWDC 2017. Like every conference, Apple revealed new iPhones with new iOS features. All of us stuck on iPhone only with its retina scan. There is a chaos for iPhone X Design. In spite of this, we’ll try to cover major changes in iOS 11 which have overshadowed new Continue Reading »

Firebase Authentication in iOS

  Firebase Authentication in iOS When You want to create a user based app where you want to feature or activity depends on Users. I can assume, you need User Login, Forget password and Registration screen for user-related interactions. In most of the cases, Login/Registration User functionality doesn’t belong to Client end (i.e. iOS or Continue Reading »