public events in android
What all system events are made public / shared and are accessible from within my android app ? e.g.
Events shared by other applications : new email receiv开发者_StackOverflow中文版ed, calender meeting started etc,
Events shared by system : system going to be rebooted, a processes taking lot of CPU etc.
Can you point me any blogs/documentation in this regard ?
Thanks
You need to learn about Intents.
You fire an Intent to another app to request it to do something for you
http://developer.android.com/reference/android/content/Intent.html
You can also listen for global events (text messages received, bluetooth turned on etc):
http://developer.android.com/resources/faq/commontasks.html#broadcastreceivers
精彩评论