title: passing string data from Android MainActivity to PCL TabbedPage xamarin.form
body: <p>Hello everyone Good Day how do I pass string value or data from Android MainActivity to PCL TabbedPage?</p>
  
  <p>MainActivity.cs</p>
  
  <pre><code> using System;
   using Android.App;
   using Android.Content;
   using Android.Content.PM;
   using Android.Runtime;
   using Android.OS;
   using Android.Telephony;
   using Xamarin.Forms;
  
     namespace NegDrClient.Droid
     {
     [Activity (Label = "Neg Client", Icon = "@drawable/logo", MainLauncher = true, ScreenOrientation = ScreenOrientation.Portrait)]
     public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
     {
  
         protected override void OnCreate (Bundle bundle)
         {
             base.OnCreate (bundle);
             global::Xamarin.Forms.Forms.Init (this, bundle);
             global::ZXing.Net.Mobile.Forms.Android.Platform.Init ();
             LoadApplication (new App ());
          }
  
         public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
         {
             global::ZXing.Net.Mobile.Forms.Android.PermissionsHandler.OnRequestPermissionsResult (requestCode, permissions, grantResults);           
         }
  
         public string GetNumber()
         {
            TelephonyManager telephonyManager =
              (TelephonyManager) Forms.Context.GetSystemService(Android.Content.Context.TelecomService);
            var number = telephonyManager.Line1Number;
            return number.ToString(); 
         }
       }
     }
  </code></pre>
  
  <p>I need to call the GetNumber() method so I can assign it to my login entry, Thanks. </p>