开发者

Firing an activity on receipt of some file over bluetooth

Is it possible in android to start an activity on receiving a file over bluetooth? I do not have a bluetooth connection established inside the application. I wish to know if a user e开发者_开发技巧xternally accepts a file, could my application register this event and start an activity. Maybe by checking for a specific file name in a known path.

I have looked into passing intents of various kinds to even start activities residing in other applications.

Thank you.


i think it can be done with BroadcastReceiver and BroadcastReceiver.PendingResult

But PendingResult is available only in honeycomb(int version 11).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜