To change the orientation of an image write the following code:
BitmapFactory.Options o2 = new BitmapFactory.Options();
o2.inSampleSize = 2;
// Get the original bitmap from the filepath to which you want to change orientation
// fileName i...

How to use Transaction and Try Catch in Stored Procedure
Suppose you are working on multiple table in a database eg updating, deleting and inserting on multiple table then it is always a good practice to maintain Transaction property as using ...

Hi all,
Sometimes we need to add placeholder in our form fields but it get little bit complex when it comes to form api under Drupal CMS.
There is no hard coded form fields in drupal (In case of content and comment forms), everything is com...

We all know Adobe Photoshop is full of smart and amazing tools, in terms of accuracy and user friendly steps, If you are tired of doing same steps over and over again while enhancing you image or bulk of images, try Actions in Photoshop .
Act...

What if you want to build the iPhone app with iOS sdk 6.0 and want to use some method of iOS sdk 7.0?
There is no such way in Xcode to build the app using two different versions of iOS sdk.
If you use any method which is available only in...

Yesterday i was searching about how to generate and download csv file in php script using array, i google it and found lots of code there but nothing was working according to my requirement then developed this code. Feel free to let me know if yo...

Game design:
Working with silhouettes:
While making the character concept art more often we ignores the very basic principles for character designing called silhouette. Silhouette is an single coloured image of an person painted in black o...

In android playing videos from web-view is such a mess but now just using a small trick you can play all web videos of the YouTube, Daily-motions, etc.
You just have to add this method in your web-view Activity.
Here is the trick-:
...

Features of NGUI :
Easy to implement
Written in optimized c#
It supports iOS, Android and Flash plateform
Intigrated with Unity Inspector.
Quick add template widget using Widget Tool
Every widget is an object as other in Unity.
Resize/...

To drag and drop a movie clip we use two function:
1.startDrag()
2.stopDrag().
startDrag(): is used to drag a specified movieClip. MovieClip remain draggage until explicitly
stopped by making call to stopDrag().one movieclip is dragged at...

What is an e-Commerce?
e-Commerce is doing business online and electronically. e-Commerce is about buying and
selling products and services on the Internet. The sellers are individuals, small
businesses or large corporations. The buyers are...

As eCommerce market in India is about to grow over $24 Billion USD by the end of 2015.To grab the opportunity of this growing market there are many eCommerce stores are coming up and each facilitating new features to make the user experience gr...

HTML 5 is rocking everywhere on the web.The key behind the HTML5 success is the set of powerfull api it provides. These html5 api make a web app server independent in many ways.Such an api or a set of api is webrtc.
Web rtc is most powerfull thi...

In an IOS app development,user can have two methods to download file from server i.e Synchronous and Asynchronous .
So before going ahead ,please take a look to the basic knowledge of these methods .
A Synchronous method is preferable in case...

Hello,
Convert a NSString to NSUrl
If you want to convert a NSString to click able Url then you have to use this code using escape dataString.
NSString *string= [NSString stringWithFormat:@"https://maps.google.com/"];
NSString...

In this blog i'll show how can you make responsive table. To make a table responsive first step is to know "nth-of-type" , that is a selector of css3 you can see that in css as i explain it ( In css - line 50 ), now we will make a table
-...

Red5 Media Server delivers a powerful video streaming and multi-user solution to the Adobe Flash Player and other exciting client technologies. Based on Java and some of the most powerful open source frameworks, Red5 stands as a solid solution fo...

Traditionally, big cities have been the first choice for entrepreneurs to setup and run offshore software development companies. Cities like Delhi NCR, Bombay, Bangalore and Hyderabad are first in that line.
But with time, the technological cha...

Baking IK Animation to the Joint in
Maya
Hi all , welcome to the exciting world of animation .
The purpose of this tutorial is to not to go into details of how to create animation, rather it is about a simple utility in Maya to conver...

Drag and Drop functionality provides user a facility to move a data (or object) from one view to another.
This tutorial will help you with the development of the Drag and Drop functionality in your android application. For this you require API l...

Test factors can be defined as the categories which can affect the components of the project.In others words we can say, for desighning the test cases the following factors are considered:
1.Correctness: Correctness is the minimum requirement...

Unity UI Issues with respect to Platforms
Unity works on the GUI, GUI-Textures for the buttons and labels. Which causes many issues when we shift from one
screen size to another. Either you need to write your code according to percentage or ...

The evolution of touch screen devices has been very rapid along the recent years. One of them is the gesture recognition. The gesture recognition technology is able to recognize many type of gestures made by a single finger or even a multi-finge...

Hello readers !
This blog is about how to make a simple navigation menu .
First of all you need an unorder listing(ul-li) in html page as I have taken in example below.
Now remember you also need an anchor tag after list.
The anchor tag wi...

What is SVN?
1) Subversion(SVN)is a SCM(Software Configuration Management)
Implementation.
2) It allows to track changes in files and directories.
3) It allows concurrent development in same files.
4) It is centralized(one server).
Basic ...

An AudioSource is attached to the GameObject to play sounds in a 3D environment. To play the sounds we need an AudioListener.
The Audio Listener acts as a microphone-like device. It receives input from an Audio Source in the scene and plays sou...

We can get rid of the flash message shown on a webpage in cakephp using setFlash method without refreshing the page by the help of simple Jquery function.
flashMessage is the default html id used by the cakephp while showing flash message.
...

Colliders and its events-
Colliders work with Rigidbodies to bring physics in Unity to life.Rigidbodies allow objects to be controlled by physics. Colliders allow objects to collide with one another.
It is necessary that when two bodies with ...

It is the most dangerous word. Every developer in the world is terrified by it. In our software service industry, where client is king, it is like a stone in his hands which he can throw at the developer anytime and a developer always find themse...

What are Prefabs-
A Prefab is a reusable Game Object stored in Project View . We can have prefabs in number of scenes or multiple times per scene. Adding a prefab in our game is creating an instance of it. All Prefab instances are linked to th...

Sometimes a UITableView needs to have a lot of rows of information. The main problem that arises with having a table view with lots and lots of rows in it is the accessibility of the rows. Imagine a contact book in your phone with 500+ phone numb...

JScript to Check or Uncheck Checkbox in a Grid
Inputs:
GridObject: Object of the grid in which checkbox exists
Column: Column name where value is searched
CellValue: Reference cell value
Status: Check or uncheck the checkbox
funct...

We see situations while developing an app that we need to put certain things inside the Android Dialog box. Here is how we can achieve the same:
First, create the layout that you want to give to the Dialog. Below is a sample layout:
custom_...

A bug may be define as coding error that causes an unexpected defect or fault in a software. Software can become unstable or unusable because of Bug, The affect of some bugs does not seen at the initial development state of software they come up ...

Adding a UITableView in a ViewController is a great way to display data and information in a list, and it is easy to implement as well.
The problem arises when the developer have to implement more than one table views in a viewController u...

HTML stands for HyperText Markup Language. Its a type of text document, where text is marked up by using special tags that inform a program that reads the text in how to render the text. Typically that program is a Web Browser such as Internet Ex...

Sometimes we need to rapidly hit the same API . Like ,"http://myAPI.php?param=123456"
There is a caching problem in IE. Swf hits URL first time and store in to the cache and shows the same result in each response. So to resolved the issue we jus...

Many a times while developing a game in unity3D we encounter issues like crashing in between the game play due to low memmory warnings. This is because the game is consuming unexpectedly high memmory. Developers not usually think of this while de...

In order to move body along with the sprite in cocos2d with box2d,you no need to worry about.
Just take a look to this:-
PhysicsSprite* sprite = (PhysicsSprite*)body->GetUserData();
CGPoint target;
//set target for the body
ta...

Press Tab will hide tool bar and palette, Shift+Tab will hide only palette.
Hold Shift + click the top blue bar for toolbar and palette will move them to the nearest edge.
Double click the top blue bar, on any palette window, to minimize ...