Category Archives: Technology

Kotlin can overcome Java issues?

This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. Kotlin showed a surprising impact on productivity.

This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. My first article (5 cool thing about Kotlin) provided a brief introduction to Kotlin and showed a surprising impact on productivity.

It’s important to realize the difference in value in fixing a defect in one class versus preventing an entire category of Java defects from occurring in any class.

What we see today:

Source: How Kotlin remove Java defects? 


Advantage and Disadvantage of BlockChain

What is BlockChain Advantage and Disadvantage?
What is BlockChain Advantage and Disadvantage?

Blockchain is a public record of transactions. It’s also distributed, so instead of one person controlling everything, there are thousands of computers around the world connected to a network, and these thousands of computers together come to an agreement on which transactions are valid.

A blockchain, originally block chain,is a continuously growing list of records, called blocks, which are linked and secured using cryptography. Each block typically contains a hash pointer as a link to a previous block, a timestamp and transaction data.

Top 3 Mobile Technology Trends in 2018

Attempting to explain the advantages and disadvantages of blockchain technology, in it’s current format, for developing solutions.

Over the last 6 months, we’ve been attempting to pull apart blockchain, from concept, to economics. This article is designed to record some of our thoughts about blockchain and why it’s useful, or not. If we have something wrong, inaccurate or out of date, let us know in the comments!

Source: What is BlockChain Advantage and Disadvantage?

Mobile Technology Trends For 2018

Top 3 Mobile Technology Trends in 2018
Top 3 Mobile Technology Trends in 2018

Here is my Top three technology trends you all should look out for in your endeavors in this new year 2018, which as always, will offer you loads of new opportunities to rock this world. Being a part of this mobile app ecosystem I feel immense pride while writing this piece of article for all you visionaries and future mobile apprenuer.

Before I kick-start this article, please allow me to wish

“ A Very Very Very… Happy New Year 2018” To all you lovely readers and my well wishers.

It has been an amazing journey so far being a part of this mobile app revolution since 2006, I feel blessed to see both pre & post smartphone evolution era and having experienced the change myself being the developer, leader and now a father of my own mobility startup. So thought to analyze the trend setters which kind of will rule this new year.

Technology trends Credit: BOD
Technology trends – Credit: BOD

List of Top 3 Mobile Technology Trends in 2018

Android Wear Library for 2018

Top 5 Android Wear Library In 2018
Top 5 Android Wear Library In 2018

Welcome to 2018. Happy New Year To All Of You.

Android Wear is a version of Google’s Android operating system designed for smartwatches and other wearables.By pairing with mobile phones running Android version 4.3 or newer, or iOS version 8.2 or newer with limited support from Google’s pairing application, Android Wear integrates Google Assistant technology and mobile notifications into a smartwatch form factor. It also adds the ability to download applications from the Google Play Store.

If you’re planning to make your own Wear app then i can give you list of some great Android Wear library which you can use in 2018.

Android Oreo Vs iOS 11 : Comparison you should know about this

Top 5 Android Wear Library In 2018
Top 5 Android Wear Library In 2018

Android Wear smartwatches let you track your fitness, glance at alerts & messages, and ask Google for help – right on your wrist.

List of Top 5 Android Wear Library In 2018

Best 10 Kotlin Tips You must Know

Advanced Kotlin Tips on writing good Kotlin code and using what the language has to offer. There are many benefits of using Kotlin; it is concise, safe and most importantly it is 100% interoperable with Java. It also tries to solve some of the limitations of Java.

Top 12 Advanced Kotlin Tips For Pro Developers

Now is a good time to consider Kotlin for your next big feature or project, because Google finally announced it to be a first-class language for writing Android apps in Google I/O 17.

So here are some advanced Kotlin tips to help you start making use of what the language has to offer and writing good Kotlin code.

1. Singleton

Implementing lazy loaded and thread-safe singletons in Kotlin is really easy, unlike Java where you would have to rely on the complex double-checked locking pattern. And although Java enum singletons are thread-safe, they are not lazy loaded.

You must see this : Kotlin Parcelize – Developer need to know

  1. object Singleton {
  2. var s: String? = null
  3. }

Contrary to a Kotlinclass, an object can’t have any constructor, but initblocks can be used if some initialization code is required.

  1. Singleton.s = “test” // class is initialized at this point

The object will be instantiated and its init blocks will be executed lazily upon first access, in a thread-safe way.


Kotlin Parcelize Features you must know

You are going to delete lots of lines of code! Yes, it is not a clickbait!

Kotlin Parcelize - Developer need to know

How do you pass your model between activities?

  • Serializable?
  • EventBus / Otto ?
  • Parcelable?

Serializable = Reflection! Run Forest Run!!! It is terrible for Android performance.

Bus libraries like EventBus or Otto are easy to use and have good performance but after some time they cause too much complexity in your code.

Parcelable interface is great for Android performance but it has too much boilerplate.

Parcelize 😍

Kotlin added parcelable support in version 1.1.4.

Android Extensions plugin now includes an automatic Parcelable implementation generator. Declare the serialized properties in a primary constructor and add a @Parcelize annotation, and writeToParcel()/createFromParcel() methods will be created automatically.


First Firefox Extension with Kotlin Javascript

Kotlin, my favourite programming language, has seen a fast adoption on platforms like Android or Server where the code is compiled to Java bytecode. However, as Kotlin also supports compilation to Javascript, the language is starting to receive attention in the Web ecosystem as well. So today i am going to show you How to create Firefox Extension Using KotlinJS.

While some content on writing web applications in Kotlin has been published, the niche of writing browser extensions has seemed to be ignored until now. That’s why in this post we are going explore the process of writing a simple extension for Firefox using Kotlin JS.

You must see this : Top 20 Daily used Kotlin Code Snippet

How to Create Firefox Extension Using KotlinJS?

The extension is based on Your first extension by Mozilla and will simply add a red border to the website.


For testing our Firefox extension, we will use the web-ext tool from Mozilla. To obtain it you need to install node.js and then run the following command in a terminal:

  1. npm install –global web-ext

Apart from that, we will be using IntelliJ IDEA 2017.2.6 with the Kotlin plugin version 1.1.60 to develop the extension.

You must aware of it : Kotlin Problems and How to avoid them?

Setting up the project with KotlinJS

Creating a new project using the KotlinJS (JavaScript) variant

In Intelli IDEA, we create a new Gradle based project and check the Kotlin (JavaScript) option.

We proceed through the wizard until the empty project is created and opened.

As the next step, we will enable the Dead Code Elimination plugin for KotlinJS. This is necessary because a Kotlin JS program needs to bundle the Kotlin stdlib which is over a megabyte in size. However, we can reduce the size of our compiled code drastically by removing code that’s never getting called.

You must see : Bye bye Gradle and Maven !! Say hello Kotlin Kobalt

To enable the plugin, simply add the following line to the build.gradle file.

  1. apply plugin: ‘kotlin-dce-js’

Creating the extension manifest

In the next step, we add the manifest file which is required for a Firefox extension. This fileis called manifest.json and resided in the root directory of our project. The file should have the following content.


“manifest_version”: 2,

“name”: “Kotlin Borderify”,

“version”: “1.0”,

“description”: “Adds a red border to”,

“content_scripts”: [


“matches”: [



“js”: [







In this file we declare that our extension will inject a content script in any website matching the pattern *://* . The necessary script files are are the Kotlin stdlib kotlin.js as well as our code in the kt-borderify.js file.

Full article and Source :