OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:nfcadapter
(Results
1 - 25
of
87
) sorted by null
1
2
3
4
/frameworks/base/core/java/android/nfc/
NfcEvent.java
25
* {@link
NfcAdapter
}. Check the documentation of the callback to see
32
* @see
NfcAdapter
.OnNdefPushCompleteCallback#onNdefPushComplete
33
* @see
NfcAdapter
.CreateNdefMessageCallback#createNdefMessage
37
* The {@link
NfcAdapter
} associated with the NFC event.
39
public final
NfcAdapter
nfcAdapter
;
41
NfcEvent(
NfcAdapter
nfcAdapter
) {
42
this.
nfcAdapter
=
nfcAdapter
;
[
all
...]
NfcManager.java
22
* High level manager used to obtain an instance of an {@link
NfcAdapter
}.
26
* then call {@link #getDefaultAdapter} to obtain the {@link
NfcAdapter
}.
29
* {@link
NfcAdapter
#getDefaultAdapter(android.content.Context)}.
38
* @see
NfcAdapter
#getDefaultAdapter(android.content.Context)
41
private final
NfcAdapter
mAdapter;
47
NfcAdapter
adapter;
54
adapter =
NfcAdapter
.getNfcAdapter(context);
66
public
NfcAdapter
getDefaultAdapter() {
package.html
14
<dd>This is the high level manager, used to obtain this device's {@link android.nfc.
NfcAdapter
}. You can
16
<dt>{@link android.nfc.
NfcAdapter
}</dt>
19
{@link android.nfc.
NfcAdapter
#getDefaultAdapter(android.content.Context)}.</dd>
23
messages from an {@link android.nfc.
NfcAdapter
#ACTION_TAG_DISCOVERED} intent.</dd>
NfcAdapter.java
53
public final class
NfcAdapter
{
225
// Guarded by
NfcAdapter
.class
235
* The
NfcAdapter
object for each application context.
237
*
NfcAdapter
object.
239
static HashMap<Context,
NfcAdapter
> sNfcAdapters = new HashMap(); //guard by
NfcAdapter
.class
242
*
NfcAdapter
used with a null context. This ctor was deprecated but we have
244
* might throw when called on the null-context
NfcAdapter
.
246
static
NfcAdapter
sNullContextNfcAdapter; // protected by
NfcAdapter
.clas
[
all
...]
NfcActivityManager.java
40
static final String TAG =
NfcAdapter
.TAG;
43
final
NfcAdapter
mAdapter;
109
NfcAdapter
.CreateNdefMessageCallback ndefMessageCallback = null;
110
NfcAdapter
.OnNdefPushCompleteCallback onNdefPushCompleteCallback = null;
111
NfcAdapter
.CreateBeamUrisCallback uriCallback = null;
185
public NfcActivityManager(
NfcAdapter
adapter) {
206
NfcAdapter
.CreateBeamUrisCallback callback) {
231
NfcAdapter
.CreateNdefMessageCallback callback) {
244
NfcAdapter
.OnNdefPushCompleteCallback callback) {
263
NfcAdapter
.sService.setNdefPushCallback(request ? this : null)
[
all
...]
Tag.java
53
* single activity via the {@link
NfcAdapter
#EXTRA_TAG} extra in an
68
* {@link
NfcAdapter
#enableForegroundDispatch
NfcAdapter
.enableForegroundDispatch()} is
70
* {@link
NfcAdapter
#enableForegroundDispatch
NfcAdapter
.enableForegroundDispatch()} for
75
* {@link Context#startActivity} is called with {@link
NfcAdapter
#ACTION_NDEF_DISCOVERED}. For URI
81
* See {@link
NfcAdapter
#ACTION_NDEF_DISCOVERED} for more detail. If the tag does not contain
83
* for {@link
NfcAdapter
#ACTION_NDEF_DISCOVERED} with a matching data URI or MIME type then dispatch
86
* {@link Context#startActivity} is called with {@link
NfcAdapter
#ACTION_TECH_DISCOVERED} to
90
* more technologies in the tag. See {@link
NfcAdapter
#ACTION_TECH_DISCOVERED} for more detail
[
all
...]
/packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java
23
import android.nfc.
NfcAdapter
;
39
private final
NfcAdapter
mNfcAdapter;
46
if (
NfcAdapter
.ACTION_ADAPTER_STATE_CHANGED.equals(action)) {
47
handleNfcStateChanged(intent.getIntExtra(
NfcAdapter
.EXTRA_ADAPTER_STATE,
48
NfcAdapter
.STATE_OFF));
58
mNfcAdapter =
NfcAdapter
.getDefaultAdapter(context);
67
mIntentFilter = new IntentFilter(
NfcAdapter
.ACTION_ADAPTER_STATE_CHANGED);
104
case
NfcAdapter
.STATE_OFF:
110
case
NfcAdapter
.STATE_ON:
120
case
NfcAdapter
.STATE_TURNING_ON
[
all
...]
AndroidBeam.java
22
import android.nfc.
NfcAdapter
;
39
private
NfcAdapter
mNfcAdapter;
68
mNfcAdapter =
NfcAdapter
.getDefaultAdapter(getActivity());
/frameworks/base/docs/html/sdk/api_diff/10/changes/
android.nfc.NfcAdapter.html
10
android.nfc.
NfcAdapter
74
Class android.nfc.<A HREF="../../../../reference/android/nfc/
NfcAdapter
.html" target="_top"><font size="+2"><code>
NfcAdapter
</code></font></A>
86
<A NAME="android.nfc.
NfcAdapter
.getDefaultAdapter_removed()"></A>
87
<nobr><code>
NfcAdapter
</code> getDefaultAdapter()</nobr>
101
<A NAME="android.nfc.
NfcAdapter
.disableForegroundDispatch_added(android.app.Activity)"></A>
102
<nobr><code>void</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#disableForegroundDispatch(android.app.Activity)" target="_top"><code>disableForegroundDispatch</code></A>(<code>Activity</code>)</nobr>
108
<A NAME="android.nfc.
NfcAdapter
.disableForegroundNdefPush_added(android.app.Activity)"></A>
109
<nobr><code>void</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#disableForegroundNdefPush(android.app.Activity)" target="_top"><code>disableForegroundNdefPush</code></A>(<code>Activity</code>)</nobr>
115
<A NAME="android.nfc.
NfcAdapter
.enableForegroundDispatch_added(android.app.Activity, android.app.PendingIntent, android.content.In (…)
[
all
...]
methods_index_additions.html
68
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundDispatch_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundDispatch</b>
70
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundNdefPush_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundNdefPush</b>
80
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.enableForegroundDispatch_added(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], java.lang.String[][])" class="hiddenlink" target="rightframe"><b>enableForegroundDispatch</b>
82
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.enableForegroundNdefPush_added(android.app.Activity, android.nfc.NdefMessage)" class="hiddenlink" target="rightframe"><b>enableForegroundNdefPush</b>
93
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.getDefaultAdapter_added(android.content.Context)" class="hiddenlink" target="rightframe">type  (…)
[
all
...]
methods_index_all.html
70
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundDispatch_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundDispatch</b>
72
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundNdefPush_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundNdefPush</b>
83
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.enableForegroundDispatch_added(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], java.lang.String[][])" class="hiddenlink" target="rightframe"><b>enableForegroundDispatch</b>
85
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.enableForegroundNdefPush_added(android.app.Activity, android.nfc.NdefMessage)" class="hiddenlink" target="rightframe"><b>enableForegroundNdefPush</b>
97
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.getDefaultAdapter_removed()" class="hiddenlink" target="rightframe">type <strike
[
all
...]
alldiffs_index_additions.html
69
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.ACTION_NDEF_DISCOVERED" class="hiddenlink" target="rightframe">ACTION_NDEF_DISCOVERED</A>
72
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.ACTION_TECH_DISCOVERED" class="hiddenlink" target="rightframe">ACTION_TECH_DISCOVERED</A>
139
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundDispatch_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundDispatch</b>
142
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.disableForegroundNdefPush_added(android.app.Activity)" class="hiddenlink" target="rightframe"><b>disableForegroundNdefPush</b>
160
<nobr><A HREF="android.nfc.
NfcAdapter
.html#android.nfc.
NfcAdapter
.enableForegroundDispatch_added(android.app.Activity, android.app.PendingIntent, android.content.In (…)
[
all
...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
NfcAdapterExtras.java
23
import android.nfc.
NfcAdapter
;
28
* Provides additional methods on an {@link
NfcAdapter
} for Card Emulation
32
* a {@link
NfcAdapter
} object.
67
private static final HashMap<
NfcAdapter
, NfcAdapterExtras> sNfcExtras = new HashMap();
72
private final
NfcAdapter
mAdapter;
76
private static void initService(
NfcAdapter
adapter) {
85
* Get the {@link NfcAdapterExtras} for the given {@link
NfcAdapter
}.
90
* @param adapter a {@link
NfcAdapter
}, must not be null
91
* @return the {@link NfcAdapterExtras} object for the given {@link
NfcAdapter
}
93
public static NfcAdapterExtras get(
NfcAdapter
adapter)
[
all
...]
/frameworks/base/docs/html/sdk/api_diff/16/changes/
android.nfc.NfcAdapter.html
10
android.nfc.
NfcAdapter
74
Class android.nfc.<A HREF="../../../../reference/android/nfc/
NfcAdapter
.html" target="_top"><font size="+2"><code>
NfcAdapter
</code></font></A>
86
<A NAME="android.nfc.
NfcAdapter
.getDefaultAdapter_removed()"></A>
87
<nobr><code>
NfcAdapter
</code> getDefaultAdapter()</nobr>
101
<A NAME="android.nfc.
NfcAdapter
.isNdefPushEnabled_added()"></A>
102
<nobr><code>boolean</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#isNdefPushEnabled()" target="_top"><code>isNdefPushEnabled</code></A>()</nobr>
108
<A NAME="android.nfc.
NfcAdapter
.setBeamPushUris_added(android.net.Uri[], android.app.Activity)"></A>
109
<nobr><code>void</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#setBeamPushUris(android.net.Uri[], android.app.Activity)" target="_top"><code>setBeamPushUris</code></A>(<code>Uri[],</nobr> Activity<nobr><nobr></code>)</nobr>
115
<A NAME="android.nfc.
NfcAdapter
.setBeamPushUrisCallback_added(android.nfc.NfcAdapter.CreateBeamUrisCallback, android.app.Activity) (…)
[
all
...]
/frameworks/base/docs/html/sdk/api_diff/14/changes/
android.nfc.NfcAdapter.html
10
android.nfc.
NfcAdapter
74
Class android.nfc.<A HREF="../../../../reference/android/nfc/
NfcAdapter
.html" target="_top"><font size="+2"><code>
NfcAdapter
</code></font></A>
86
<A NAME="android.nfc.
NfcAdapter
.setNdefPushMessage_added(android.nfc.NdefMessage, android.app.Activity, android.app.Activity...)"></A>
87
<nobr><code>void</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#setNdefPushMessage(android.nfc.NdefMessage, android.app.Activity, android.app.Activity...)" target="_top"><code>setNdefPushMessage</code></A>(<code>NdefMessage,</nobr> Activity<nobr><nobr></code>)</nobr>
93
<A NAME="android.nfc.
NfcAdapter
.setNdefPushMessageCallback_added(android.nfc.
NfcAdapter
.CreateNdefMessageCallback, android.app.Activity, android.app.Activity...)"></A>
94
<nobr><code>void</code> <A HREF="../../../../reference/android/nfc/
NfcAdapter
.html#setNdefPushMessageCallback(android.nfc.
NfcAdapter
.CreateNdefMessageCallback, android.app.Activity, android.app.Activity...)" target="_top"><code>setNdefPushMessageCallback</code></A>(<code>CreateNdefMessageCallback,</nobr> Activity<nobr><nobr></code>)</nobr>
100
<A NAME="android.nfc.
NfcAdapter
.setOnNdefPushCompleteCallback_added(android.nfc.NfcAdapter.OnNdefPushCompleteCallback, android.app (…)
[
all
...]
pkg_android.nfc.html
84
<A NAME="
NfcAdapter
.CreateNdefMessageCallback"></A>
85
<nobr><A HREF="../../../../reference/android/nfc/
NfcAdapter
.CreateNdefMessageCallback.html" target="_top"><code><I>
NfcAdapter
.CreateNdefMessageCallback</I></code></A></nobr>
91
<A NAME="
NfcAdapter
.OnNdefPushCompleteCallback"></A>
92
<nobr><A HREF="../../../../reference/android/nfc/
NfcAdapter
.OnNdefPushCompleteCallback.html" target="_top"><code><I>
NfcAdapter
.OnNdefPushCompleteCallback</I></code></A></nobr>
120
<A NAME="
NfcAdapter
"></A>
121
<nobr><A HREF="android.nfc.
NfcAdapter
.html">
NfcAdapter
</A></nobr>
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundNdefPush.java
24
import android.nfc.
NfcAdapter
;
32
private
NfcAdapter
mAdapter;
40
mAdapter =
NfcAdapter
.getDefaultAdapter(this);
ForegroundDispatch.java
26
import android.nfc.
NfcAdapter
;
37
private
NfcAdapter
mAdapter;
52
mAdapter =
NfcAdapter
.getDefaultAdapter(this);
61
IntentFilter ndef = new IntentFilter(
NfcAdapter
.ACTION_NDEF_DISCOVERED);
TechFilter.java
23
import android.nfc.
NfcAdapter
;
40
if (
NfcAdapter
.ACTION_TECH_DISCOVERED.equals(action)) {
/packages/apps/Browser/src/com/android/browser/
NfcHandler.java
22
import android.nfc.
NfcAdapter
;
35
public class NfcHandler implements
NfcAdapter
.CreateNdefMessageCallback {
46
NfcAdapter
adapter =
NfcAdapter
.getDefaultAdapter(activity.getApplicationContext());
/packages/apps/Email/src/com/android/email/activity/
NfcHandler.java
22
import android.nfc.
NfcAdapter
;
39
public class NfcHandler implements
NfcAdapter
.CreateNdefMessageCallback {
46
NfcAdapter
adapter =
NfcAdapter
.getDefaultAdapter(activity);
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java
23
import android.nfc.
NfcAdapter
;
24
import android.nfc.
NfcAdapter
.CreateNdefMessageCallback;
25
import android.nfc.
NfcAdapter
.OnNdefPushCompleteCallback;
44
NfcAdapter
mNfcAdapter;
55
mNfcAdapter =
NfcAdapter
.getDefaultAdapter(this);
118
if (
NfcAdapter
.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction())) {
134
NfcAdapter
.EXTRA_NDEF_MESSAGES);
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
nfc.jd
150
android.nfc.
NfcAdapter
#ACTION_NDEF_DISCOVERED} intent along with the actual payload. However, there
155
encapsulated inside of a {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED} intent instead.</p>
161
{@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.
166
android.nfc.
NfcAdapter
#ACTION_NDEF_DISCOVERED} intent along with other information about the tag,
184
<td>Falls back to {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td>
197
{@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td>
200
<td>Falls back to {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td>
219
<td>Falls back to {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td>
222
<td>Falls back to {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td>
225
<td>Falls back to {@link android.nfc.
NfcAdapter
#ACTION_TECH_DISCOVERED}.</td
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/
NfcHandler.java
26
import android.nfc.
NfcAdapter
;
45
public class NfcHandler implements
NfcAdapter
.CreateNdefMessageCallback {
52
NfcAdapter
adapter =
NfcAdapter
.getDefaultAdapter(activity.getApplicationContext());
/packages/apps/Tag/src/com/android/apps/tag/
TagViewer.java
26
import android.nfc.
NfcAdapter
;
60
if (
NfcAdapter
.ACTION_TAG_DISCOVERED.equals(action)
61
||
NfcAdapter
.ACTION_TECH_DISCOVERED.equals(action)) {
62
Parcelable[] rawMsgs = intent.getParcelableArrayExtra(
NfcAdapter
.EXTRA_NDEF_MESSAGES);
Completed in 1063 milliseconds
1
2
3
4