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
Download and Install Android paid app for free
Do you want to install paid application present in Google market without wasting your money? If "YES" then you can follow these steps.
Step 1: Open the Google Play in your android device.
Step 2: Search your desired app in search bar.
St...
Marker/Null interface in java
Marker Interfaces or Null interface in Java are special type of interfaces in character as they have no methods declared in them which means that if any classes implementing these interfaces don't have to override any of the methods.
JDK provi...
SQL - Generating XML 2
Every XML has two elements i.e.
1) Attributes and
2) Value
SELECT magazineId AS '@id'
, magazineName AS '@name'
, CoverPage AS '@coverPage'
, isActive AS '@status'
, publishDate AS '@publishDate'
, expiryDate A...
SQL SERVER - Generating XML - 1
Following is the XML which we want to create:
SELECT magazineId
, magazineName
, coverPage
, publishDate
, expiryDate
, isActive
,(
SELECT (
SELECT (
...
Get Facebook permissions status in iPhone
After requesting facebook permissions we can check facebook permissions status using following code.
[FBRequestConnection startWithGraphPath:@"/me/permissions" completionHandler:^(FBRequestConnection *connection,id user, NSError *error) {
...
Convert Facebook Datetime format in iPhone
Convert date format - 2013-10-31T07:41:39+0000 to 2013-10-31 01:48:11 +0000
NSString *dateString = [stringDate substringToIndex:19];
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
formatter.timeZone = [NSTimeZone localTimeZo...
Launch application after phone boot or screen unlock in Android using BroadcastReceiver
We have BroadcastReceiver to listen to the system events. There are receivers like BOOT_COMPLETED, SCREEN_ON, USER_PRESENT which we can register to perform any specific task when phone boots or screen unlocks. The same we are using here to Launc...
How to generate MD5 and SHA-1 fingerprints for an android application
By following these steps you can be able to generate MD5 and SHA1 fingerprint for your android application using command prompt.(It will surely work in windows7)
First of all you need to get the paths for keytool and keystore.
keytool you...
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 ...