开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜