Monday, 19 January 2015

App share sample code

Intent i = new Intent(Intent.ACTION_SEND);
            i.setType("text/plain");
            i.putExtra(Intent.EXTRA_SUBJECT, "Sharing URL");
            i.putExtra(Intent.EXTRA_TEXT,
                    "https://play.google.com/store/apps/details?id=com.example.first");
            startActivity(Intent.createChooser(i,
                    "Share the app URL"));

No comments:

Post a Comment

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...