Implementing AlertDialog in your Android Application

This video tutorial describes how to implement AlertDialog in your activity. A dialog that can show a title, up to 3 buttons and a list. It is a subclass of Dialog that can display one, two or three buttons. This video tutorial describes the th...

How to manage your Resource in better way with ERP software ?

For an organization, human resource is the matter of paramount importance. Human resource acts as a clear for an organization, since it is the substructure to determine the generation and the activity of any organization. A company spends a ...

How to use request handler to route different requests in Node.js

This tutorial will help user to learn how to use request handler to handle different URLs. For this we will create another module named requestHandler wherein we can define some functions and the request to these functions will be handled by t...

Retrieve only the queried element in an object array in MongoDB collection

Suppose we want retrieve only the queried element in an object array then we need to perform mongo query like below. Let me explain with this help of example. { _id: 4, zipcode: "63109", students: [ { name: "ankit", scho...

How do I perform the SQL Join equivalent in MongoDB

MongoDB does not have joins but sometimes we want references to documents in other collections. For this we have to use population. Population is the way of matching the specified paths in the document with document(s) from other collection(s)....

Touch event

Hello, I have a doubt regarding Touch Event. Say I need to write something like my name "Sangita" with just single tap on the keypad. In short I need to automate the whole process in one touch that would otherwise take 7 touches. The first touch...

How to assign current date to a date field in odoo v8

If you want to create date fields to assign current date in .py file in openerp, you can use the below code for this from datetime import date from openerp.osv import fields, osv from openerp.tools.translate import _ class account_invoice...

double colon(::) operator in Java 8

In Java 8 we can also use double colon(::) as the method reference. By using double colon(::) operator we can easily convert normal method into lambda expression. The below example will show you how you will convert normal method into lambda ...

Checking for undefined in Javascript

Undefined is a variable in global scope. A variable that has not been assigned any value is referred as undefined. You can check for undefined in various ways.Here are some ways to check :- Checking via Strict equality(===) var a; ...

Sending Email in OpenERP /Odoo

If you want to Sending Email in OpenERP (Odoo) follow the below mentioned steps: - Step-1 Go to sales Menu Step-2 Go to sales Orders and click on create button. Step-3 after clicking Create Button, fill in the above Quotation in b...

How to route requests in Node.js

This tutorial will help, learn how to route the requests in Node.js, for correct routing it is necessary to get the exact pathname and pass correct values via query string. We can get all these information through the request object. Hence to...

Why cordova geolocation watch doesn't working?

Hello.I'm making an application in ionic.I'm using cordova geolocation plugin.I want when i change my position location to be updated .I should see an alert but i don't see anything.What i should do ? Here is my code: $ionicPlatform ...

PermGen limit in JDK 8

In Java 8 The concept of Permanent Generation (PermGen) space is removed and it replaced by a new space called Metaspace. The drawback of PermGen removal is that the PermSize and MaxPermSize JVM arguments are ignored and you will never get a java...

JDBC/ODBC alternative in Java 8

The JDBC/ODBC driver is the type 1 driver it is also known as JDBC-ODBC bridge. It is ODBC driver to connect the database that convert the JDBC calls to ODBC function calls. Type 1 driver is fully platform dependent and use the native libraries o...

Difference between final and effectively final

Find the difference between final and effectively final as below: Final:- Any variable that cannot be modified once it is initialized can be final variable. You cannot modified again that variable. Ex: final int var=20; in the above e...

Overriding Login Struts action in liferay

We can override Login Struts action by using Hook. In the below example we are overriding struts action "/login/login". When a user login in Liferay "com.liferay.portlet.login.action.LoginAction" is the action class that calls. Follow the b...

Interface with default methods vs Abstract class in Java 8

Interface with default methods in Java 8 In later version of Java Interfaces always contained only method declaration. We are not giving method definition in the interfaces because java did not allow multiple inheritance of classes. But in Jav...

Splash Screen Not show in app in real device

Splash Screen Not show in app in real device after develop using phonegap

Location Watch

Hi! I'm working at an application which use location.I want my location to be updated everytime when i'm moving,without making a refresh.How i can do this?

Testing Policy

How can we define a testing policy ? Testing Policy is the planning activity to test the application software improvement, testing Policy is an important part of any organization or company. Testing policy may be different for many organizatio...

Datetime vs Timestamp in MySQL and PHP

Hello Readers, This blog tell the difference between the Datetime vs Timestamp in MySQL and PHP. 1> Datetime and Timestamp are used to store datetime and then retrieve the datetime back. 2> Basically, In this we have a 2 factor whi...

Actions Class[Mouse Actions]

Actions Class[Mouse Actions] In order to perform exact mouse related operations such as moving a mouse on the menu so that sub menus are displayed or dragging and dropping an element etc, we use Actions Class. Moving A Mouse Pointer In o...

The Latest Developments in Odoo That You Have To Know

There are many types of latest developments in Odoo,That You Have To Know. 1- Odoo use external authentication providers, sign in with Social Media-like (i) Twitter Account (ii) Facebook Account (iii) LinkedIn Account (iv) youtube account ...

Delete long running resources at onDestroy() in Android

Our Activity do most of the cleanup function in onPause() and onStop() callbacks. But Sometimes some resources leaks memory like long-running services, background threads.This usually happens when we dont closed it properly. So we need ...

The relation between Quality Analyst and Tester

Today I will explain you about QA and Tester, and what is the basic differences between us. Quality Analyst: Who analyses the quality of the product is known as Quality Analyst. The role of QA is bug prevention. QA must have the knowledge of a...

The Top Five Pros And Cons Of Odoo

Below are the top Five Pros And Cons Of Odoo Pros in Odoo 1- Odoo is based on python languages, and database is postgreSQL. 2- Search Functionality in Odoo- You can easily search across the screen, you can also create advance search as p...

Custom Check For iPhone , IOS Version , Email And Phone Number in swift

Hello Readers, These are some of the custom checkers to detect iPhone Current IOS Version Email Validation Phone Number Validation For iPhone 4 and 4s :- func isIPHONE4() -> Bool{ let screenSize: CGRect = UIScree...

Gradient Drawable in Android

To make Button,TextView,Images and other android components looks better and stylish, we create Gradient drawable. For using Gradient drawable, we can make shading effects and make better GUI. We need to create drawable folder inside the re...

There is an Application to Receive the Intent or not in Android

Hi friends, For Implicit intent, we dont need to declare the name of the class but we declare the action that we are doing to perform. Like here we make a call Uri callUri = Uri.parse("tel:100"); Intent intent = new Intent(Intent.AC...

Tour and travel guid with online shopping

hello i have a project which is for a tour and travel guid in this app we can update aour cities event, fairs ,hotels ,cafe ,site seen and all with this we provide online shopping give me best rate

How to save data in SQLite in Unity3d

To start up with CURD(Create,Update,Read,Delete) operations in unity3D using SQLite. You need to follow few steps: Steps for installing and use sqlite browser: 1.You need to have an SQLite Browser installed in your system: Which you can ...

Java 8 Iterable.forEach() vs foreach loop

foreach loop In Jdk 1.5 generics concept can be introduced and do some enhancement in for loop and the enhanced for-loop is introduced. The enhanced for-loop is reduce the overhead to print the values of the arrays and collections because it w...

only product images are not showing in woocomerce wordpress

I have a website in which product images and product thumbnails are not showing they are in server when i am checking from cpanel(file manager) all the images are their but not showing in fronted.

Insert Data into MySQL database from HTML SubForms

Hello EveryOne, I have 2 HTML Forms: 1. Register/Login 2. After User gets Login, He used to update details of him. I used MySql database in order to save Login details of User. And also i have another table for updating details of him aft...

Entering Values in Second table with help of Primary Key of First Table

Hello EveryOne.... Here is the scenario., In MySql database, I have two tables.. User and UserDetails... In 'User' table, i had generated userID made it as a primaryKey. For Example, 101->user1.... 102->User2 Now I need...

multiple video play

Hello, i want to select the video from database fetch it and wanna play in loop all videos one after the other in a single player in html 5/ php . plzz help >>>>

Rigidbody2D in Unity3D

Unity built in physics engine provide components that handle physical simulation. Rigidbody2D is one of the main component among the unity physics engine that allow sprite to be moved in a physically convincing way by applying forces from the ...

How to create a module in Node.js

How to create our own module in Node.js so that we can use the functionality of the module in our code where we need it, instead of writing the same logic. Here we will use the test.js file as a module in our index.js file. Suppose on hitting ...

How to create an http server in Node.js

This tutorial will help a user to create an http server in Node.js and run an applications at server side. Follow the steps as below: Install Node.js Lets create a file test.js which we will place in the root directory of our applicati...

Handling Pop-ups in Web Driver

Handling Pop-ups in Web Driver In the web application there will be different types of pop-ups such as: Alerts pop-up. Confirmation pop-up. Hidden division pop-up. Page on-load pop-up. File download pop-up. Child browser pop-up. ...

add team and charcater select to multiplayer Game using "MultiLan V3.0"

I am trying to develop multiplayer games with Unity3D and I use a plugin "MultiLAN V0.3" and I must add the functionality of the team and the character choose for my study project and I am very a hurry by time, I would be very grateful f...

Product Advertising API Error

Hi mates! I am trying to create Product Advertising API then in last step it showing "We're sorry! There was an error processing your changes. Please try again." I am trying since a day but its not working. plz help me guys...

Sorting Layers in Unity2d

When building a 2D game in Unity3D. We need to specify which items will be rendered above which item. We can do it by specifying the distance of the sprite from the camera but Unity provides a better way of doing this through the use of Sorting ...

Collider 2D in Unity 3D

Collider 2D in Unity 3D Unity has two physics engines, one for 3D and one for 2D. When we use 2D physics engine a collider 2D component must be used. There are four collider 2D component. Each collider 2D component is optimesed for a particula...

How to move the marker to the postion clicked on the google map.

Here is the example where various functionalities like styles (StyledMapType), info window, marker events, etc, have been implemented <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <...

Hinge joint and Fixed joint in Unity3D

Hinge Joint in Unity3D The hinge joint in unity is basically used to connect two rigid bodies. When there is a need to constraint the movement of an object then we require to add hinge joint on it. For eg - Door,Pendulum. In this we rest...

Java Interview Coding problems for Freshers- Part I

Hi, For all the final year graduates and freshers, I have got a series of java coding interview questions and answers, which is good to prepare before appearing on any Java interviews. Java coding questions are based on programming, logical an...

Make bullet colors in ul li lists using CSS

Hello Reader's Here is an example bullet list (unordered list) without using any image, you can use custom bullets in your web page as done below. Here is the HTML <div class="demo"> <ul> <li>Your Listing C...

How to recognize touch events for DOM elements

Hammer.js is a open-source library used for identifying touch gesture, mouse events and pointer Events. It is a standalone library . link for downloading library http://hammerjs.github.io/dist/hammer.min.js Below is the code snippet to use...

Adding attributes to short code in wordpress

Welcome to Findnerd. We all knows the power of shortcodes. It is very simple way to create a new functonality. We are going to discuss the way how we can add attributes in shortcode. We can give any name to shortcode and then manage attributes us...
1 228 292