How To Get the User’s Current Location in Android? – GPS Example Help

Today I’m sharing you a working code on how to get the user’s current location in Android. There are many popular apps using this feature such as Google Maps and Facebook. Remember when you checked in a place?

Knowing exactly where your users are located is really cool, but you always have to let them know you are doing it. Asking permission to get user’s location is an ethical way.

One advantage of getting user’s current location is customizing their experience, just like what Twitter does. If you let twitter know your location, it will show top trends or news near you, how cool is that?

how to get user's current location in android?

Continue reading

TextBox with Search Icon in HTML and CSS, Your Instant Search Box Design

Search boxes are a common requirement in almost every website you’ll create. It is very useful when users want to find certain data, it may have auto complete functions for assisting users to search. But it this post I’ll guide you on how to create an input box or TextBox with search icon in HTML and CSS.

Recently I was asked to create this search box with a style that looks like the YouTube search box. Although not exactly the same as YouTube, I still made it with the same style. This can be useful for you too if you want a search box with decent style instantly.

TextBox with Search Icon in HTML and CSS

Continue reading

CSS and jQuery Sliding Drawer Navigation Tutorial, an Android Look-Alike

What I’m sharing with you today is a simple jQuery sliding drawer navigation tutorial whereas the sliding drawer looks like and has the same animation effect just like the Android navigation drawer.

We were able to achieve the animation effects with the help of jQuery UI. So in our code, we will see the inclusion of jQuery UI and its CSS URL.

On the webpage, there’s a trigger located on the upper left corner, that can show or hide the navigation drawer. You can absolutely customize this to look more like an Android action bar but in our example, I’ll use a very simple UI just to get you started.

jquery sliding drawer navigation tutorial

Continue reading