In this blog we illustrate the how to open a camera in windows 8.1 phone app.
Code for Xaml file:
<CaptureElement Height="650" Name="captureElement" />
This CaptureElement control is used to render the capture device like camera or...
SQL Injection
Security of any Application plays a major role for any developer. Some of the users try to break the security of any application for their fun, for stealing the data .They use different methods to break the security and SQL Injec...
Hello Readers.
There are situations when we have to decide to use either an <img> tag or a background-image. But then we think of the same visual outcome and choose at random among the two. Let us learn about the two and the ...
Hi Readers,
We used to code blocks in Objective C, mainly to implement callbacks. For that particular functionality we can use closures in Swift. That will work same as blocks in Objective C. Closures are enclosed in curly braces { } and are d...
Create Bar graph and Pie chart in PDF format using FPDF
Hello friends, I am writing this blog which will help you to create bar graph and pie chart using fpdf. Firstly you need to download fpdf.php file from the following fpdf library. Click h...
Association in Laravel
Laravel supports associations. Here associations are basically relationship between tables. There are six types of associations in Laravel:
Relationship
Type of Association
Example
...
Wine in Linux
No we're not talking about the drink! Wine is an application that creates a Windows-like environment for Windows-based software to run on. WineHQ the markers of Wine, claim that their software can make several Windows applica...
Attach images/pdf/doc to email using Cakephp 2
Hello friends, I am writing this blog, which will help you to attach files to email using Cakephp 2.x. So lets begin with creating function in UsersController or any other controller and...
df, du and tree in Linux
The 'df' command is the simplest tool to view disk usage. Using it without any switches will display the result in block of usage which is not understandable especially for home users. Use the '-h...
HTML to PDF using TCPDF in Cakephp 2
Hello friends, today I am writing this blog which will let you know how to convert HTML to PDF using Cakephp 2.x. We are going to use TCPF library to achieve this.
Lets begin with downloading TCPDF f...
Chirag is a pure Desi boy. And his one and only dream is to meet Santa Claus. He decided to decorate a Christmas tree for Santa on coming Christmas. Chirag made an interesting Christmas tree that grows day by day.
The...
i need to update multiple choices for question but every time i run the query it's only update the last choice only also i need to update the value of the correct answer which is (0 or 1 ) which the best using input text or radio button
...
More than the act of testing, designing tests is one of the best bug presenters known. Test design thinking can discover and exterminate bugs at every phase of developing a product. From comprehension of product to product blueprin...
Defect:
Defect is any flaw in the software system,when there is a difference between expected result and actual result.
Defect can be classified into three categories:
Wrong
Extra
Missing
Wrong: The software does so...
I find child control using VisualTreeHelper in WPF. VisualTreeHelper provides all children in form nodes in a visual tree.
Visual tree is used for rendering, routing and locating resource.
Namespace of VisualTreeHelper is System.Windows.Med...
Hello Reader's
If you working on Codeingiter and looking for to making the free cropping of image before uploading then this blog is very helpful to you.
The process of cropping the images is start from loading the preview of images via...
Inheritance is one of the fundamental concepts of object-oriented programming. Inheritance enables child classes to inherit the properties and methods of parent class. So basically it allows us to reuse and organize code more effectively.
Unlike...
Cross-Site Request Forgery (CSRF) mainly occurs when user logs in vulnerable site and then user visit the malicious site in the another tab of browser. Malicious site may contain some code which can call actions/methods from vulnerable site.
For...
Lazy load jquery spinner is used for the delays loading of images used on the web page. It improves the page load time, by using this plugin user can see the custom effects and data attributes, It is a fast, easy and lightweight script used for l...
This tutorial is about Big View of Notification.
Big View notification introduced in Android 4.1.
Big View Notification has advantage to set functionality from Notification like you Alarm application
and you can Dismiss/Snooze alarm ...
<colgroup> tag:
It is used to apply different properties on more than one column in a table by grouping columns. Like with the help of this tag we can apply CSS on more than one column otherwise we have to apply CSS individually on each ...
Here, below is the example of binding nested list in WPF. In below example, I am using nested item controls and WPF Expander to show nested list. On click of first item, it display sub list of selected item.
In these example , I bind ite...
If we want to run different methods with in single statement than we can achieve it by using jQuery chaining property . With the help of jQuery chaining property we can chain different methods with each other.
JQuery chaining property allows u...
Hello guys,
Liferay provide xuggler as external service for convert preview of any video type to mp4 using xuggler.
We need to install xuggler from external service under server administrator in liferay portal.
Below screen help yo...
In cakephp sometimes you need to show the thumbnails of many images and then on click you got to show the image in full using popup.
You can use modal for this.
Modal is a bootstrap html which is opened when you click on that particul...
Angular material card is something new what we get for better UI designing. It is used to draw cards in angular applications. md-Card directive is used for AM-card. It is a container which draw the card and contain many directives inside to make ...
To repackage android app for blackberry phones you need to convert the APK file to BAR file which is compatible with the blackberry phones.
To convert APK file you can either use Blackberry plug-in tool or Blackberry command line tools...
Hello Reader's!
If you are looking to learn how to print the text over a image as a water mark then this blog is very helpful to you. Fixing a watermark on image can be used by PHP. So first we will learn how this process going in action.
...
Hi Reader's,
Welcome to FindNerd,today we are going to discuss Qimage component to resize image in CakePHP.
If we are developing a web application in CakePHP then, sometimes we have to upload image for user profile . When a user upload im...
ReactJS is an open source javascript library which is developed by Facebook. It is used for building user interfaces.
Introduction:
It is widely used to create mobile and web application.
It allows to create reusable UI compo...
Hello Readers,
Cordova background mode plugin keeps the app running in background mode. When app pause in background mode and the system keeps open the network but doesn't send data until app resumes. This plugin helps in those appli...
Welcome to FindNerd. Today we are going to discuss repl module in nodejs. repl module deals in Real Eval Print Loop implementation that can work as standalone program or can be work with other applications. Nodejs includes repl as a core module. ...
Hello readers, today I guide you "How to pass extra parameter in Wordpress pagination?".
Recently I am working on a project and I want to pass extra parameter in Wordpress paged pagination. Normally we are are using simple ...
Hello Readers.
Anchor links (<a>'s), when become ‘active’ or ‘focused’, get a dotted outline around them. This is a default styling. Also, the color of the outline is the same as the color of the text.
One ...
Hi Readers,
Many times we need to play music even app is in background. It is normal behavior of AVAudioPlayer to play sound when app is in foreground or active state. But to play sound, music or song even in background state can be achieved b...
In this blog, we discuss about handling the drag and drop functionality in Selenium WebDriver.
Scenario to be automated:
Launch the web browser
Open your application (eg. "http://only-testing-blog.blogspot.in/201...
The placeholder attribute is a default text inside an input box. It usually appears in light gray color. It gives a short hint to the user describing the expected value in that input field. This hint appears in the field e...
Below example code will helps you to create Chronometer. For this firstly, In activity_main.xml layout I have added buttons and Chronometer layout. Now See MainActivity, here I have used start(), stop(), SystemClock.elapsedRealtime()), setFormat(...
Hi Reader’s,
This blog includes the concept of how to drag and drop UICollectionView cell item to another UIView with the help of long press gesture. First of all given below is the snapshot of storyboard in which collection ...
Hii,
This blog is continuation with my previous blogs on AngularJs,In my previous blog i had discussed about the following:
What is angular js,angularJs directives and expressions.
In this blog i am going to discuss about controllers in angula...
Count Total number of Web Links and All Elements on Webpage:
In this blog, we discuss about how to get the total number of web links and all elements on webpage.
Steps to be automated:
Launch the web brow...
In angular material,we use a directive <md-input-container> to contain inputs. As the directive name implies,It is a container which contain input components like label,input and textarea as a child element. Using this container we can do e...
In this blog we are going to illustrate how to transfer the GridView data to DataTable.
To transfer GridView to DataTable:
We add button in .aspx page where the GridView display the data. By clicking this button user transfer the GridView d...
Review:
A process in which one or more more persons checks changed document or data to determine if the changes are correct.
An analysis undertaken at a specific point in time to determine the degree to which stated objectives have been met...
I have two controllers in Angular, one controller makes an Http call gets data once the data is received I want all the controllers to invokes a call to update their model or refresh view.
Any help would be much appreciated.
Parsing a xml file means separating a data block into pieces by following an algorithms, so that we can be easily manipulate.
If there are a requirement in rails application to read XMl file from remote, we can use the Nokogiri to re...
Here we will learn different types DOM ready functions used in jQuery and javaScript. It's very important to know that when and where should we use them. Here we will explain why one should choose version accordingly. Document ready function ...
Sometimes it happens that our application doesn't support a browser with an older version, in that case, we wish to restrict a user from running our application on an older version. In rails, we have a solution to for this problem.
Browserni...
Hello readers, today I guide you "How to get category and their post via ajax".
Suppose we have 5 category in Wordpress and we want to display it in tab base and also display their post. In first when our page is loaded, 2 post are s...