Thanks.

Perhaps it has something to do with my PendingIntent, again. All
nfc-logic, reading a tag etc. is realized in an external class. After
that every Activity is only invoking the method of this external
class. The enableForegroundDispatch() invoke is realized in this class
and the activity methods onResume(), onPause(), onNewIntent() are
calling the external methods.

Perhaps if i'm using a PendingIntent:

mPendingIntent =
PendingIntent.getActivity(con.getApplicationContext(), 0, new
Intent(con.getApplicationContext(),
getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0)

is it important which class is used? I mean the Context / Activity is
given to the external class and in the Intent there is the Information
about the context and the external class. Perhaps the dispatching
system has a problem with this procedure where an Intent refers to
non-acitivity class and the onNewIntent()-method is a activity class.
At the current this the point where a inconsistency is possible for
me.

kd,
ft


2011/6/14, Mark Murphy <[email protected]>:
> On Tue, Jun 14, 2011 at 8:19 AM, Ferit T <[email protected]> wrote:
>> So now, i got same problem as before:
>>
>> 06-14 14:16:21.894: INFO/NfcService(7235): Dispatching to override
>> intent PendingIntent{405801c8: android.os.BinderProxy@40543860}
>>
>> Nothing else occurs. No entry into the onNewIntent()-method. Currently
>> the two main activities both are realizing ForegroundDispatch...
>
> Well, you've now exhausted my limited experience with NFC. Hopefully
> someone else will pick up the thread to continue assisting you. Sorry!
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to