Helper methods for calling methods added in Gingerbread (2.3, API level 9).
- Author
- lizlo.nosp@m.oney.nosp@m.@goog.nosp@m.le.c.nosp@m.om (Liz Looney)
Definition at line 36 of file GingerbreadUtil.java.
◆ clearCookies()
static boolean com.google.appinventor.components.runtime.util.GingerbreadUtil.clearCookies |
( |
CookieHandler |
cookieHandler | ) |
|
|
static |
Clears the cookies in the given cookie handler. Cookies can only be cleared if the cookieHandler is a CookieManager with a non-null CookieStore.
- Parameters
-
cookieHandler | the cookie handler where cookies should be cleared |
- Returns
- true if cookies were cleared; false otherwise
Definition at line 54 of file GingerbreadUtil.java.
◆ createTextRecord()
static NdefRecord com.google.appinventor.components.runtime.util.GingerbreadUtil.createTextRecord |
( |
String |
payload, |
|
|
boolean |
encodeInUtf8 |
|
) |
| |
|
static |
◆ disableNFCAdapter()
static void com.google.appinventor.components.runtime.util.GingerbreadUtil.disableNFCAdapter |
( |
Activity |
activity, |
|
|
NfcAdapter |
nfcAdapter |
|
) |
| |
|
static |
◆ enableNFCWriteMode()
static void com.google.appinventor.components.runtime.util.GingerbreadUtil.enableNFCWriteMode |
( |
Activity |
activity, |
|
|
NfcAdapter |
nfcAdapter, |
|
|
String |
textToWrite |
|
) |
| |
|
static |
◆ newCookieManager()
static CookieHandler com.google.appinventor.components.runtime.util.GingerbreadUtil.newCookieManager |
( |
| ) |
|
|
static |
◆ newNfcAdapter()
static NfcAdapter com.google.appinventor.components.runtime.util.GingerbreadUtil.newNfcAdapter |
( |
Context |
context | ) |
|
|
static |
◆ resolveNFCIntent()
static void com.google.appinventor.components.runtime.util.GingerbreadUtil.resolveNFCIntent |
( |
Intent |
intent, |
|
|
NearField |
nfc |
|
) |
| |
|
static |
◆ writeNFCTag()
static boolean com.google.appinventor.components.runtime.util.GingerbreadUtil.writeNFCTag |
( |
NdefMessage |
message, |
|
|
Tag |
tag |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- C:/Users/Ulli/appinventor-sources/appinventor/components/src/com/google/appinventor/components/runtime/util/GingerbreadUtil.java