RESOLVED! Shared Preference Context Error

During 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 go deep into context understanding or preferences documentations. We will only discuss the best approach to use Shared Preference in application from anywhere inside your app. Using this method you can SET or GET preference literally from anywhere

– Mainactivity
– Non-Mainactivity
– Services
– Broadcasts

Continue reading RESOLVED! Shared Preference Context Error

Android | How to Add New Images in Android Studio Project 3.2

Here I will show you how to Very Quickly Add new Images in Android Studio Project, my current version of Android Studio is 3.2 Continue reading Android | How to Add New Images in Android Studio Project 3.2

Angular 7/6 | Implement Simple Image Carousel/ Slider in Angular 2 Plus Versions

Image Carousels provides a good front-end user experience to show graphics or images in a small space in an interactive way.

But in Angular Application we hardly find great carousels/ image sliders to work with. In this tutorial, we will implement a Great Simple and Easy to Use Angular Image Carousel.

Continue reading Angular 7/6 | Implement Simple Image Carousel/ Slider in Angular 2 Plus Versions

Angular 7/6 | Not Reflecting Change in Variable and Model Value Passed in Component Method as Parameter/ Argument Resolved!

In an Angular application in some situations, we need to make changes in local variables which are getting used and defined as global. These variable or Model values does not reflect any change if we pass them as argument or parameter in a component method, then change in that parameter value does not reflect globally in view.

Continue reading Angular 7/6 | Not Reflecting Change in Variable and Model Value Passed in Component Method as Parameter/ Argument Resolved!

Get Backup of Stored Procedures in Namecheap MySQL Database

Namecheap MySQL doesn’t allow to see or edit stored procedures if they are written using some tool like Workbench. So In case you want to take backup or edit SP’s, you will only have one choice bang your head with customer care and give them technical knowledge about ‘What is stored procedure’ after spending 1 Hour they will understand after sharing screenshots to end with database backup.

Continue reading Get Backup of Stored Procedures in Namecheap MySQL Database

Make Quick HTTP Calls from Android Using Volley

In general practice an Android developer use “HttpURLConnection” to use web services and do ant data communication over the internet. Its bit confusing as it gives an error to handle threads and Async tasks. So it makes the process too long cumbersome.

For quickly using data communication I prefer Volley library of android. Let’s learn more about it.

Continue reading Make Quick HTTP Calls from Android Using Volley

Angular 7/6 + Typescript: Create Filter List with Check-boxes to Select from List

Compatible with Angular versions 2 to 7

Hi Guys, here we will create a list of items with a filter using Angular 5 and Typescript. For filtering list data we will use Pipes.

Features:

  1. Filter from the list using input search form field.
  2. Use the checkbox to select a game from the populated list.
  3. Selected game tags will be added below the list items.
  4. Clear cross icon on search input to clear search term.
  5. “Clear Selection” to clear all selections by the user.
  6. An individual tag can be deleted using the cross icon on respective tags.

Continue reading Angular 7/6 + Typescript: Create Filter List with Check-boxes to Select from List

How to Create Production Release in Ionic 2/3

After finishing my app development and testing phase, I tried to find some good documentation for generating production release of my build APK. When I searched on Google, the first link which landed me on Ionic docs explaining to create production release in Ionic 1. As ionic 2/3 is based on Angular 4 latest component-based technology having a powerful feature called AOT (Ahead of Time). AOT in simple terms reduced the code to level where we have only that much code which is required for our application.

Continue reading How to Create Production Release in Ionic 2/3