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

Search In

start one application from another

If you want to launch a application B from your application A then you can launch that by using intent Like this : First define application B package name so that we can set launch intent : Intent myIntent = getPackageManager().getLaunchIntentForP

Download a file programatically

In Android we can download a file from a given url so that we can use that file's data without downloading again and again so we save that file in internal or external storage of device. you can use this method to download your file, you have to pas

How to get device local ip address ?

Every android device has a local ip address and we can easily get that ip address for our backend purpose like we can save that ip address to our server. In below method NetworkInterface is a interface that provides many methods to get device networ

How to handle default error in PHP

We can handle default error in PHP in a very simple way. This can be done by sending an error message with its filename, error line number and a message that describes the error to the browser. Error handling plays an important role whenever we make

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 the

How to create Singleton class

Sometimes, we need access of some object /data/ variable globally throughout the App. In that case, creating a singleton class which can be accessed through out the app is helpful. App Delegate is a good example of singleton class. After googling f

Generate and Download CSV file using array - php

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 you fi

Traceability Matrix

What is Traceability Matrix Traceability matrix is prepared in order to cross check the test cases designed against each product requirement. Why we use the Traceability Matrix? If you prepared your test cases completely & client changes the r

WP_Query for post pagination

Here is the code to get your posts pagination. Here you give the number of posts which you want to print in the every page. Chang something according your custom post type or other. // WP_Query arguments $paged = (get_query_var('paged')) ?

Saving an image into SDcard in Android

Sometime we need to save images on SDcard that we click or get from server in many applications, and you can do it very easily by using the below code. To save Images on SDcard on Android Device, write the following code: ByteArrayOutputStream bos

1 42 115
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: