
Search In
In the below example code I have clearly described how to insert,Select and delete all table row from the database. Here, first I have extended SQLiteOpenHelper class After this I have used onCreate method to create a database table. In next step, in
function.php - brain of WordPress theme
functions.php or the theme functions file is a file used by WordPress themes. It acts like a plugin and gets automatically loaded in both admin and front-end UI pages of a WordPress site. This file is used to
If you are looking to change the image or color of the widget when it is clicked or focused, Here is the code snippet that explains it:-
Step 1:- set the widget in an XML file for which you want to applying selector:-
<ImageView
android:
In some cases we need to add or remove an attribute to an element and we have only his parent ID then we can get the child element by using parent ID. For example I have a UL element which have many <li> and each <li> has an anchor tag.
Testing In Rails: Unit Testing In Models
Hi friends,
In my previous blog, Testing In Rails: Introduction and Creating Test Data, I had given you a brief introduction of rails test cases and why they are required. Also I guided you how we can create
How to open flashLight of android phone programmatically
declare these variables in the activity
private boolean isLighOn = false; // to check tht flash is on or off
boolean flashAvailable=false;
int cameraID=0 /*cameraId with 0 represents bac
Using below code you can create a android DrawerLayout, a FrameLayout and Linearlayout. The Linerlayout is divided in three linerlayout for using image and text. In this Navigation Drawer when I will click navigation menu the navigation menu will
Hi Reader's,
Welcome to FindNerd,today we are going to discuss how to use joins with CakePhp in 2.x version?
Join is a very important feature for retrieving data from database with multiple tables. In a web application when
While creating list on a recycler view we need more functionality like delete, copy and more. Like our popular apps what's app, gmail and hike we found toolbar in action mode if we long press list items on that, same UI with functionality we will
Job Scheduling Api
If your app used long repetitive task, you must be using activities and mostly the services and timer tasks but sometimes system stops the services and activities to free up memory and space.
Android system curr
