That description seems to cover everything you need (except holding
the two phones together back-to-back, but I assume you've done that
too). You can also check for error messages in logcat.

I can't think of anything going wrong with uploading the api demo
example, but just to double check you can try my simple app which you
find by searching for "ndef push" on the market.

Can you use other NFC features of the phones (scan tags etc)? Perhaps
one of them is broken.

On 11 Aug, 17:16, musfiq <musfiqu...@gmail.com> wrote:
> I have 2 Google nexus S phone with android version 2.3.4. I have
> uploaded "Api demo" example in 
> both.http://developer.android.com/resources/samples/ApiDemos/src/com/examp...
>
> When I try to run ForegroundDispatch in one mobile and
> ForegroundNdefPush in another, no tag transfer is happening. Both
> mobile have NFC enabled. Am I  missing something?
> /Musfiq
>
> On Aug 10, 1:11 am, Michael Roland <mi.rol...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hallo Musfiq,
>
> > it might help if you posted some of the relevant code.
>
> > br,
> > Michael
>
> > On Aug 9, 3:46 am, musfiq <musfiqu...@gmail.com> wrote:
>
> > > Hi:
> > > I am trying to share a string between mobile phones using NFC. I want
> > > the same application to send the tag and another to receive the tag in
> > > two different role (Sender and receiver).  I have tried to use
> > > "enableForegroundNdefPush" in the sender side and "
> > > enableForegroundDispatch" in the receiver side. But it isnotworking.
> > > Can anyone please help?
> > > /Musfiq

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to