Why we use dp instead od px in android ?

Why we use dp instead od px in android ?

Due to different resolutions of devices we can't use pixels (px) because it varies device to device .........   that's why we use Density pixel (dp)  which is same for all devices ............ :)     And you can also use Scale-independent Pixels - this is like the dp

[ read more ]

Bounded Type Parameters

In this section, you will learn how we can bound the type parameter. We can bound the types which are permitted to be passed to type parameter section. For example, we can create a method that operates only on number or its subclasses like Integer, Float etc. Restricting type parameters sectio

[ read more ]

Ajax – Print Date and Time

In this section we will create a simple Ajax Application for displaying the current date and time. Date and time information are retrieved asynchronously from the server side php script. Our HTML page calls serverside php script to retrieve the today's date. Once the time data is retrieved from t

[ read more ]

Display server IP address dynamically with the help of AJAX

In the following example we will see how to display server IP address dynamically with the help of AJAX, HTML , & PHP. SimpleAjax.html <html> <body> // <![CDATA[ javascript" > // ]]> function ajaxfunction() { var xmlhttp; if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRe

[ read more ]

Calling Web Services from HTML Pages using JavaScript

Download source files - 96.72 KB Introduction Hello everyone. In this article, I wanted to show you 'how to call a web service and pass parameters to its methods through HTML pages'. I hope it will be useful. For this article, we need to create a web service and a web site. Assume that our web

[ read more ]

Windows 95 on iPhone 3G!!

  In this new world of smart phones, 3gs, web 2(3).0, twitter, facebook etc we hardly remember the old legacy softwares that we used in early days of technological evolution of computer world. But people come up with some strange, weird or you can say innovative idea. Like this one; the Devel

[ read more ]

Google Map Geocoding Tutorial with Example

  Google Map API has been a great way to show geographical information on web. A lot of mashup tools like this, have been created around Google Maps to show a wide variety of data. In my previous article about Introduction to Google Maps API, I had described basic APIs to integrate Google Map

[ read more ]

Creating a simple Twitter Reader(Client) in 5 minutes!!

Twitter, The popular micro blogging and real time update site has changed the way we interact in internet world. Not only it has became a source of latest updates/news going in world, but also an addiction to lot of those who tweets regularly. Twitter has provided lots of API that can be used to Ge

[ read more ]

Create your own Search Engine(Interface) using Google Custom Search API

Google Custom Search API are wonderful tools to create some awesome search engine like tools. Also if you want to add a search option to your website and customize the look and feel of your search results, Google Custom Search API serve best to you. I have created a Real Time Search engine (I call

[ read more ]

Java: Passing Array to Oracle Stored Procedure

This tutorial guides us on how to pass Array objects from Java to stored procedures in Oracle and also, how to retrieve an array object in Java. All PLSQL arrays can not be called from java. An array needs to be created as TYPE, at SCHEMA level in the database and then it can be used with ArrayDesc

[ read more ]