Blogs On Programming

About Programming

A programming language is a special computer language (set of rules) use to develop software programs. The description of a programming language is usually split into the two components of syntax and semactics (meaning). Programming languages usually contain abstractions for defining and manipulating data structures or controlling the flow of execution.

Under The Programming

Programming have few more topics.









Tips and Tricks

Tips and Tricks

Jquery-Java Script

Jquery-Java Script

Set background image randomly from gallery in android

How do I set a picture as my background on my Android?

Hmm, I think you want to show the background image in your open activity view. But you want to show this one from your gallery and it should be selected randomly from your gallery....

How to open link externally from android webview

Android open url external browser and internal WebView

You can open link of the WebView externally from android webview without leaving the app. For this action you need to set a WebViewClient class in your WebView. No n...

How do I hide an element when printing a web page

Hide specific elements while printing web page

Sometime we need to show all content on the web page but hide some content for the print. So, you can use this trick for that. Hide specific elements while printing web page: To hide an element, you...

How to get hashtag value on hashchange

Javascript trigger hashchange

You can get the value of #hashtag from the URL if user click on any link in your page. There are two ways to find the id,  First by using Javascript and the second&n...

Add and Remove event listener javascript

Enable and Disable scroll with event listener javascript

Add and Remove event listener with javascript is very simple. First, you need to create your function with your business logics. We have taken an example of stop and start scrolling&nbs...

How to find minimum value of an array

Minimum value of an array using foreach loop

It's very simple to find the minimum value of an array using foreach loop. Create an array with some numeric value. Now create a temporary variable $temp in which stored array’s first index&rsqu...

Find the Largest Number in an Array using php

Example  for getting largest number in an array

Example  for getting largest number in an array: $array = array(20,18,95,45,48); $max1 = 0; $max2 = 0; for($i=0; $i<count($array); $i++) { if($array[$i] > $max1) { ...

Call by reference in php with example

Reference variable in php with example

Let's understand the concept of call by reference by the help of examples. Variable $str is passed to the adder function where it is concatenated with 'Call By Reference' string. Here, printing $str v...

android app play store