the code i used to create FragmentTabHost :( i am designing for android 2.2 to upper)
i have googled a lot but no use so
i have placed all of my code here.
I get error in :

   mTabHost.AddTab(spec);


please help how to solve ??

Activity 2.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Content.PM;
using Android.Support.V4.App;


namespace ANRestaurant.Forms
{
[Activity(Label = "ANRestaurant", MainLauncher = true, Icon = "@drawable/icon", ScreenOrientation = ScreenOrientation.Portrait)]


public class Activity2 : FragmentActivity
{
    FragmentTabHost mTabHost;
    protected override void OnCreate(Bundle bundle)
    {
        base.OnCreate(bundle);


        SetContentView(Resource.Layout.activity_main);
        try
        {
            mTabHost = FindViewById&lt;FragmentTabHost&gt;(Resource.Id.tabhostN  );
            Intent intent;
            intent = new Intent(this, typeof(Fragment1));
            intent.AddFlags(ActivityFlags.NewTask);
            //mTabHost.Setup(this, SupportFragmentManager, Resource.Id.tabFrameLayout);


            TabHost.TabSpec spec;
            spec = mTabHost.NewTabSpec("artists");
            spec.SetIndicator("Artists", Resources.GetDrawable(Resource.Drawable.tab_icon1)  );
            spec.SetContent(intent);
            mTabHost.AddTab(spec);   ======&gt;Here is the error
            //mTabHost.AddTab(
            //        mTabHost.NewTabSpec("tab2").SetIndicator("Tab 2", null),
            //       intent, null);
            //mTabHost.addTab(
            //        mTabHost.newTabSpec("tab2").setIndicator("Tab 2", null),
            //        FragmentTab.class, null);
            //mTabHost.addTab(
            //        mTabHost.newTabSpec("tab3").setIndicator("Tab 3", null),
            //        FragmentTab.class, null);
        }
        catch (Exception ex)
        {


        }
    }
}
}


activity_main.axml

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;android.support.v4.app.FragmentTabHost xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/tabhostN"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;
    &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"&gt;
        &lt;TabWidget
            android:id="@+id/tabs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="0"
            android:orientation="horizontal" /&gt;
        &lt;FrameLayout
            android:id="@+id/tabFrameLayout"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1" /&gt;
    &lt;/LinearLayout&gt;
&lt;/android.support.v4.app.FragmentTabHost&gt;

Fragment1.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;


namespace ANRestaurant.Forms
{
public class Fragment1 : Fragment
{



    public override void OnCreate(Bundle savedInstanceState)
    {
        base.OnCreate(savedInstanceState);


        // Create your fragment here
    }
    public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
    {
        View view = inflater.Inflate(Resource.Layout.fragment1, container, false);
       return view;
         //return base.OnCreateView(inflater, container, savedInstanceState);
    }
}
}


ٍError Is :
Java.Lang.NullPointerException: Exception of type  Java.Lang.NullPointerException  was thrown.
at Android.Runtime.JNIEnv.CallVoidMethod (IntPtr jobject, IntPtr jmethod, Android.Runtime.JValue[] parms) 


Question: Google Apps login in wordpress
Answer: This question was asked a while ago, but for anyone else facing this problem, we have developed a plugin that allows users to login using the latest Google OAuth2 without needing a separate WordPress password.

Google Apps Login is designed specifically for intranets (or any WordPress site) where the organization is running their email entirely on Google Apps.

http://wordpress.org/plugins/google-apps-login/

The plugin is fully supported, through support licenses and a premium version which can save you a lot of time on user management - domain admins no longer need to separately manage WordPress user accounts.