If you work with PHP, you notice that this URL:
http://yoursite.com/index.php?post=2 is not pretty at all. There is term “Pretty URL” and a lot of tutorials how to make your URL prettier. In this post I’m going to share a few line of
.htaccess codes to make your URL more prettier.
Continue reading Very easy and simple .htaccess & PHP tutorial
Imagine if we have some divs, and we want to show them one by one like a gallery, by providing users two buttons to navigate to previous or next div. How do we code it? In this tutorial I’ll share how I do it by using jQuery.
Continue reading How to hide or show previous or next div with jQuery
Sometimes we ask our users to type in something and we only accept alphabet numbers and/or letters, so they should not type something like #$%!@$&%(…
This is Java source code for Android, providing you with two functions: to take a photo using camera and to pick an image from gallery.
Continue reading Picking an Image and Taking Photo in Android – Java source code
In this example, user’s device is showing it’s current latitude and longitude every 5 seconds. Coordinates are displayed inside Android Toast.
Continue reading Getting user’s latitude and longitude in Android – Java source code
To upload an image from Android device to online server using PHP, first we need to create a PHP script to handle “post” request and store the image to a folder. So write this simple script on your server:
Continue reading Pick an Image from Android device and upload it to server using PHP
Initially if we use a WebView in our Android app, if there is a link and we click it, an intent manager is being called and asking how do we want to open that link. But we can manage it to open that link inside current that WebView or regular web browser.
Continue reading How to make Android’s WebView opens a link inside or outside current app?
We can make an interesting search input by styling it with css, by adding search icon like what we see in this image:
Continue reading How to create an HTML input box with search icon inside it?