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
Sample Barcode Scanner Application
Here is a sample code of simple **Barcode Scanner** app.
Barcode scanner library is attached with this project you just have send an startActivityForResult to open Scanner like this.
Intent intent = new Intent(getApplicationContext(),Captu...
How to Make A Simple Concept Design for Chibi Character
Chibi is a simple, cute form of Manga/Anime. Super Deformed or SD is another name for chibis.Super deformed or SD is a specific style of Japanese caricature where characters are drawn in an exaggerated way, typically small and chubby, with stubby...
Sending Mail in Joomla
Sending mail in Joomla is easy. It can be done by posting the value of form in view to the controller.php of that component.
Function that can be used is
function mail()
{
$fromname = JRequest::getvar('name');
$sender_mail = JR...
How to create script in Jmeter?
Steps for Script Creation in JMeter
1.Right Click on Test plan-> Add Thread Users-> Thread Group
2.Right Click on Thread Group->Add Logic Controller->Transaction controller
3.Thread Group-> CSV Data Set config
4.Thread Plan-&...
SDWebImage Framework integration issue in Latest xCode
Download and Add framework
Step 1: Download and unzip the lastest version here: SDWebImage.Framework
Step 2: Right-click on the project navigator and select "Add Files to "Your Project": In the dialog, select SDWebImage.framework, and chec...
Refine Edge use in photoshop
Using a selection tool to cut an particular image portion in photoshop we are going to use refine edge to modify the selection so that we can use it in a better way.
For this first we need an Image. Open it in the photoshop.
Use the Brigh...
jqGrid with asp.net MVC
To bind jqGrid with asp.net MVC please see below steps.
step 1: Download latest jqGrid from
http://olex.openlogic.com/packages/jqgrid/
http://www.trirand.com/blog/?page_id=6
step 2: Add downloaded folder into your project's Script fo...
Cool widgets in OpenERP
Widgets are the GUI elements that can perform some controlling tasks. In OpenERP, we can see a few of widgets that have significance in the views like statuses of the any process, seeing states of an object, or getting lists out of huge data, or ...
Create photos album on Facebook sample code in iOS
Creating Photos album and uploading photos into the album.
Two methods mentioned below creates album and uploads gallery pic on Facebook.
/*=========================================================
// Here we request connectin for creating ...
Fetching all pending orders in Magento
Fetching all pending orders and customer details in magento
<?php $orders = Mage::getModel('sales/order')->getCollection()
->addFieldToFilter('status', 'pending')
->addAttributeToFilter...
Diffrent types of signUp pages in android
Signup tutorials for the beginners. In this tutorial you can see different types of signup pages in which date of birth is included , Signup using Facebook and other options as well for android. You can add this code in you application to get the...
Creating products with custom options in Magento Programming
we can create products with custom options by programming in Magento
follow the steps :
Create a form to submit all mandatory details to create a products
Post all details to form controller to save product
public function saveproductA...
Custom Login Activity
Two Login Samples
First Sign Up Sample for Username and Password .
Second Sign Up Sample for Email and Password.
Use the zip file and check the output .
Hope the code helps you
Thank you.
Import Facebook friends list using Facebook SDK in iOS
Facebook friend list import became easier after using latest Facebook SDK. Here is the method which imports friend list.
Steps to follow:-
Create App in your Facebook account or open (https://developers.facebook.com/apps?ref=mb).
Go to A...
Import Facebook friends using custom UI in iOS
Facebook friend list import became easier after using latest Facebook SDK. Here is the method which imports friend list.
NSMutableArray *arrfriendList = [[NSMutableArray alloc]init];
[FBRequestConnection startForMyFriendsWithCompletionHandler...
How to Create Animation in Android
How to create basic animations in android :
In this blog i will show you how to create simple shake animation in android.First create a anim folder in res/anim in the android project. Create a xml file in it sopy the following code in it
...
Login with Facebook sample code for iOS
Facebook Login Button to logged into the iOS app, here we are getting logged into the iOS application using Facebook login button.
Steps to follow:-
Create App in your Facebook account or open (https://developers.facebook.com/apps?ref=mb)...
Login with Facebook using custom login button in iOS
Custom Facebook Login Button to logged into the iOS app.
Now a days most of the iOS apps provides "Login with Facebook" feature. Facebook also provides SDK for iOS platform, here we are getting logged into the iOS application using Facebook cred...
How to create a Sticky Menu bar with CSS and Jquery
In this example, we will create a simple webpage that consists of the header, the navigation and the content.
<div class="wrapper">
<div class="header">
Header
</div>
<div class="nav">
...
Box-shadow effect using css3
Hello readers !
This blog show how you can use shadow effect using css3.
CSS :-
body {
background: #F2F2F2;
color: #999;
padding: 0;
margin: 0;
}
.container {
width: 820px;
margin: 10px auto;
padding:...
How to validate that string is email address or not.
During User registration it is very necessary to check that entered email id is valid or not. To check that following code will help you.
- (BOOL)validateEmailWithString:(NSString*)email
{
NSString *emailRegex = @"[A-Z0-9a-z._%+-...
How to use search bar in UITableView
This is very helpful, if you want to use search functionality on UITableView.
Code for ViewController.h
@interface ViewController : UIViewController<UISearchBarDelegate,UITableViewDataSource,UITableViewDelegate,UISearchDisplayDelegate&g...
Very Useful Tags in OpenOffice Reports
Here are some important very useful tags that can help you definitely while creating various kinds of reports:
[[ repeatIn(objects,'o') ]]: To add loop on the object selected, example [[ repeatIn(objects,'invoice') ]].
[[ repeatIn(o.invoic...
How to save and access value from NSUserDefaults
NSUserDefaults is very useful, if you want to save less data and want to access that data whenever you open the application. This data does not delete even after closing the app.
To save data in NSUserDefaults
NSUserDefaults *usr = [NSUser...
To perform a real-time capture
To perform a real-time capture, a client may instantiate AVCaptureSession and add appropriate
AVCaptureInputs, such as AVCaptureDeviceInput, and outputs, such as AVCaptureMovieFileOutput.
[AVCaptureSession startRunning] starts the flow ...
Creating Search View in Openerp
Search views are very useful when it comes to exact data requirement. In OpenERP we can create such views very easily and quickly, just adding the few line of code in your view. You can add as many fields you wish and add buttons that do some sor...
Solution for Invalid Object ID in MongoDb
We usually have this kind of error while making query with mongodb "Uncaught exception 'MongoException' with message 'Invalid object ID'" ,
the main reason behind this kind of error is that :->
a) Id string for mongodb must be 24 hexadecim...
Create pie chart using jquery highchart and asp.net mvc
To create pie chart in asp.net MVC using jquery HighChart.
step 1: Include latest jquery.min.js in your page.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
st...
How to create profile page hiding controller and action name in yii
How to create profile page hiding controller and action name in yii
In url manager add this line
'<username:\w+>'=>'site/index',
username will be the parameter for name or id and site is controller name
and the url will be...
Two different custom cells
Hi all,
If you want to add two different xibs in a tableView you can check out the code here.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (tableView==carTable)
{
...
Apatche JMeter-Listeners(Reports)
A listener basically captures results received from the server. We can capture individual results to consolidated results with the help of different listeners. The listener can be added at the test plan level, thread group level or even under ind...
Valid main methods in java
main() method in Java
the main method in java is the first entry point of the program and the most familiar structures in the Java language. Following are some valid main() signatures in java:
//Most common form of main method
publi...
how to detect swipe left or right function on listview item in android
If you want to detect swipe gesture from left to right or right to left on the list view item in android.
than you just have to add this Class in your activity and perform any task by detecting any type of gesture
in your list item in android...
Cloning github repository in windows system
Hi All,
I needed to clone one of my password protected repository from git into my windows machine.
I googled it and found lots of help but I would like to wrap up things in very basic level.
1: You must have git account and repository whi...
Remove wrapper from HTML element in cakePHP
In cakePHP, if you are using default render elements of cakePHP, then wrappers are automatically add. For removing wrappers from HTML element use the following syntax:-
Form->input('email_address', array(
'div'=>false, 'labe...
Remove all the previous activities from the back stack in android
Whenever you switch from one activity to another using intent and specially in the case of logout and sessions related android applications you will find activity back stack issue.
Here i will show you a small piece of code which will help you...
Customizing UISegmented Control having 3 segments
A segmented control is a tool which provides segments as buttons. Each segment can be programmed to perform an action. Usually it is required to customize or modify the appearance of the UISegmentedControl in order to make it look like the rest o...
arranging the images at the center of the iPhone screen
It might be required to display a large number of images having different sizes, one by one on the screen. To make it look neat, all the images should be aligned at the center of the screen, irrespective of their size. So fixing the coordinates o...
How to resolve the error "The server response was: 5.5.1 Authentication Required"
Sometime the email is sending on local machine but not on the server machine it gives the error "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required"
To resolv...
changing the size of the frame with image
To change the size of frame of the UIImageView as the image change can be done by getting the width and height of the UIImage. This can be done by declaring 2 float variables, storing the width and height of the image of the image in the respecti...
Can I use an enum type in Java switch statement?
The Answer to this question is yes, we can use enum in java with switch statement. the following examle shows how:
enum Car{THAR,XUV,SCORPIO}
class Cars {
Car car;
Cars(Car car)
{
this.car= car;
}
...
Message posting in GooglePlus IOS sdk
If you integrating Google plus in your IOS app and want to post some message you can use share dialog. To post message first create an object of GPPShareBuilder then you can set the text or url in this object like below example.
id<GPPShare...
Enum with a main method in java
Enum In java
In java we use of enum is not confined to declaring set of constants , introduced in J2SE 5.0, is useful when you want a variable to hold only a predetermined set of values. Just like a class, an enum can have constructors, m...
How can you Create a inner class inside a method
In java can we create a inner class inside a method??
Answer to this query is yes .
Example code :
class Outer
{
String outerVar="outer Variable";
public void checkInner()
{
final Strin...
How to improve selection criteria of your app using Radio button?
Radio Button
A radio button is a two-states button that can be either checked or unchecked. They are normally used together in a RadioGroup. When several radio buttons live inside a radio group, checking one radio button unchecks all the others....
Upload image through AJAX form in PHP
You can easily upload an image through form in PHP.
You need to add JavaScript file for send image data on server side through AJAX.
Please add query.form.js in your code. You may download this js file form following link:
https:...
How to detect tapped word in UItextview
We might face a situation when we need to add action on tapping a particular word from a string on the iPhone screen like a link or a hashtag etc. Now though we can easily add a UITapGestureRecognizer on a UITextView or UILabel, finding the exact...
Responsive layouts to go !
The past year has seen significant increase in the number of people demanding for a responsive layout. This is because the user wants a consistent layout in varied screens of desktop,tab or an I- Phone.
Why is it so?
Web users expect a simi...
Posting on facebook through ios app
Hi all,
If you want to share some useful information on facebook through iphone app then use this code.
Download latest facebook SDK from https://developers.facebook.com/docs/ios/.
#import <Social/Social.h>
SLComposeViewCont...
Multiple Backgrounds with CSS3
Multiple Backgrounds:-
We can use multiple background images in CSS background property using a comma-separated list of values. The the first value in the list represents the top layer, with subsequent layers rendered behind successively.
Bel...