Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to Add Dialog box in RecyclerView

In The below example I have created a recyclerview app, in this app I have used CardView. First I have added I have added first RecyclerView , CardView and design support  library in  build.gradle file .Now I have created RecyclerView a...

Drop Down Box with Search Option using jquery

Hello All, In this blog i am going to show you how you can add search option in Drop down box.it is very helpful when u have large amount of list in drop down box. INDEX.PHP This file contain list of states <html> <head&g...

what is actually module and mixin is?

Modules are similar to classes basically every class object is ancestrally a module object.When you create a class you can create instance of that class through which you can execute class's method but this is not possible in modules as it do...

Pagination using Hibernate Criteria

Hi friends ! I am writing this blog to guide you about pagination. Examples are written for MySQL and Hibernate framework to bring the data. This is not a limitation and you can use your own database and framework if you wish. The concept is almo...

Create stored functions in MYSQl

Hello Reader's ! In this blog you will learn how to create store functions using CREATE FUNCTION statement in Mysql. In Mysql we can create user user defined functions that returns a valid value. To process and manipulate data Mysql Stored...

Fatal error: Call to a member function get() on a non-object in codelgniter

Hello Friends, If you are facing the issue "Fatal error: Call to a member function get() on a non-object...." in Codelgniter. Please make the below changes to solve this issue. Please open "codelgniter/application/config/auto...

Catching while showing images using ParseFile through parse.com

The problem that I encountered when showing images in ListView from Parse.com is catching because we get ParseFile from cloud.   So I first change ParseFile to byte[] and then use Glide library that allow byte[] also to load image. Gl...

Credibility/Validity

There have been numerous studies on credibility in life and especially in administration/management. It appeared like an interesting subject to read and think about. I am not going into a tremendous criticism simply making a few observations. ...

How to add floating action button with RecyclerView xml layout

In the below xml layout first I have created Framelayout then I have added RecyclerView and FloatingActionButton within Framelayout. You can see below program it will clearly describe you to add floating action button with RecyclerView xml layout...

How to set default Controller in Codelgniter

Hello Friends, If you are looking to set any controller as a default controller in your project like when open any website generally Index controller call automatically. For example you want to run "Project Controller" instead of &qu...

Customize one2many relational field in Odoo

If you want to customize one2many relational filed in Odoo. Then you have to go in .py file of that module then go to .xml file. For example see below code. In xml you would have wrote code like this :   <field name="test" widg...

Count down timer that shows in HH:MM:SS format

If we need to show countdown till in some point of time in future then CountDown timer is the best solution CountDown Timer sets countdown till in some point of time in the future, with regular interval. CountDownTimer is the class that han...

Create multiple work-flows in a single module in Odoo.

If you want to create multiple work-flows in single module in Odoo for that you have to follow below code- <!-- Activity --> <record id="act_draft" model="workflow.activity"> <field name="wkf_id" ref="De...

Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

After starting solr if you get the following error, that means you need to make some changes in solrconfig.xml(of the core in which error occurred).   Open the xml and correct the path for solr-dataimporthandler-.*\.jar as <l...

How to Upload multiple images jQuery Ajax using PHP

Hello Reader's!Sometime you need to Upload multiple image in directory ,so in this blog I have wrote and explain jquery and PHP to upload multiple images at once. You can use this as a reference for your web projects, specially focused on new...

How to convert SOAP response to PHP Array?

Converting SOAP response to Array in php.   Dealing with a SOAP client response for a flight booking application or any other, This is how we get response from SOAP below: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/so...

Expandable ListView

Hi  kindly help me to fix my issue. i am using expandable listview to display data from SQLite Database. in my database title,contents and favorite columns and some other columns. how I can display data to expandable listview kin...

PHP Objects

I am looking for a good approach to this problem. I wish to build a PHP/MySQL app that maintains configurations in MySQL.  Specifically, there will be projects that each contain a different web screen that includes a backgr...

Important Factors, Required to Remember for Promotional Things/Items

Are you searching for the best marketing/promoting techniques? Would you like to ensure that the buyers/consumers will always remember your organization? Then, the promotional items can be the best option/choice. They are too successful in creati...

How to increase comment karma on Reddit

Hi Guys, I am using twitter, Facebook, LinkedIn and Google+ for a while but new to Reddit- Front page of the internet. My profile link is Reddit Profile Some how I am able to increase my Link Karma but my comment is Negative now. Any one ...

java.util.Random Class

java.util.Random Class: java.util.Random class is used to generate random numbers. As we know random numbers are very useful especially in game development. In java we can generate random numbers in two ways either using java.lang.Math.random(...

Error: javax.servlet.jsp.PageContext cannot be resolved to a type

Running a Maven web project in eclipse was giving errors on jsp pages: javax.servlet.jsp.PageContext cannot be resolved to a type javax.servlet.jsp.JspException cannot be resolved to a type The server was running fine, even the project w...

How to use ArrayAdapter class in android

In the below example, first I have created ArrayAdapter class and then extend ListActivity. In next line I have store ListItems in String then I have setListAdapter. ”ArrayAdapter class can handle a list item as input, By using this class w...

Update Password

HI Can someone please take a look at my update password file? It won't report any errors and won't make change on database. The file connects with database but falls over somewhere.   Thanks

SEO Interview Question and Answers: Part 1

Hello Friends, In this tutorial I am providing you some important SEO interview question that you must prepare before you kickoff your interview.     1. What is SEO? This is very basic question some interview might ask w...

How to create Swipeable View in android

 In the below example I have created View Pager (View pager slider). Here I have added ViewPager in activity_main.xml layout, after that I have created slide_page xml layout, in that I have added a textview and in next step I have created fo...

jQuey scrollTop()

this method is used to set the position of vertical scroll bar for a particular element. 0 Position of scrollbar means it is at the Top. In a web page, when ever we want to adjust the scrollbar according to its content, we make use of this ...

How to Share filter created by user in OpenERP?

In OpenERP first we create users and configure users access rights, then user will create a new filter, use filter group and also add a new ir.rule entry for model_id and domain on the target group_id. If restrict is True then instead of adding a...

On-page SEO Optimization Checklist

What is On-page Optimization?   On page optimization is an SEO technique that plays a very important role and have vital effect on your website listing on search result page, it refers to all steps and the factors considered within...

jQuery html() Method

The html() method is used to return the content  of a particular  elements and it returns the content of first matched element. It overwrites the content of matched elements.   <!DOCTYPE html> <ht...

Infinity in Python

There can be positive infinity and negative infinity in python represented by Inf and -Inf. Positive infinity which is greatest of all numbers and negative infinity is least of all numbers. Program to demonstrate infinity: # Positive Infi...

What does $(div[id^='box']) in jQuery mean?

$(“div[id^='box']”) The above expression mean selecting all div elements whose id attribute start with box like box1, box2 etc. Program to demonstrate above expression: <html lang="en"> <head> <...

What is Keyword Prominence?

Prominence means the state of being important, hence Keyword Prominence refers to how prominent your keywords are within key elements of your web page, importantly how close your keyword or keyword phrase is placed to your title tag, and header t...

How to use conditions in query builder with Symfony2

Hello Friends, If you are looking to use conditions in mysql query with query builder in Symfony2. Please review the below code and make the changes accordingly: $qb = $this->getConn()->createQueryBuilder(); $qb->select("SUM( ...

Portlet Define Objects tag in jsp

We use Portlet Define Objects <Portlet:DefineObjects> tag in our JSP code, while developing a portlet in Liferay. We generally use this tag to inherit the predefined objects in our JSP. By doing this, we get escape to write the entire code ...

How to use mysql join in Symfony2

Hello Friends, If your are looking to use join with query builder in Symfony2. Please review the code as below and make the changes accordingly: $qb = $this->getConn()->createQueryBuilder(); $qb->select('ts.model_id, ...

How to use update query in Symfony2

Hello Friends, If you are looking to use update query with query builder in Symfony2. Please review the below example and make the adjustment accordingly. $sql = "update tbl_paymentmethod set pm_address = :address, pm_status = :status, up...

how to add access rights and group_id in object models in OpenERP

In OpenERP to add access rights and group_id in object models first we have to create users and users have many type of access rights and those access rights were provided by admin. object models reference in fields_relations intersects with acce...

Can someone explain the algorithm of this java program?

I found it in the net and I want to know the explanation of it's algorithm. I'm having a hard time to understand this. thank you so much :) import java.util.Scanner; class BinarySearch { public static void main(String args[]) { ...

How to add checkbox in products list to add to cart all checked products

In Magento e-commerce website we usually add products to cart through add to cart button, but if we are required to add many products to cart by selecting them with the checkbox. Then we can do this as, Add checkbox input tag...

Encryption functions in PHP

If you are developing a website then you must have a login sign-up page that stores the users information in the database then it is responsibility of the person to make the database more secure i.e. the password must be secured so that nobody ca...

How to create RippleDrawable button in android

 In the below example I have created Ripple Drawable clickable button. Here first I have created RelativeLayout In Relative layout I have added a Button, after then I have created two xml layout in drawable folder first is one.xml layout in ...

Simultaneous Microphone Access in iPhone

  Dear Members, Is it possible for two apps to simultaneously access microphone under iPhone. We want to develop a Skype recorder for iPhone but need to determine the possibility. In Android we were getting problem in shared ac...

Keep the Screen On

There are certain situations when we need to turn screen ON such as live map games, routing, movie, tv apps. Basically, to avoid battery draining android device fall asleep after some time, but to accomplish this task we have to keep screen ON...

Customize Magento Toolbar For List Page

Customize Magento Toolbar For List Page: Hello readers, Some times you need to show the toolbar as per client requirement ,But magento (default & rwd theme) show same tool bar at the top and bottom of listing page (List & Grid). You can C...

To Show Drop-Down Attribute Value on Product View Page

If you want to show a drop-down attribute value on product view page & product listing page in Magneto then follow below code. Suppose, your attribute code is “color” go to current theme/template/catalog/product/view.phtml ...

PHP Explode() Vs Split() Function

Hello Readers, In this blog, I am going to tell a small difference between Explode & Split function in PHP. Both the function do the same thing i.e split a string into array.   But there is a minor difference that explode takes ...

How to use select query in Symfony2

Hello Friends, If you looking to use "Select" query with query builder in Symfony2. Please review the below example and make the changes accordingly. $qb = $this->getConn()->createQueryBuilder(); $qb->select('*')->f...

Enable remember me functionality in Magento

Hello Readers, If you are a newbie in magento, then you should know How to enable remember me functionality in Magento, since by default “Remember me” functionality is not enabled in magento. To enable it, login to admin panel then...

How to Add Title, Subtitle and Image in RecyclerView

In the below example I have created a RecyclerView, in RecyclerView I have added three category (Image, Title and Subtitles). I have also added four diffrent item in RecyclerView. First I have added RecyclerView dependency to Grandle file. and in...
1 132 292
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: