-
Android Navigation Drawer Simple Example
Navigation Drawer helps developers for creating easy menus in an application. Lets start to see how it works. We will start by creating a new project with a navigation drawer activity. Adding Navigation Drawer Activity If you want to add […]
-
Simple DataBinding in Android Example.
This is a latest technique in Android where the UI is updated when the data bind to it changes, which is called databinding. DataBinding DataBinding has its own expression language for layout files. It corresponds to Java expressions and has […]
-
How to call Android function from JavaScript?
Check the Video below to see what we are going to do… If the web page you plan to load in your WebView use JavaScript, you must enable JavaScript for your WebView. Once JavaScript is enabled, you can also create […]
-
Android Material Design – Scroll and Collapsable App Bar
Material design has changed the way user interact with apps. Below is one such UI design which we all will love. We will create a collapsable AppBar which scrolls from center of the screen to the AppBar. Check out the […]
-
Loading webpages using JavaScript in Android WebView / Executing JavaScript functions from Android
I think everyone has checked my previous post on how to improve Android WebView performance. If not, check it here Improve Android WebView Perfomance Now we will see how we can load a webpage textfields with our custom values in […]
-
Understanding Shared Element Transition in Android.
Hi all, In Today’s tutorial we will see how we can do a shared element transition between activities in android. What we will do. We have two activities First activity has a TextView and two images. Second activity with two […]
-
Material Design Circular Reveal Animation Demo in Android.
Material Design has changed the way users interact with the apps. Reveal is a new animation introduced in Android L that animates the view’s clipping boundaries. Reveal animations provide users visual continuity when you show or hide a group of […]
-
Important Steps to improve WebView Performance in Android
A Quick note on WebView A View that displays web pages. This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine […]
-
Simple Activity Scale Transitions on Android
Below simple code explains how you can do a simple activity transitions in Android
-
How to enable Default Layout Animations in Android?
This Activity shows a simple layout animation. Here we add a new Button to the layout with “APPEARING” animation. You can have a variety of Default animations. Activity The layout. All Done. Please send your comments to coderzheaven@gmail.com.
-
Introduction to Android Canvas – Simple Example
The Canvas can be used to draw graphics in android. It provides methods to draw oval, rectangle, picture, text, line etc. The Paint class is used with canvas to draw objects. It holds the information of color and style. In […]
-
Typewriter Animation in Android TextView.
Here is a simple class to animate a textview just like a Typewriter. Typewriter Usage Please leave your valuable comments @coderzheaven@gmail.com
-
How to Solve No matching client found Error in Android Studio
No matching client found Error usually comes when you are using the FireBase SDK in your project. This is because you are missing the the ‘google-services.json’ file in your project. You may have added it, but in the wrong path. […]
-
Failed to resolve: com.google.firebase:firebase Errors in Android Studio
Firebase errors usually comes when you have an outdated SDK. So the simple solution is to update the SDK. Open the SDK manager and check for the “extras” branch. Now check the Google Play Services and Google Repository. Once the […]
-
Android studio : Gradle project sync failed error – How to Solve
This is the most common errors that we see in Android Studio and very often it is easy to fix. Just follow these simple steps File -> Invalidate caches / Restart Shutdown Android Studio Rename/remove .gradle folder in the user […]
-
How to create a simple repeating Job using JobScheduler in Android.
JobScheduler class is used to schedule Jobs in Android. JobScheduler was added recently in API 21, so below that it will not work. Here is a simple example… Schedule a job that runs every 5 seconds. We need to create […]
-
Error Handling in Swift
When calling a method that may cause a failure, you normally pass it with an NSError object (as a pointer). If there is an error, the object will be set with the corresponding error. You then check if the error […]
-
Google introduces ‘Reviews from the web’; will show it in search
Google has announced ‘Review from the web’ feature for businesses, which will show user-generated reviews, along with reviews by critics directly in the search results. According to a blog post, Google will be adding this “Reviews from the web” to […]
-
Create PDF in iOS
The UIKit framework provides a set of functions for generating PDF content using native drawing code. These functions let you create a graphics context that targets a PDF file or PDF data object. You can then create one or more […]
-
Custom TableView in iOS Swift
In this post we will see how we can create custom tableview cells in Swift. Let’s Start… Create a new project and name it the way you like. For creating Custom TableView we have to do below things 1. Drag […]
-
In-App Purchase in iOS
In-App purchase is a way of selling digital content from inside the apps. This helps the app developers to sell their apps for free and monetize the app in a clean and efficient way. In-App purchase has been a major […]