Tutorial by Examples

On calling, an application chooser dialog will appear and by selecting an application you can share your content with it. For calling use this line of code in your program class: share(context, "This is a test message", "Test Subject") Function's definition: public static v...
This example explain how to use an Intent for start a new Activity. You need two activities: CurrentActivity DestinationActivity In CurrentActivity you have to created an Intent. For that you have to specify two arguments: Context: It's CurrentActivity, because Activity is a subclass of C...

Page 1 of 1