Skip to content

Instantly share code, notes, and snippets.

@xmenxwk
xmenxwk / gist:6153819
Last active December 20, 2015 15:28 — forked from mediavrog/gist:5625602
public class Test
{
public void Test1()
{
// Usage:
// blacklist
String[] blacklist = new String[]{"com.any.package", "net.other.package"};
// your share intent
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");