Custom GooglePlus Android Example

Integrating Google Plus in your android app, you can create a simple authentication process where user can directly login to your app using their Google+ credentials. We can also fetch various user information such as user email, name, profile info etc. through this process. Other than authentication process, we can use google+ integration for fetching friend list, sharing content from G+ and posting purposes also. Google maintains an interesting symbiotic relationship with its users, especially users who generate content (UGC) that Google makes use of. Some of that content is just indexed by Google (Search, Maps).

1. Main Activity

package com.tutorialsee;

import com.tutorialsee.R;

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

public class Login extends Activity {

protected void onCreate(Bundle savedInstanceState) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);