Hi,
I wonder whether your program is working.
I try with nfc demo program, but it does not work with real tag.
Demo works fine, but not with real tag.

Can you suggest anything we need to do on manifest to run my app win
tag is detect.

my menifest looks like

<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="com.example.nfc">
        <uses-permission android:name="android.permission.NFC" />
        <uses-permission android:name="android.permission.CALL_PHONE" />
        <application android:icon="@drawable/icon" android:label="@string/
app_name">
                <activity android:name="TagViewer" 
android:theme="@android:style/
Theme.NoTitleBar">
                        <intent-filter>
                                <action 
android:name="android.nfc.action.TAG_DISCOVERED" />
                                <category 
android:name="android.intent.category.DEFAULT" />
                        </intent-filter>

                </activity>

        </application>
        <uses-sdk android:minSdkVersion="9" />
        <uses-feature android:name="android.hardware.nfc"
                android:required="true" />
</manifest>

On Feb 8, 6:03 am, Mark Wyszomierski <[email protected]> wrote:
> Hi,
>
> If I declare my application to be able to readNFCtags using the
> following:
>
>   <activity
>       android:name=".activities.ActivityFoo" >
>       <intent-filter>
>         <action android:name="android.nfc.action.TAG_DISCOVERED"/>
>       </intent-filter>
>   </activity>
>
> and the user chooses my app as the default for further reads, we're
> essentially wiping out the chance for any other app in the system to
> handle tag reading?
>
> Just wondering how we'll balance this. My tags actually point to
> specific urls, like:
>
>   foo.com/a
>   foo.com/b
>
> So what would be more ideal is to let the OS give the user a chance to
> set a default for a tag read action + a specific url domain pattern
> for example. That seems more fine-grained and appropriate here?
>
> Just wondering what others think on this,
>
> Thanks

-- 
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