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...
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 ...
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...
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...
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)....
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...
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...
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 ...
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;
...
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...
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...
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
...
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...
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...
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...
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 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...
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?
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...
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]
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...
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
...
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 ...
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...
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...
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...
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...
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...
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
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 ...
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...
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.
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...
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...
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 >>>>
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 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 ...
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
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.
...
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...
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...
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
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...
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 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...
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...
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...
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...
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...