Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to create scrollbars in Unity3D

Scrollbar in Unity3D Scroll bars let a user choose the direction and distance to scroll through information in a related window or list box. Scrollbars are very common on all languages.. In Unity we can also build our own scrollbars. It...

What is And Why to do Regression Testing ?

What is :- Regression testing ensures that quality of software is not disturbed because of the changes made.. Regression testing is used to ensure effectiveness of fixed bugs in the Application. Which means when a tester finds the bugs in t...

Camera Simulation in iOS Simulator.

Every now and then the Xcode developers have to make use of the iPhone camera to click pics, photos and even different types of symbols and codes like bar code and more recently the QR Codes (Quick Response codes). The primary problem faced by...

Skinning a Character in Maya using Component Editor

Skinning a Character in Maya using Component Editor Tutorial #1 Intermediate In the following tutorial we will learn the alternate way to skin the mesh in Maya apart from usual painting based skinning . We will use Mayas multip...

Skype, Sign in bar is not visible in Windows Operating System

If sign in bar is not visible in Skype, then you can follow the following steps: Step 1 : Go to Windows Start Step 2 : Select All Programs Step 3 : Select Accessories Step 4 : Right click on Command Prompt Step 5 : Select "Run as a...

How to get SMS from an Android Device programatically

To get SMS conversation from an Android device we will use following code: ContentResolver contentResolver = getActivity().getContentResolver(); Uri uri = Uri.parse("content://sms/conversations/"); Cursor cursor = con...

Get all image assets from iPhone Image Gallery

Write following code in .h file Add first the assets library framework from BuildPhase -> Link Binary with libraries import framework in .h AssetsLibrary/AssetsLibrary.h Declare properties @property (nonatomic, retain) ALAsset...

Validation And Verification

Validation : Determination of the correctness of the final program or software product from a development project with respect to the user needs and requirements. Validation is usually accomplished by verifying each stage of the software deve...

Associate your actionbar popup menu with the hardware menu button in Android.

Google Kills Android Menu Button, Replaces It with Action Bar But still so many devices have hardware menu button so now we can combine hardware menu button along with action bar option popup menu by just doinig a small trick. When you clicks...

Convert date into specific day of week

The following code is to convert day into specific day of week like Sunday , Monday , today , tomorrow etc. and after 7 days you want to show only that date, then this code will help you. NSDateFormatter *formatter = [[NSDateFormatter alloc]...

SSL By Pass

When we have a client/server application. There is certificate(SSL installed) in server side. So In that case we have a problem , how to extract data.In this case we can by pass the SSL just writing few lines of code. Write the below code b...

Change day in date through coding.

The following code changes the day from the given "date" for example: if you want to add or subtract 5 days from the date put a value 5 or -5 respectively for "timeSliceDay". -(NSString *)getTimeSliceDate:(NSString *)date format:(NSString *)fo...

How to create simple drop down navigation menu using css3

Hello readers ! This blog is about how to make a simple drop down navigation menu. First of all you need an unorder listing(ul-li) in html page as I have taken in example below. After this we come on css. Here we define all classes with...

low sound when recorded audio is played

Sometimes we record audio from AudioRecorder and when we play the same audio, it runs with a quite low volume even if volume is set to 1.0 i.e maximum. Use below lines of code to avoid such issues: AVAudioSession* audioSession = [AVAudioSessi...

Using Property Lists (Plists)

Method to get a value from plist NSString *path = [[NSBundle mainBundle] pathForResource:@"PlistX" ofType:@"plist"]; NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path]; int number = [[[[dict objectForKey:@"One...

Forming Valid Query Strings in jQuery

The jQuery serialize() method turns the form values into a valid querystring, as such you can simply append to the string: firstName=Maurizio&lastName=Tarchini Useful, right? Lets take an example: <p><em></em>...

how to differentiate synchronized block and synchronized method in Java

The synchronization is the mechanism by which we can control multiple threads to access the shared resources. Without synchronization, it is possible for one thread to modify a shared resource while another thread is in the process of using or up...

Making a Blurred Mask

Making Blurred mask in Flash Masking in Flash is very easy..But when we talk about Blurred mask..Not an easy task.. So to make that easy i am posting this blog.. Lets start with "How to Mask an object", there are following steps.. 1.Open ...

Scenario Based Testing

Scenario Based Testing is categorized under Black Box tests and are most helpful when testing is concentrated on the business logic and functional behaviour of the application .Adopting SBT is effective when testing complex applications.Now eve...

Steps to download a file in android using Asynctask

Five Steps for downloading a file using AsyncTask in android Declare the reference of ProgressDialog class in your Activity globally. Ex:- ProgressDialog mProgressDialog; Instantiate the above reference in onCreate() method of activity...

Use pik in Windows

Managing multiple versions of Ruby on Windows can be a harrowing task since RVM is not present for Windows environment. And suppose you want to install different projects which require different version of Ruby and Rails on Windows. Can be a ...

REST based web service

REST(Representational State Transfer) service is basically HTTP based API. Today many sites provide REST based api to access thier data. example : google , twitter , yahoo, ebay. Each URL provide by the website represents a resource; either a...

How to install "Open Jdk" (java developement kit) in Ubuntu(Linux)

**Installation of JDK on Ubuntu is very easy just follow below Steps**: Java is typically installed in /usr/java locate the version you have and then do the following: Open Terminal. Use Command. sudo apt-get install openjdk-7-jdk Af...

Use of Find in set() function in mysql

In some cases, we use find_in_set() instead of in() in mysql. Following is an example, where we should use find_in_set() instead of in() :- Suppose we have a table 'flashdata':- fid productId 1 75,73 2 72...

Incorporate Progress Bar in Unity3D

How to make a progress bar in Unity3D Game Calling LoadLevelAsync like TheDarkVoid suggested will start the loading process. You could put it in a coroutine so other parts of the game can keep running. It returns an AsyncOperation. Example...

PhoneGap is Making life easy

Mobile industry is growing thick and fast in IT word .The war of Mobile OS is getting more and more wild .We have currently Android ,Blackberry,iOS, Windows Phone,Other software platforms,Firefox OS,Sailfish OS, Tizen,Ubuntu Touch OS in market . ...

Some helpful date related code

Get a date after n days -(NSDate*)getNextDayAfterDays:(int)numOfDays from:(NSDate*)date { NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *offsetComponents = [[NSDateCom...

Unity3D: Moving an Object with Keyboard Input

Today we're going to take a first look at the Unity3D game development engine. This engine is pretty easy to use and has gained a lot of popularity in recent years. It supports multiple languages (including C#, JavaScript ,Boo) . 1) The first ...

Inserting data from one table to another

Inserting Data from one database table to different Database table. we can insert or copy data from one database table to another table of different database in SQL Server 2008 using following query keeping one thing in mind that the datatype...

Simple CSS3 Dropdown Menu

Hello Reader ! Here is an example how to make a simple dropdown navigation menu using css3 and i also showing you how to use transition attribute of css3 . I hope this example will help you . --Html-- <ul><li>Home</...

cross-site scripting

XSS is a type of attack in computer security mainly found in web applications that enables attackers to run some script in your web browsers. In other words cross-site scripting occurs when an attacker sends a malicious code through a web page in...

Dynamicaly load more items to the ListView

To dynamically load more items to the ListView when you scroll at the bottom, we implement onScroll() method in which we can find out the which item is visible when we will reach at bottom it will load more items. Following steps are used fo...

How to install JMeter

Steps to install the latest version of JMeter: 1 Enter the URL http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi 2 Click on the zip file of Binary version 3 Save the file to the required location 4 Unzip the file 5 ...

Cropping image without degrading their quality (Using CIFilter's CICrop filter)

The below mentioned code uses CIImage library's CICrop filter to crop the desired area from UIImage. The follwing code deoesn't deals with snapshot as CGContextRef rather crops the original image along with maintaining its quality and aspect rati...

Crop Images without degrading their quality (Using CGContextRef)

Often the images cropped from other images in iPhone SDK are degraded in quality. This is because we take a snapshot of the original image (of the desired area). But the below mentioned code prevents from happening the above mentioned issue. The ...

How to Animate UIView

The following code sets the desired frame to a view with animation. The animation is performed with a duration of 0.4 secs (can be set according to the requirement). [UIView animateWithDuration:0.4 animations:^{ [animateView setFram...

PNG Image masking with rotation and alignment using Imagemagick

We can mask a png image over any other image with rotation and proper alignment. Let say for example, if we need to replace the human face of an image with another face, then we need this type of masking. There are various ways and command with...

Cocos2D Scene Management

One of the building blocks of a cocos2d app is the “scene”.Now,the question arises,What scene is?A scene is specially a node that contains any other nodes visible and is responsible for everything's running on the screen, includin...

Selecting a text field with name using JQuery

JQuery has loads of selectors that can be used to select an HTML Element from a page. One of the common scenario with development for even a simple case of validation requires to check for input fields and to do so we can use a selector that s...

View Hidden Files and Folders In Macintosh

I just love to work on Mac but sometimes a small task can become a herculean task in no time. Ever wondered where is the option to view hidden files and folders on Mac just like Windows has ? Frisking through all the options I realized that the...

Using Bundler in Rails 2.3.x app

Managing Gems in Rails can be infuriating at times especially when Bundler is not present. That is what happens when you use Rails version lower than 3 as it does not come bundled with Bundler. A quick fresh up though as why we use Bundler - ...

HUD (Head Up Display) in Unity

HUD (Head Up Display) A head-up display or heads-up displayalso known as a HUDis any transparent display that presents data without requiring users to look away from their usual viewpoints. The origin of the name stems from a pilot being able ...

How to add, update and delete the records into the database using linq

UserEntities objUserEntities= new UserEntities();/*Create object of user entity /* Add records into the database */ public void AddUser(User objUser) { objUserEntities.AddToUsers(objUser); /*Linq has its own function to ...

Beginners guide to Search Engine Optimization (Part 1)

SEO- Keyword Research and Tagging (Part 1) Search engine optimization is the Godfather of online marketing. The position of your web page on the SERP (Search Engine Results Page) determines how much traffic your page has and consequently the...

Play with AJAX - Liferay

Ajax is one of those patterns that are a must have with a UI framework, so let's go ahead and jump right into doing some Ajax requests, and then we'll dive into the more complex cases. Let's prep our sandbox, the module we're going to use is c...

Input Button padding in ie 7

.button1 input[type='submit'] { background:#C30; padding:6px 30px; color:#FFF; font-size:18px; border:none; cursor:pointer; } <div class="button1"> ...

Loading an external SWF file and Instantiate Class From a swf in flex using as3

SWF files are loaded using the Loader class: 1.Create a new URLRequest object with the url of the file. 2.Create a new Loader object. 3.Call the Loader object's load() method, passing the URLRequest instance as a parameter. 4.Call the addChil...

How to resize images in responsive design

Responsive Image You can make the image auto resize to the max width of the boundary by using max-width:100% and height:auto. img { max-width: 100%; height: auto; }

Responsive web design is working on mobile device and Ipad

The Viewport Meta Tag <meta name="viewport" content=""> Within the content=" " you can enter a load of comma delimited values, but were going to to focus on the fundamental ones for now. For example, if your mobile design is purp...

Building AssetBundles

AssetBundle AssetBundles let you stream additional assets via the WWW class and instantiate them at runtime.Note that bundles are not fully compatible between platforms. A bundle built for any of the standalone platforms (including webplayer) ca...
1 268
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: