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...
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...
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
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...
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 ...
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...
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...
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 ...
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_...
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...
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...
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...
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
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...
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...
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 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 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.
...
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...
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...
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.
...
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....
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...
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++)
...
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...
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,
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...
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...
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...
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...
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:
...
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...
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/...
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...
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...
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...
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...
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...
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...
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...
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.
...
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
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...
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 ...
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...
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...