
Search In
The error is any mistake that we make while writing a program which hampers the proper functioning of the program. While creating and running any application we encounter different types of errors. An error produces undesired output or other behavio
Below is the code to read a text file from SD card.
First, we have to define path of the text file to a File.
Second step is to use BufferedReader class to read line by line.
File sdcard = Environment.getExternalStorageDirectory();
File readFile
Android has Lint for checking errors in Java and XML code. Lint release with every new SDK.
But Lint is not find most type of bugs,exceptions and performance issue.
I found one plugin for static analysis tools to analysis android Java code.
It
INTRODUCTION:
The automatic conversion made by the Java compiler between primitive types and their corresponding object wrapper classes, is known as Autoboxing
It allows us to use primitive and object type interchangeably in Java on many places li
Hi Readers,
Many times we need to play music even app is in background. It is normal behavior of AVAudioPlayer to play sound when app is in foreground or active state. But to play sound, music or song even in background state can be achieved by foll
Usability testing is a Black box testing technique and is reveals whether users feel convenient to use the application or Web site according to different parameters:
The Flow
Navigation
Layout
Speed
Content
Scenarios for Usability Tes
This is a login.php.
The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email.
It is written in mysqli procedural. I have not l
Validating an empty field on submit through JavaScript
As we know in almost all the web applications we have forms which contain text boxes and text fields to input some data and submit it. Sometimes knowingly or unknowingly users can submit the for
In JavaScript try/catch/finally are called exception handling statements. In JavaScript try/catch/finally statement manage some or all of the errors that might occur in a block of code. Try/catch/finally in JavaScript lets you deal with exceptions gr
This library is used to create pdf from html.
Steps to install:
#Install wkhtmltopdf library in ruby by using below command:
apt-get install wkhtmltopdf
#Use below command to find the path. This path need to add in in pdfkit.rb[in initializers f
