How to Add Google Play Services to Android Studio Project

In Eclipse, if we want to add Google Play Services to a project, we’ll simply import the play services project to workspace and add it as a library project. But in Android Studio, if you want to add play services, follow below steps.

Open your project’s build.gradle file and add below line under dependencies module. This will add all the Play Services APIs to your project.

dependencies {
compile ''

You can also selectively add the play services APIs which are necessary to your project.

The below will be add Google Analytics and Maps modules to your app.

dependencies {
compile ''
compile ''
compile ''

For more info Click here for all APIs play services supports.

10 Guidelines to Create Exceptional Web Design, Usability, and User Experience

1. Simplicity

Cramming too much into each page creates confusion. Visitors get frustrated when they have to scan through rows of links and images to find what they are looking for. By keeping your pages simple, your website will be easier to use.
From a usability and UX perspective, simplicity is your friend. And you can employ simplicity in a variety of different ways.

  • Colors – Don’t use too many.
  • Typefaces –The typefaces you choose should be legible at the very least. And when it comes to colors, you shouldn’t use too many
  • Graphics –Only use them if they’ll help a user complete a task or perform a specific function

2. Design is paramount

When you meet someone for the first time, you want to make a good first impression. The same should be true for your website. The overall look and feel of your site is the first thing your visitors will notice.

3. Navigation

There are few things more frustrating than not being able to find what you want on a website. Pages should be well-organized with a top-down design so that visitors can easily browse through the different sections of your site.

4. Consistency

Visitors shouldn’t feel like they are visiting a new website each time they open a new page on your site. Consistent design across the pages within your site makes navigation a much easier task.

5. Colors

Color selection can make or break a website. Most of us have visited websites that are simply painful to look at. When choosing colors, use a consistent palette of colors that don’t clash and make sure there is a strong contrast between the text and the background.

6. Responsive

People will access your website using a wide variety of devices – from smartphones to desktop computers. Therefore, it is important that your website displays correctly on different screen sizes. CSS media queries are a great way to implement responsive web design.

7. Multi Browser Support

Browsers are supposed to render webpages the same way, but they don’t. Therefore, make sure to check your website in multiple browsers to make sure everything appears correctly. It is best to catch problems ahead of time instead of relying on complaints from your visitors.

8. Check your Website for Errors

As any experienced editor will tell you, a great piece of work can be tarnished by a small error. If you’re a webmaster, check your websites on a regular basis for typos, broken links, and images that do not load correctly.

9. Write your own code

Whether it’s HTML or PHP, nothing beats writing your code from scratch. If you build your site from templates and pre-written scripts, you will be clueless when something goes wrong. When you code your own pages, you have full control over how they look and act.

10. Don’t forget the content.

Even if your site is beautifully designed, it is only an empty shell without content. A good website has both great design and great content. Therefore, make sure your pages have unique, original content that makes them worth visiting.