
Search In
GCM(Google Cloud Messaging) registration token is a kind of id given by the GCM connection server to user/client that allow user to receive messages. To get registration token first we have to generate a unique number, it can be created while configu
In this blog we will learn to create a simple shopping cart application using cakephp. This application is very basic and simple you can download the zip file attached at the end of the blog and customize it as per your requirements. In this example
The order-by in hbm.xml is not resulting the sort in UI(jsf), where as the hibernate query is printing in console is working correct
I am not able to get the sorted table from the data base,where as the hbm.xml changes are reflecting only to
We can manage email sending by .py (python) code.
To send an email in OpenERP using python code you can use the below code.
import base64
import logging
from openerp import netsvc
from openerp.osv import osv, fields
from openerp.osv import fields
Structure is basically a user defined datatype which is a collection of heterogeneous elements.
Each element of a structure is called a member.
It works like a template in C++ and class in Java.
It is used to store student information, employee
Hello Reader's! if you are new to wordpress development and need to add more custom fields in category, Then you can learn it from the code below:-
Step:1-
Open the file functinon.php and add the following code in it.
add_action( 'category_edit_for
Here we will learn how we can sort two dimensional array:-
lets take an example :-
<?php
$activities = array (
'1' => array(
'id' => 1,
'time' => "2015-10-22 14:20:00"
),
'2' => array(
'id' =>
In MySQL, the PRIMARY KEY constraint is used to uniquely identify each record in a table.
Primary key contains UNIQUE values only and the column defined as Primary key column can not be NULL. A table can have only one PRIMARY KEY.
PRIMARY KEY Const
In the below example I have created Circular Reveal Animation like chat app(Whatsapp). First I have created activity_main.xml layout, here I have added FrameLayout, all layout and attributes like LinearLayout, ImageButton, TextView, View are
In Magento, if we are required to check the items of Bundle product for some purpose, then we can do it by following way:
For the same purpose lets check the below code:
< ?php
Â
   $product = new Mage_Catalog_Model_Product();     Â
   $pr
