Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Upload Image and String to Server - Secret Key Not Match in Response Error

Hi can anyone help me with this. i have to pass secret key . the method which i did is correct? am getting secret key not match in response .i also attached postman screen shot please see this. private class uploadFileToServerTask extend...

Android IntentService Basics And Its Use in App Development

IntentService is one of the least difficult approaches to offload "pieces" of handling of the UI string of your application and into a remote work line. There's no compelling reason to dispatch an AsyncTask and oversee it every sing...

Native VS Cross-platform App Development: Which One Should You Opt For In 2019

Markets worldwide have evolved through mobile. Emergence in mobile usage brings a strong wave of app downloads and app usage in densely populated and developing markets like India and Indonesia. This brings about a positive change for both, the c...

A Comparison of Compilation Speed of Kotlin Vs JAVA

Java has become the reference language when it comes to programming applications for Android, but serious rivals have arisen, from C++ to Scala. One of those competitors is Kotlin, a language that was conceived and started to be developed in 2011...

The Truth of Migrating to AndroidX (Android Jetpack) Guide to Developer

  This year, Google announced at its developer event Google I/O the creation of a new set of libraries, tools and architectural guidance for Android: AndroidX, better known as Android Jetpack. But what is Android Jetpack? It is a seri...

How to use MVVM Architecture with rxjava and retrofit in Kotlin

MVVM stands for model view view-model pattern which helps to separate development of graphic user interface and remove lots of bboilerplatecodes. So in this blog we will help you to use MVVM architecture with rxjava and retrofit in Kotlin or...

Draggable GridLayout | Android

In draggable gridlayout cells of the GridLayout(consist rows and columns) can be draged from one position to another by using OnDragListener.     To use GridLayout, first add gridlayout to project gradle (app level) and fol...

How to Show Badge Count on App Icon in Android App's Launcher

As a badge count there is no standard way of doing this. However, one of the ways to do it in a simple way is by adding badge num on your application icon in launcher. It is handled by using a broadcast receiver. All the handset doesn't provi...

Extract YOUTUBE Video URL and Play Using Exoplayer

Exoplayer is an open source application level media player for Android. For playing audio/video both locally and through internet this media player is very good and alternative source for Android's Media Player API along with features like Dy...

Expandable RecyclerView with Animation in Android

Expandable RecyclerView contains two views one is parent view and other is child view. Parent is visible by default but the child view has to be expanded and collapsed. It will expand when we click on parent view. Let's see the Implementat...

Autosizing TextViews | Android Tutorial

Android 8.0 (API level 26) included a feature which allows you to instruct a TextView to let the text size dynamically expand or contract automatically to fill its layout based on the TextViews characteristics and boundaries. This setting makes i...

How to Integrate Firebase User Authentication in Android App 11 Easy Steps

Firebase is a google's mobile platform that helps us to develop high-quality apps in minimum effort. Firebase provides Authentication library to authenticate users, you don't need to save user data on your local server because firebase sa...

How to Integrate an Open Street Map in Android Application

In this blog we will learn to use open street map (OSM), adding marker and get device location. OpenStreetMap (OSM) is absolutely editable Wikipedia like world map which is also free. Through openstreetmap you can easily download maps for the ...

Google Safe Browsing Using Api or SafetyNet

We very well knew about WebView to provide browsing functionality in our app so that user don't need to leave our app but do you know that some websites show lots of dialog boxes or popups, navigation, and these links, clicks or popups can ha...

How to Implement Callback in Android to Communicate Between Classes & Fragments

Callback is a way to inform a class synchronous/ asynchronous when an event occurs. A simple way to create a generic callback is to use interface with a method in which JSON is passed.     So, In this tutorial, I will guide...

How to Detect Network Connectivity Using Observer in Android Device

If you want to check whether your device connected to Internet or not OR when it turn on/off then adding the observer is the best way. You have to add the observer in activity to check connection is on or off.     Let's...

Best Practices When Using Slider Controls in Android App Development

Sliders in mobile apps are a convenient and an intuitive navigation tool that helps users make quick selections or change the mobile interface by a quick gesture in a dynamically pleasant way. Manipulating the mobile phone environment by sliding ...

Get Folder Names Inside External Storage Having mp3 Files in Android - How to Guide

To print all the Folder names inside your external storage that contains mp3 files, first we need permission to read and Write external Storage on your android device.     So, in this tutorial, I will be coding for the meth...

How to Show Dialogue Box at Clicked Place Without Dull Background in Android

To attain such Dialogue box please go through the steps mentioned below:- 1) Declare a button/ImageView in your Activity xml file, you can place this button on top right corner or left corner or in center wherever you wish you can place it. He...

How to Enable Facebook Analytic in Android Application?

With around 1.7 billion users and which are growing day by day, Facebook has now come a very important medium to promote your app and website world wide.     Facebook along with social sharing provides many other tools...

How to Download Image Through URL & Save to Particular Directory in Android?

If you are looking for the code to download the image through the image's url then you are reading the best and simplest blog for the same. For image downloading I'm using DownloadManager, with the help of DownloadManager I will reques...

What are New Android Architecture Components and How to Use Them?

We know the old android architecture components like Linux kernel, native libraries, android runtime, application framework, and applications.   Google has launched 14 different versions of android OS but one thing to notice is tha...

How to Implement Room Database in Android using RxJava2?

The Room is basically an easier implementation of SQLite database and a part of Android Architecture components. We know that SQLite uses SQLite open helper class to manage SQLite database but Room provides migration by removing this implement...

How to Schedule Tasks in Android Using JobScheduler API

Job Scheduling Api If your app used long repetitive task, you must be using activities and mostly the services and timer tasks but sometimes system stops the services and activities to free up memory and space.     Andro...

How to Implement ReactiveX Programming Using Android Retrofit 2

Synchronous means to process something serially but in the Asynchronous way you can process data simultaneously you don't need to wait for the first process to be completed. In Android app we basically hit API to fetch lots of data from th...

How to speed up the Android emulator

If you are unhappy with the performance of Android emulator, this blog will help you. Although Android's emulator execution is very slow and painful to work with, especially when using it into the debug mode, it can be sped up easily. The mai...

How to Get Screen Dimensions in Pixels for Android Device in the Main Activity

If you want to get the dimensions in pixel of your device then add the following code snippet in your Activity where you wish to get the width and height pixel of your android device and make use of it wherever you wish to, in this tutorial I'...

What is a Context Class in Android Programming?

Context Class,  android.context.Context is an most important class in android SDK which has ancestors of classes like Activity,Service,BackupAgent and Application.   Image Source: Stackoverflow.com Context class is an abstr...

Big View Notification - How to Apply Expanded Layout to Android Notification

There are two types of visual style which appear on the Notification, normal view and big view. So, here in this tutorial, we will see how to Apply Expanded Layout to Android Notification. Regarding Nig View Notification, you should aware tha...

How to Enable GMail Login Feature Within Android Application in 4 Easy Steps

You must have seen many applications and websites provides option to login/signup using Gmail, Facebook, twitter etc. And In my previous tutorial, I had explained Integrate Twitter Login for Your Android App in same way you can also enable Gmail ...

How to Integrate Twitter Login for Your Android App in 6 Easy Steps

Nowadays you must have seen while longing in many apps provides the login option directly using Facebook, Twitter, Linkedin and Google account, this process saves the time of filling a long registration form and also makes the user to login easil...

Implement Fast Scrolling RecyclerView in Android App

RecyclerView has a many good features which took it over listview but the one feature that was missing in RecyclerView is Fast Scrolling. So, now with Support library 26, we can also use fast scrolling with recyclerview like listview. &nb...

How to Track Users Speed Using location.getSpeed() GPS Method in Android

In this tutorial, we will get to know that how we can get our speed using GPS in android, we get the speed in onLocationChanged(Location location) method that is our @overrided method whose parameter that is Location here helps us to give speed i...

FaceBook Integration in Android Application - 8 Steps Process

Facebook integration helps the user to login to your app with his/her Facebook account.     If you are looking for the procedure to integrate Facebook in your android then do follow the steps mentioned below:-   ...

How to Implement RecyclerView Using DataBinding in Android Application

DataBinding is the process to establish a connection between UI elements and the Activity class. This will synchronize your user interface with your application model and logic. DataBinding will also minimize your code and utilize your layout fil...

How to Get List of Paired Bluetooth Devices in Android & Basic Methods

Bluetooth paired list will have list of devices which are already paired previously. Paired devices are the trusted connection established between two Bluetooth devices by "Passkey". Before calling this method please make sure that you ...

How to Save and Get Same Hash Map Using Shared Preference in Android

Hash Map is a type of Array list containing special key for every element within it, while Shared Preference is being used to save data like String, Boolean, Integer and other primitive data type.     So, in this tutor...

An Overview of Google Map Utility Library in Android

Google map utility library is free and open source library of classes which provides advance features on google map like customization, clustering, importing geoJson to map, importing KML to map and encoding /decoding polylines.   ...

How to Implement Camera 2 API & Use its Method in Android App

Camera 2 is advance API as Camera got deprecated. The interface is provided by the package named an android.hardware.camera2 to those individual camera devices which are connected to an android device.  This android.hardware.camera2 packa...

How to Implement DataBinding in Android App Using 3 Easy Steps

Databinding is an architecture that consist 4 major parts first is: source object that supplies the information to viewed pages, Second is: data consumer that displays the information, third is: agent that ensures that data is synchronised betwee...

Switching between Activities along with data using Kotlin

The important announcement by Google in 2017 for Android Developers is that kotlin is now an official language for Android App Development. For more on introduction and basic you can visit previous blog "Getting Started with Kotlin for Andro...

Android O Released with Top 7 New Features for App Developers

Android was founded by Andy Rubin, Rich Miner, Nick Sears and Chris White in October 2003, and later in the year 2005, its is acquired by Google. As Android is nowadays very popular mobile operating system and it is continuously evolving accordin...

RuntimePermissions Android

ANDROID RUNTIME PERMISSIONS   Today I am going to show you a simple and easy method for handling runtime permissions. But before that let's understand what runtime permission is and why it is required?     Pe...

Samsung Proclaimed the Extreme Level of Mobile Technology - Next is Now

  Few days back it has been a blast in android news. Samsung proclaimed the Galaxy S8 and Galaxy S8 Plus mobile phones, in the wake of seeing it discharged ordinarily before the revelation. Samsung evidently checked most of the cases ...

3 Steps Guide to Customize Alert Dialog with Dynamic Buttons

In this android tutorial blog, we are going to discuss customizing Alert Dialog with Dynamic Buttons.  Before we start the tutorial and the coding, it is first immensely important to comprehend what is android dialog. Android dialog is ident...

Use of Context in Android Application

Context is the current state of any object/application that represents several environment data. Context assist the present activity to communicate with the outer environments like the databases, class loaders, files to the environment. It is the...

Android RecyclerView Items Animation Using Custom Adapter With Example

RecyclerView was introduced as an upgraded version to List view. The RecyclerView is much flexible, more efficient and more advance. With the help of RecyclerView, you can show larger data collections whose data may change at run time. RecyclerVi...

HOW TO CREATE TAB LAYOUT USING TABHOST WITH TABWIDGET AND FRAMELAYOUT

In this blog I will guide you to “Create Tab Layout in Android using TABHOST with TABWIDGET and  Framelayout”.  This will be done by adding android tabs to your app using XML tabhost tabwidget.     ...

Sending complex data with image using Retrofit

Let us suppose you have to create post request params in below mentioned format: Here I have to send a user object which include the picture parameter ,to achieve  this you have to create HashMap which include RequestBody as paramete...

VideoView in Android - Video Tutorial

Hello everyone, In this Android Video Tutorial you will get to know about VideoView in Android. For your reference I am attaching file with this blog. For any query feel free to ask in comment section.
prev 1 3 14
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: