I have several buttons that when clicking, emits a sound, I want to make clicking and holding the button appear sharing options, for facebook whatsapp etc how do I do this?, follow my button code
ImageButton sehloiro = (ImageButton) findViewById(R.id.sehloiro);
sehloiro.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
MediaPlayer mp = MediaPlayer.create(MainActivity.this,
R.raw.sehloiromp3);
mp.start();
}
});