Android Useful Methods and Functions

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 or if connected to power source etc. In this post, I am going to list some similar handy and useful methods which are needed most of the time in an Android application.

Continue reading Android Useful Methods and Functions

Lenovo – Enable VT-x in BIOS

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

Continue reading Lenovo – Enable VT-x in BIOS

Check Hardware Details of CPU using Small Utility

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

Continue reading Check Hardware Details of CPU using Small Utility

jQuery UI Datepicker AngularJS Directive using Min Max Options

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 believe me at present it will be a great option available which is fast, healthy and powerpack with huge options.

here I am going to share with you datepicker directive with basic options only like MinDate, MaxDate and default date, But as per requirement you can follow the same procedure to add more option in the directive.

Continue reading jQuery UI Datepicker AngularJS Directive using Min Max Options

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