Iterator in Java

In collection, there would be many situations where we need to retrieve the collection elements. Example, we need to show each element. For these situations Iterator is the best solution. How it implements :- First iterator comes to start p...

Android + php + mySQL

Hi I am learning android application development. I have signup form and I want to connect that to my MySQL database using php. But in the API above 22 the methods are changed and I don't have any solution. Can anyone help me with php scripts an...

android game made by Unity installs twice on the device

after building the game made by Unity and installing it on the device , I found that it is installed twice check this image : http://i.imgur.com/6TSICnk.png

assing array to span in jquery

my response is comming in this format.... array { [0]=>abc [1]=>cde [2]=>fgh . . . . . . . . . . } I want to put this array in span.....

How to add a column after a particular column in MySQL?

Sometimes we need to add a column after a particular column. We can do this easily by using ALTER command with AFTER attribute. Example: in the below command I'm adding "latitude" column after "address" column where "address" column already ex...

issue with implementing AdMob ads

after testing the game in a device , it exit after opening it directly in case of deleting the AdMob Plugin , then the game works fine after some researches , we found that the problem is because of the manifest files there`s 2 manifest ...

Checking a list of URL against a search engine to see if it is indexed.

Hi everyone. I am not a JAVA person but I have a situation where I am suppose to check some 3000+ URL if they exist in a search index. I need a java script which can fire these URL one at a time to the search engine and record back the response...

query regarding PHP

HI I got a reference of this forum from one of my friend .. i am new to PHP and i have made a clender in PHP and now i wanna display birthdays in the calender by changing th edate color and on tooltip wanna display name of student(s) of having...

How to add comment to a column in MySQL?

Sometimes wee need to add a comment to a column for understanding purpose means to easily identify what is the use of that particular column. We can add comment to a column by two ways- at the time of table creation or by ALTER command after ...

How o handle navigation drawer with fragments

Step 1: create an xml file for main activity <android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layou_height="match_...

How to make a column as first column in MySQL?

Sometimes we need to make existing column as first column. For example you created a table and added column "id" after creating the column. Now you want to make "id" column as first column, then you can do this easily by using ALTER command as be...

How To Draw Your Project Success With Time Tracking Tool

Time is Money, so why waste it. An ample amount of money can be earned in hours through various projects. Entrepreneurs invests a huge amount to get a project whose success depends when  client will get it on time that too wi...

How to remove old PostgreSQL database server in OpenERP ( Windows 7 ) ?

If you want to remove old PostgreSQL database server in OpenERP from your system follow the below mentioned steps: Step-1 Go to start menu and click it. Step-2 Click on programs button. Step-3 Click Uninstall a program. Step-4 after that S...

Classes and Objects

I have a sample I learn of javascript creating objects. Could anyone convert this javascript code for PHP? Because I'm already studying PHP syntax for creating objects but I need get this better. check *.txt file

Android Problem

Hello everyone I would like to start making a E-commerce android application. So how to start plz suggest me.

How to remove old OpenERP instance from your system (In Windows 7 ) ?

If you want to remove old OpenERP instance from your system follow the below mentioned steps: Step-1 Go to start menu and click it. Step-2 Click on programs button. Step-3 Click Uninstall a program. Step-4 after that Searching Programs and...

Simple mailing example in liferay portlets

This Blog will explore you how you can send the email using liferay portlets. The below code will helps you to send email using liferay portlet. Firstly you need to configure Liferay Mail Configuration:- Login using Liferay Admin account an...

strchr and strrchr in PHP

Hello Readers, 1> Both strchr and strrchr are the string functions. 2> strchr is an alias of strstr. 3> strchr returns the part of haystack string starting from and including the first occurrence of needle to the end of haystack...

How to select video from gallery in Android

How to select video from gallery through intent? Step 1: Declare the variables on the activity from where you want to hit the intent int SELECT_VIDEO_REQUEST=100; String selectedVideoPath; Step 2: Selecting Video from gallery by int...

How to download file from server in android

How to download the file from server to android phone It is recommended that whenever one wants to download any file from server whether it is song or any image , it must perform in the background either by using asynctask or using a thread. ...

Efficient Ways for User Testing During Web and Mobile Apps Programming

Thanks To The Internet, there is no barrier or boundary for any web/mobile app. End user of the application can be anybody from anywhere regardless of their religion, social culture, geographical position, time zone, physical or m...

3-D effect by box-shadow property in css

The shadow behind a box gives an amazing 3-D effect. We can apply this 3-D effect by box shadow property. The Syntax is : box-shadow : [horizontal-positioning-value] [vertical-positioning-value] [blur-radius] [optional disperse-radius ] [c...

create object and object's combination

I need help in javascript friends I have 3 javascript array. var color = ["red", "yellow", "blue"]; var size = ["xl", "xxl", "xxxl"]; var style = ["cotton", "silk", "jins"]; and i want string like bellow line using javascript or jquery. ...

How to resolve Registry issue in Postgres

If on installing OpenERP 6.1 using all-in-one setup, pgAdmin is note getting installed or you are not able to select pgadmin while installation then you might be having a registy issue with postgres application. To solve this king of problem....

How does OpenERP-8(Odoo) is more Beneficial than OpenERP-7 ?

The transition from OpenERP 7 to Odoo (OpenERP 8) visibly highlights power of the web. Odoo comes with more than 4,000 apps for sundry business needs and requisites. There has been a worldwide acceptance for version 8.0 among its partners and...

Select an item in dropdownlist by text programmatically

To understand this, consider the following code: //Dummy DataTable DataTable dt = new DataTable(); dt.Columns.Add("EmployeeName"); dt.Columns.Add("EmployeeId"); for (int i = 1; i <= 10; i++) ...

Check Live Traffic on your Website

Hello everyone, today we discuss about "Check Live traffic on your live website". When you have a Website, and you are thinking about learning the things like, exactly who visited your Website, you want to recognize the number of visitors, and...

waitforseconds() method not work not working

I wrote my codes right and based on the codes in (Unity docs) but still not working , not waiting , any help ! IEnumerator wait(float waitTime) { Debug.Log("Wait"); // write this successfully yield return new WaitForSecon...

Set interface in java

Set Interface in java, It is the type of Collection and Its the subclass of Collection interface so that all methods Collection interface can also present in Set interface. The important feature of Set interface is that it doesnt allow dup...

How to add foreign key contraint to a column in MySql?

In many cases we need to create foreign key in a table. We can do this at the time of table creation and after the table creation by ALTER command. 1- At the time of table creation: CREATE TABLE user_device ( id int(11) NOT NULL AUTO...

How to add a column with comment in MySql?

Sometimes we need to add a column with comment. We can do this easily by using COMMENT attribute in alter command. Ex- Find the below alter command which will add "address" column to "user" table after "country" column. ALTER TABLE `user` A...

Using bind function in javascript

This tutorial will help to learn how to make use of bind function in javascript. We use bind function, that helps us to use the properties and methods of any other object.bind function creates it's new method that has it's own this object which...

How to add comment on a table in MySQL?

Sometimes wee need to add a comment on a table for more readability means to define what is the use of that table. We can do this at the time of table creation or by ALTER command after creating the table. At the time of table creation: ...

How to parse/format dates with LocalDateTime in Java 8?

LocalDateTime is an immutable date-time object that represents a date-time, with default format as yyyy-MM-dd-HH-mm-ss.zzz. It provides a factory method that takes LocalDate and LocalTime input arguments to create LocalDateTime instance. Lets loo...

An high level over view of Security in OpenERP

OpenERP/Odoo is as secure as any other enterprise standard business application, and the architecture gives you many advantages to deploy applications over the Cloud infrastructure. We have been getting many queries about "How secure is OpenERP/...

Returning a Collection instead of Stream in Java 8?

In Java 8, the Streams is the new addition in the Java Collections API. It is the new method to process collections of objects. That is a different concept than the IO streams in the Java . Streams can be designed to work with Java lambda express...

How to solve error on re-installation of OpenERP or pgAdmin

If you face error on re-installation of OpenERP or pgAdmin, then you need to add the port 5432 for Postgres in Inbound and Outbound Rules. Follow these step given below:- Step1- Go to Control panel/System and Security/Windows Firewall and se...

Open FlashLight of Android Phone Programmatically

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 repr...

Use of strtok() function in php

It is basically the string function and its used to split the string into smaller strings but other than this we have also other string functions to split the string like explode (return the complete split string in an array). But strtok is di...

What are the differences between abstract classes and interfaces in Java 8?

Difference between abstract class and interface in Java 8 : To create abstract classes we use the 'abstract' keyword whereas keyword 'interface' is used to make the interfaces in Java. For inheritance the 'extends' keyword is used by the su...

Is that possible to store some additional data along with the error flag itself, using standard Angular mechanism?

I'm manually setting ngModel.$setValidity, I'd like to pass some data along with the error flag, to be displayed in ngMessages directive. For example let's assume the min/max length of the field depends upon some external factors, thus is compute...

How to Data Mapping using ETL Tools in OpenERP/Odoo ?

The data mapping fixates on the powerful data between systems, It leads to more significant consistency, which results into preponderating productivity, reducing perpetual maintenance costs, amending readability of software and additionally makin...

Using Javascript to access liferay services

The Below code will show you how you can create the service in Liferay and how you can call that services using javascript. For this, First you have to create service builder(service.xml) to build service using ant build-service command. ...

Is there anyone who is expert in MasterCard Integration??

I have downloaded the Mastercard SDK for PHP but it's my first time to Mastercard Integration , I am confused about the Config.ini file gasp emoticon , how I change these values given in the picture

Replacing images with text when a radio button is clicked.

I am a newbie developer to android. I am trying to develop an application as a test run it is a Q and A app. Can anyone help me with the following problem. The pages have 2 radio buttons in a radio group, the center of the page has an image...

nginx help

Does anyone knows how to work with nginx on windows?I'm trying to run an nodejs application.Can anyone help me ?

(please help) Start screen in the game scene

Hello, It was hard for me to describe sorta what I wanted in the title. But basically I know exactly what I want but for some reason it will not let me upload the picture that I have as an example. But Basically I want to have in my game scene a ...

How to handle or remove warning of security in chrome through Selenium WebDriver?

Below is the error while run in chrome. Use this code, it will always work System.setProperty("webdriver.chrome.driver", YourChromePath); DesiredCapabilities capabilities = DesiredCapabilities.chrome(); ChromeOptions op...

Enable/Disable Bluetooth

How to on-off the bluetooth progamatically in android:- Here, we will use the class "BluetoothAdapter" , which allow us to all bluetooth interaction and perform its tasks. Firstly , we have to set permission in manifest to access device blu...
1 226 292