
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Multidex with Gradle
When our application and libraries references reaches their limits, then we get some errors that shows we reached the limit of built architecture.
Like this
trouble writing output:
Too many field references: 131000; max is 65536.
You may ...
tracking system
hello, how do i find location on map by entering user id number in a text box on a web page and pull information from mysql database with corresponding coordinates in the table and is instantly displayed on a map on that page.
Difference between mysql_connect() and mysql_pconnect()
Both mysql_connect() and mysql_pconnect() are used for database connection.
mysql_connect()
In mysql_connect() function opens and close the database connection, depending on the request. Every time a new connection is established, when usin...
Check Constraint
Check Constraint:
It is used to restrict the range of values that can be inserted in a column. If a column contain check constraint then only a particular range of values can be inserted in that column.
Example:
CREATE TABLE Employee(
...
Differentiate between array_combine and array_merge?
array_combine and array_merge are the array functions in PHP that are used for different functionalities both are different from each other both have different functions.
Merging the elements basically means to merge one o...
How to show the web page within your application using webview in android.
If you want to show web pages without opening browser application in your android application then make the use of webview as I have done below:-
1) to make your application access the internet use the permission"<uses-permission andro...
Generators in Python
Generators
In python reading items in a list one by one is iteration but when iteration on a list can be done once then iteration is known as generators. Generators does not allow all the iterable list values to be st...
Upload multiple images/files with multiple input type with single submit button
Create the html for multiple file upload.The form action would go to the "uploads.php" file.
<form action="upload.php" method="post" enctype="multipart/form-data">
Select Files:
<input name="blogimg[]" type...
Few Approaches For Security Testing
There are many approaches for the security testing purpose when scheduling and arranging for the security based testing. Few approaches are mentioned below:-
Security Architecture Survey
Categorize Security Testing
Security Ar...
Detecting camera hardware
If we don't specify we require camera using manifest declaration, so we can check it at runtime that the camera is available or not.
To do this task, we have PackageManager class.
PackageManager has hasSystemFeature() method to check it...
How to write insert query in Symfony2
Hello Friends,
If you are working on symfony2 and looking to implement insert query please review the below example and make the changes according:
Open your model/repository file
$sql = "insert into tbl_paymentmethod set pm_m_id =:pm_...
How to use calendar in symfony2
Hello Friends,
If you are looking to implement calendar in Symfony2 by FormBuilder(). Please use the code below and make changes accordingly.
Please open your controller function
$filterform = $this->createFormBuilder()
...
How to access repository function in Symfony2
Hello Friends,
If you want to access repository function in your controller file under Symfony2. Please review the below code.
To use repository function in Symfony2, first we need to include repository file in your controller file top abov...
How to handle multiple form request in Symfony2
Hello Friends,
If you are using multiple forms in symfony2 web page and getting issue to fetch data from multiple form. Please review the code below and make the adjustment accordingly. In the below example I am using two forms 1) $Kickedform ...
Programmatically create Workflow Stages in SharePoint 2013 using CSOM
For creating Stages using CSOM, we have to use StageCreationInformation.
1. First of all, assign basic information to Stage.
Microsoft.ProjectServer.Client.StageCreationInformation stageInfo = new Microsoft.ProjectServer.Client.StageCrea...
How does tuples represent recursive relationships type in OpenERP
In OpenERP, Tuple represents recursive relationship of type and the tuple models is a browsable model which start loading relationships type from and use it param ttypes which is a list of relationship types and follow 'one2many' and '...
How to Create a new res.users record for each email address in OpenERP?
A new res.users for email address is created for wizard_data. If users already exist then a new res.users will be ignored. New res.users also have a value for the password field, so that they can receive it by email and Returns the ids of the cre...
How to define Paging in Symfony2
Hello Friends,
If you are looking to implement paging in Symfony2, please review the code below and adjust your code accordingly.
$data = $this->get('app_cam_taxsetting.taxsetting_repository.taxsetting')->getUserList();
// app_ca...
java.util.Scanner Class
java.util.Scanner Class:
It is used to read input from keyboard. It breaks the input provided into tokens using a delimeter (Whitespace). It extends Object class and implements Iterator & Closeable interface. To use Scanner class we ...
UIAlertViewController with TextFiled in iOS
To Create a alertView with textField in Xcode 7.2 we can Use the the code below to handle the Yes and no action.
and also get the text of the textField. You can show this on a viewController.
UIAlertController * alert= [UIAler...
Programmatically create Project documents in SharePoint 2013 using C#
Each project has its own documents in SharePoint.
For creating the Project documents, first of all we have to create context by passing the projectSiteUrl.
1. Create context of projectSiteUrl
using Microsoft.SharePoint.Client;
context =...
How to fetch request variable in symfony2
Hello Friends,
If you are looking to fetch request variable submitted through GET method in Symfony2. Suppose your URL :: http://www.abc.com/taxsetting/list?q=xyx
You are looking to fetch q value in your controller, please review code below...
DIFFERENCE BETWEEN SESSION AND COOKIE
SESSION-
A session contains user information on server side. When a user opens a page, then the information is first transferred to the server, then php will match that information to the server-side cookie.
If the browser is closed once, a...
Image Crop in Android
Image cropping in Android, there is a support in some devices by default for cropping image but its not reliable, so here is some code to get rid of this problem.
Step 1. Declare crop activity in your manifest like this :-
<activity an...
Java Reflection and java.lang.Class class
Java Reflection
The run time behaviour of a class can be examined and modified at run time,this process is called java reflection. To examine and change the run time behaviour of a class java.lang.Class is used which provides many m...
javap tool in Java
javap tool
javap is a command which when used with a classname, disassembles that class file. This command displays fields,methods and constructors information which are present in the class file with which javap command is us...
Magento - Ajax Add to Cart In Product View & List Page
Add to Cart Functionality using Ajax in MAGENTO : Hello Readers, In order to add Ajax add to cart feature in your product view page, first you should need to know how add to cart button is working. In magento add to cart button is a simple form s...
Seesion Management
Hello,
I am making an online shopping app. I am storing user details in sqlite database( Name and Password). So at the the time of login i want to check weather username and password is correct or not. So in that case how to manage session.Bec...
AngularJS - $interpolate, $compile and $parse
There are three useful services provided by AngularJS for view rendering and evaluating expression which it uses internally.
$interpolate :- This service simply takes a string and is used to evaluate expressions. We can run the entire string...
How to fetch form post values in Symfony2
Hello Friends,
If you are looking to fetch form posted values in symfony2. Please follow the below code and make adjustment accordingly:
Open your controller function where you would like to fetch the values::
$VendorForm->handleReq...
How to create form in Symfony2
Hello Guys,
If you are looking to create form in symfony2 the below code might help you:
1) Open your controller file and function where you would like to define form and add below code with require modification:
//Define in Controller...
How to catch changing of View Pager slides
After creating a ViewPager (as I also described here ViewPager) we need to catch the changing of slides event.
To do this we have a listener OnPageChangeListener i.e, ViewPager.OnPageChangeListener that invokes whenever we chance the page or i...
How to upload large apk size on play store using Expansion Library Tutorial
Its usage: To break the barrier of apk size to upload on Play Store
Libraries needs to be installed: Google Play Licensing Library package
Google Play APK Expansio...
How to convert Javascript Arrays to Comma seperated values
The toString() method can be used to convert an array into a string. It returs a result containing string and it will seperate the different elements in the array with commas.
var group = ['one','two','three','four'];
var conv = group.toS...
How to develop application using Phonegap.
Phonegap is an open source framework that provides us to build mobile applications. It uses some web APIs for the different platforms like android, ios, windows, blackberry. We can add the specific platform in which we want to run the mobile appl...
INHERITANCE IN PHP
Inheritance is one of the most important concept of OOP. In inheritance one class works as a base class for one more than one class. In this derived class inherits all the properties and methods of base class.
Inheritance makes our work easier...
How to define routing in Symfony2
Hello Friends,
If you are looking to implement routing in symfony2, like I have created a new controller like "listAction" in my controller file and now want to run this on browser. My controller file look like
<?php
nam...
How to create OverShoot Image animation function in android
In the below example I have created Overshoot animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created overshoot.xml layout and In MainA...
How to create function to returns value of product name, unit price based on event in OpenERP?
In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self ...
How to create function of open event registration and send email to user in OpenERP
In OpenERP, first we create registration in event form and then pass the param ids like as list of event registration's IDs and also mapp to the standard dictionary for contextual values than we create email for users and validate to the even...
How to create linear Image animation function in android
In the below example I have created linear animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created linear.xml layout and In MainActivity I ha...
Create Color Scheme with Blend Tool in Adobe Illustrator
Hi Guys!!
As a graphic designer i know that while working on a project in Illustrator, sometime you definitely want to use the same colors which you are already using but in different tones (as per requirements ) for different objects or illus...
How to add title, subtitle and Image in List View
In the below example I have created a ListView in ListView I have added title, subtitle and image. Here first I have added ListView in activity_main.xml layout, then I have created new list_item.xml layout here I have created Relative...
How to add new bundle in Symfony2
Hello Friends,
If you are looking to create a new module in Symfony2 and want to integrate this with new bundle. Please follow the below steps:
1) Create your bundle folder under your_project_name/src/App/your_bundle_name
like ...
How to access the database with SQL PLUS?
Hello all, I am unable to access my SQL database as I forgot the login details. I have tried with some but getting error "ORA -12560: TNS : protocol adapter error."
Kindly suggest me the way to retrieve the details. Is there any comm...
How to use __Call magic function in PHP
Hellow Reader's !, Before going to Discuss about __Call Function in PHP u should know about Magic Function in PHP. If you have ever looked at the source code of open source PHP projects, you might have noticed object methods that begin with a...
How to create module in magento ?
Before we create magento custom module, let’s have a look on code directory structure of magento where we create custom module. Here is only code folder structure.
- app (contains code pools, design, configuration, localization and Mage....
Art of Influencing
Completing things and excelling in your association is about utilizing the resources you have available to you to influence partners and influence outcomes. With the right mindset and abilities the task of influencing gets to be easy, with the wr...
Methods to Explode Your Business
Rush to judge but slow to act. Might that be an awesome logic for effective businesses? Ask yourself, does something should be changed? Rush to judge that changes should be made. On the other hand, be slow to act until you get adequate informatio...
What? Me a Leader?
Leadership. The word itself automatically evokes pictures of gallant/heroic figures, solid and capable, and a large portion of us don't see ourselves fitting all the necessary qualities. What does it truly mean to be a leader?
Have you...