hey guys i want the share facility in my application... i want to share text on facebook,twitter, google+ and also by email i have used the following code
now i m using emulator for API8(Google) platform 2.2 i have facebook,google+ installed on my emulator and i have also configured my gmail account.. but when i click on share button on click which above code is written i dont get options for sharing on facebook or google+ it direclty takes me to compose mail of gmail account .. why is it so ??? am i doing something wrong?? please help me ... i will be really greatful to you.. thanks in advance.. any help will be appreciated...
Code:
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("plain/text");
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, "My text");
startActivity(Intent.createChooser(sharingIntent,"Share using"));
now i m using emulator for API8(Google) platform 2.2 i have facebook,google+ installed on my emulator and i have also configured my gmail account.. but when i click on share button on click which above code is written i dont get options for sharing on facebook or google+ it direclty takes me to compose mail of gmail account .. why is it so ??? am i doing something wrong?? please help me ... i will be really greatful to you.. thanks in advance.. any help will be appreciated...