how to share content from one activity to another email or mobile no using button.Click

Dear all

I have single activity app and place one button "SHARE" and after button click I want that whole content on that activity should be share to other mobile no or emaile or whatsApp. I am using xamrin visual studio 2015.
how to do that .pl help.

Answers

  • Nobody is replying

  • is there any example without using actionbar I want to use button

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Which platform? Using Xamarin.Forms or Xamarin.iOS or Xamarin.Android? Is your question about using a button rather than Action Bar, or about how to share (I suspect the latter). You need to be clearer about where your problem lies and what research you have already done.
  • Dear JamesLavery
    Thanks for reply
    I am using visual studio 2015 & C# android project and I want to use button instead of action bar and also how to share content from activity.
    Sunil Bhagwat

  • prashantvcprashantvc USXamarin Team Xamurai

    You can use the ShareActionProvider, we have sample code here: https://developer.xamarin.com/samples/monodroid/ShareActionProviderDemo/

  • Dear Prashantvc

    As Per my original question I have place one button "SHARE" on activity and don't want to use action bar above app.
    codes for share button click.

    Sunil Bhagwat

Sign In or Register to comment.