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

Search In

How to increase or decrease dates in the given dates

Hello Reader's if you have the current date and you want to get some past dates or future dates then here you can see it. PHP offers you to use inbuilt function strtotime. Lets see how you can adjust the dates with this. Here you will get the next d

How to get Tree structure for array in php

Hello reader's I have created a conversion format that can convert array in tree structure. In this code i use while loop but you can either use the recursive also. So here is the function as below:- function treeze( &$a, $parent_key, $children_

TimelineLite in AS3

In starling we can easily used greensock library. Sometime we need to add two property at the same time on different objects, By using TimelineLite we can do this. here is the code which represents the following. var timeline:TimelineLite = new Tim

How to get images on Canvas from device

Step 1:- Create a custom CanvasView class that must extend View class and includes below function.   1) Declare the required variables in CanvasView class private Drawable mImage; // width and height of original image private flo

Use of strict mode in javascript

strict mode: It is used to catch or throw errors when some unsafe actions are taken and  use strict directive is used to execute javascript code in strict mode. For example: we cannot use undeclared variable in strict mode. use strict can be u

Bounds and Frames in iOS

Hi Readers, This Post is to tell about the BOUND and FRAME in ios. BOUND: The bounds property of a view defines the size of the view and its position in the view's own coordinate system. This means that in most cases the origin of the bounds

Slice an Image into Tiles and Store in an Array Using Swift iOS App

This is a small sample of how we can split an image into multiple pieces/tiles and store these small pieces into an array and further we will show, how these pieces are rearranged to form an image.   So let start with slicing our

How to make Touch Listener Image in Android.

Here I have created and example of Touch Listener Image. In this example a image can pull left, right, up and down easily. It can be used to shift your mobile app icon left and right. For this in below code I have used MotionEvent() method. Below exa

How to create a custom Spinner

To create a custom spinner create a custom view with the following initialization method - (id)initWithFrame:(CGRect)frame superViewFrame:(CGRect)superViewFrame { self = [super initWithFrame:frame]; if (self) { // Initialization code

Divide image in equal parts wrt number of row and number of column.

With the help of following code you can divide UIImage into equal parts w.r.t number of row and number of column. Create a category of UIImageView and UImage and write the following method respectively in them. -(NSArray *)divideImageViewInImage:(i

1 9 137
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: