Let’s Code Better
-
[Resolved] When I faced “#1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’” Error
Read more: [Resolved] When I faced “#1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’” ErrorDataflows in many forms. Someday I was about to transfer MySQL data from one of my servers to my local PC having PHPMyAdmin. On my server PC, I was having WorkBench. A WorkBench is a free tool to manage MySQL queries acts like a relational database management tool. I took a dump of a database…
-
Resolved! Disable Alphabetical Sorting of JSON Attributes in Response from C sharp Service
Read more: Resolved! Disable Alphabetical Sorting of JSON Attributes in Response from C sharp ServiceJSON 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…
-
Create and Download XLS Excel From JSON Response Data in Webpage Using Javascript
Read more: Create and Download XLS Excel From JSON Response Data in Webpage Using JavascriptViewing 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…
-
Resolved! FirebaseInstanceIdService is deprecated
Read more: Resolved! FirebaseInstanceIdService is deprecatedSo 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…
-
Lazy / Partial Load Modules and Controllers in AngularJS Example
Read more: Lazy / Partial Load Modules and Controllers in AngularJS ExampleA 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…
-
How to Add Google reCAPTCHA in PHP form
Read more: How to Add Google reCAPTCHA in PHP formThis 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.
-
Namecheap Hosting Not Reflecting Latest Javascript Files Code on Upload
Read more: Namecheap Hosting Not Reflecting Latest Javascript Files Code on UploadI am in India and using Namecheap hosting from last 5 years. But from past 2 years, I was facing a strange issue with uploading javascript file on the server. JS file was not reflecting on the server and was not same as uploaded. I talked to Namecheap support about 5 times but they said we…
-
Convert HTML Document into Image JPG PNG from Canvas
Read more: Convert HTML Document into Image JPG PNG from CanvasIn 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 Example Application Insert Update Delete Truncate Operations
Read more: Android SQLite Example Application Insert Update Delete Truncate OperationsAndroid 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…
-
Android SQLite Insert Rows in Database
Read more: Android SQLite Insert Rows in DatabaseUPDATE: 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.
-
Android SQLite Integration
Read more: Android SQLite IntegrationUPDATE: 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…
-
Change Version Number of App in Android Studio v 3.1
Read more: Change Version Number of App in Android Studio v 3.1Following 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:
-
Android Useful Methods and Functions
Read more: Android Useful Methods and FunctionsA 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…
-
Lenovo – Enable VT-x in BIOS
Read more: Lenovo – Enable VT-x in BIOSMost 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
-
RESOLVED! Shared Preference Context Error
Read more: RESOLVED! Shared Preference Context ErrorDuring android development, especially for a beginner like me the creepiest thing which I felt was Handling Contexts. Shared preferences is really a cool thing if we want to save some handy information by the user on a device even if an app is killed. BUT context exceptions are everywhere. So here we will not…