In Android ICS, there are 3 ways to share data by P2P. 1. enableForegroundNdefPush(existed from gingerbread) 2. setdefPushMessage 3. setNdefPushMessageCallback
As I tried, in Android ICS, calling enableForegroundNdefPush pop "Tap to share" UI to beam the data if "Tap to share" setting is on. Is there any way to share data by P2P without popping "Tap to share" UI even if "Tap to share" setting is on as enableForegroundNdefPush did in Android gingerbread.
Moreover, setLocalNdefMessage is removed from ICS, is there other API I could use to replace it?
Thanks for your help.