Webspeaks

Monday, August 27, 2012

Implementing Openlayers Maps - Free Alternate of Google Maps

Openlayers makes it easy to put a dynamic map in any web page. It can display map tiles and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. OpenLayers is completely free, Open Source JavaScript. In this tutorial I will show show how to implement Openlayer maps in your webpage. See the live demo.

Monday, August 13, 2012

Upload Files from Android to Server Using Multipart Post Entity

Uploading files and data from an Android device to a server is not a big deal until you are doing this on a high end (high memory) device. But if the memory of your device is low and the size of the file being uploaded is large, then your android application may crash at some moment giving the 'Out of memory' error. To avoid this 'Out of memory' error while uploading files through android device, you need to use the 'Multipart entity' client by apache. You need to download the jar files and then add to your Android project.

Thursday, August 9, 2012

Post Link on Facebook Timeline using CURL and PHP

If you want your web application to post links on the Facebook timeline then this article is for you. In this tutorial I will tell you how to post a link on your Facebook timeline with an image. Here we will post an image with the link. Note that Facebook shows the image posted with the link from its original location i.e the image is not actually uploaded on Facebook server. So you need to upload the image to a publicly accessible server so that it can be accessed by Facebook. Here is the live demo.