MAD_Practical-5_22012012041

What is Intent? Ans : In application if we have to jump from one activity to another or from one application activity to another activity, that is achieved by passing Intent to the system

Types of Intent - There are two types of intent is there 1> Implicit intent and 2> Explicit intent

Types of Intent Action - 1 ACTION_ALL_APPS - List all the applications available on the device.

2 ACTION_ANSWER - Handle an incoming phone call.

3 ACTION_ATTACH_DATA - Used to indicate that some piece of data should be attached to some other place

4 ACTION_BATTERY_CHANGED - This is a sticky broadcast containing the charging state, level, and other information about the battery.

5 ACTION_BATTERY_LOW - This broadcast corresponds to the "Low battery warning" system dialog.

6 ACTION_BATTERY_OKAY - This will be sent after ACTION_BATTERY_LOW once the battery has gone back up to an okay state.

7 ACTION_BOOT_COMPLETED - This is broadcast once, after the system has finished booting.

8 ACTION_BUG_REPORT - Show activity for reporting a bug.

9 ACTION_CALL - Perform a call to someone specified by the data.

10 ACTION_CALL_BUTTON - The user pressed the "call" button to go to the dialer or other appropriate UI for placing a call.

11 ACTION_CAMERA_BUTTON - The "Camera Button" was pressed.

12 ACTION_CHOOSER - Display an activity chooser, allowing the user to pick what they want to before proceeding.

13 ACTION_CONFIGURATION_CHANGED - The current device Configuration (orientation, locale, etc) has changed.

14 ACTION_DATE_CHANGED - The date has changed.

15 ACTION_DEFAULT - A synonym for ACTION_VIEW, the "standard" action that is performed on a piece of data.

16 ACTION_DELETE - Delete the given data from its container.

17 ACTION_DEVICE_STORAGE_LOW - A sticky broadcast that indicates low memory condition on the device.

18 ACTION_DEVICE_STORAGE_OK - Indicates low memory condition on the device no longer exists.

19 ACTION_DIAL - Dial a number as specified by the data.

20 ACTION_DOCK_EVENT - A sticky broadcast for changes in the physical docking state of the device.

21 ACTION_DREAMING_STARTED - Sent after the system starts dreaming.

22 ACTION_DREAMING_STOPPED - Sent after the system stops dreaming.

23 ACTION_EDIT - Provide explicit editable access to the given data.

24 ACTION_FACTORY_TEST - Main entry point for factory tests.

25 ACTION_GET_CONTENT - Allow the user to select a particular kind of data and return it.

26 ACTION_GTALK_SERVICE_CONNECTED - A GTalk connection has been established.

27 ACTION_GTALK_SERVICE_DISCONNECTED - A GTalk connection has been disconnected.

28 ACTION_HEADSET_PLUG - Wired Headset plugged in or unplugged.

29 ACTION_INPUT_METHOD_CHANGED - An input method has been changed.

30 ACTION_INSERT - Insert an empty item into the given container.

31 ACTION_INSERT_OR_EDIT - Pick an existing item, or insert a new item, and then edit it.

32 ACTION_INSTALL_PACKAGE - Launch application installer.

33 ACTION_LOCALE_CHANGED - The current device's locale has changed.

34 ACTION_MAIN - Start as a main entry point, does not expect to receive data.

35 ACTION_MEDIA_BUTTON - The "Media Button" was pressed.

36 ACTION_MEDIA_CHECKING - External media is present, and being disk-checked.

37 ACTION_MEDIA_EJECT - User has expressed the desire to remove the external storage media.

38 ACTION_MEDIA_REMOVED - External media has been removed.

39 ACTION_NEW_OUTGOING_CALL - An outgoing call is about to be placed.

40 ACTION_PASTE - Create a new item in the given container, initializing it from the current contents of the clipboard.

41 ACTION_POWER_CONNECTED - External power has been connected to the device.

42 ACTION_REBOOT - Have the device reboot. This is only for use by system code.

43 ACTION_RUN - Run the data, whatever that means.

44 ACTION_SCREEN_OFF - Sent after the screen turns off.

45 ACTION_SCREEN_ON - Sent after the screen turns on.

46 ACTION_SEARCH - Perform a search.

47 ACTION_SEND - Deliver some data to someone else.

48 ACTION_SENDTO - Send a message to someone specified by the data.

49 ACTION_SEND_MULTIPLE - Deliver multiple data to someone else.

50 ACTION_SET_WALLPAPER - Show settings for choosing wallpaper.

51 ACTION_SHUTDOWN - Device is shutting down.

52 ACTION_SYNC - Perform a data synchronization.

53 ACTION_TIMEZONE_CHANGED - The timezone has changed.

54 ACTION_TIME_CHANGED - The time was set.

55 ACTION_VIEW - Display the data to the user.

56 ACTION_VOICE_COMMAND - Start Voice Command.

57 ACTION_WALLPAPER_CHANGED - The current system wallpaper has changed.

58 ACTION_WEB_SEARCH -Perform a web search.