Home | History | Annotate | Download | only in nfc

Lines Matching refs:uriString

342         String uriString = uri.toString();
343 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty");
347 if (uriString.startsWith(URI_PREFIX_MAP[i])) {
349 uriString = uriString.substring(URI_PREFIX_MAP[i].length());
353 byte[] uriBytes = uriString.getBytes(Charsets.UTF_8);
366 * The uriString parameter will be normalized with
370 * {@link IllegalArgumentException} may be thrown if the uriString
377 * @param uriString string URI to encode.
379 * @throws IllegalArugmentException if the uriString is empty or invalid
381 public static NdefRecord createUri(String uriString) {
382 return createUri(Uri.parse(uriString));