Angular’s best feature is component. We can divide different modules into a number of components. Where each component having its own responsibility to perform. But, sometimes these components may need to communicate with each other and share data having each other’s dependencies. In this post, we will discuss a simple example app which will share
JSON response received on the client side is generally in alphabetical order. This happens when we don’t add any sort order on our server-side API layers. In one of my project, there was a situation in which I wanted to add columns in Excel file from JSON response, as JSON attributes( In my case colum
Viewing formatted data on HTML webpage is a good idea until the user wants to do some quick changes in tabular data like sorting, filtering. So it is better to take it in your own hands instead of making server calls. Today we will convert JSON response data into the Excel file. Excel file will
So after updating the version of firebase-messaging in the build.gradle file from v17.0.0 to v17.1.0, strange things started happening… there was a line of horror in service I used to use for messaging in my application. After some research, I landed on this page. Let’s quickly go to updates which we need to do to
A complex application built using AngularJS takes a lot of time to load due to a large number of view controllers and other modules. As AngularJS acts as a web application we need to load all resources on page load. But we can adopt a new approach to load only required resources like controllers which
This is a really quick tutorial to add Google reCAPTCHA in a PHP form. reCAPTCHA is used to prevent spam or autonomous illegal activities on your website, which can result in overuse of the bandwidth of your server fill your databases with junk data. Here we will discuss v2 of Google reCAPTCHA.
In this post we’ll discuss on How to Create a Checkbox List having parents and child structure, using a single data object. The list checkboxes will have a child group and a parent checkbox each. Checking / Unchecking the parent will select/ unselect child list items. We’ll also implement expand collapse functionality on our list
In this tutorial, we’ll learn how to convert HTML DOM content on the web page into a JPEG or PNG image. We;ll use html2canvas library to convert the HTML web page into a canvas then convert that canvas into an Image which can be a JPEG or PNG image. The html2canvas is a powerful library
Android SQLite provides a mean for an application developer to save data locally in device memory in a structured form, which makes it very easy to read, update or delete information saved in multiple formats. Android SQLite is the best way to save data locally in the device itself. SQLite acts as a local database for
UPDATE: See Complete Application Example Here Here we will delete SQLite database rows, which we inserted in previous post . For SQLite integration see this post if you are at the beginning of using the database in your application. So as we already have application using which we can insert rows in the database.
UPDATE: See Complete Application Example Here Previous Part 1: Android SQLite: Integration. Part 2: Insert Rows in SQLite Android App In the previous post we worked on the integration of SQLite then we created Database and Table. Now we will Create a new Activity to insert a new row in Database.
UPDATE: See Complete Application Example Here Part 1: Android SQLite: Integration. Next Part 2: How to Insert New Row in SQLite Database Android SQLite is the best way to save data locally in the device itself. SQLite acts as a local database for applications saving data in tradition columns rows architecture. It is suited where
Here is a simple method to add a back arrow to other Activity to come back to MainActivity. To enter a new activity we create an Intent then start a new Activity using that intent instance using the startActivity method. After we enter the new activity we add a listener on action bar instance to finish
Whenever a user sees a date or time, he/she start doing comparisons between current time and given time. So it takes some more brain resources to do time difference calculations. Facebook knows about this lazy human behavior, that’s why it always shows date time in the following format less than a minute ago 17 minutes
Following method is to change the version number of application in Android Studio V 3.1 using settings. There are two methods we can follow, let’s have a look at both:
A fully featured Android application has a lot of functionality going on to provide a user-friendly interface to the user. For example, we can Indicate if the device is still connected to a network of if connected is it Wifi or mobile network, check GPS status on the device, battery status like a battery percentage
Most probably you may have encountered VT-x disabled issue during Android Emulator Installation. VT-x is Virtualization Technology which allows PC platforms to run multiple applications and operating systems simultaneously blah blah… This procedure is for Lenovo for other It may be a similar process. Let’s enable it
Going to share a very helpful PC application to check your hardware configuration deeply. Without opening your CPU as I did :/ .I wanted to know DDR version of RAM installed. Download this free and small utility to check basic to advanced hardware details like
In an Angularjs project, if you are trying to add a datepicker having all features like MinDate MaxDate etc, you will hardly find any module which is performance efficient, bug-free and is requirement friendly like jQuery UI datepicker. So, If you are looking to use jQuery Datepicker as a directive in your AngularJS project, then