AI2 Component  (Version nb184)
LollipopUtil.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2017 MIT, All rights reserved
3 // Released under the Apache License, Version 2.0
4 // http://www.apache.org/licenses/LICENSE-2.0
5 
6 package com.google.appinventor.components.runtime.util;
7 
8 import java.util.Locale;
9 
10 import android.telephony.PhoneNumberUtils;
11 
18 public final class LollipopUtil {
19 
20  private LollipopUtil() {
21  }
22 
34  public static String formatNumber(String number) {
35  return PhoneNumberUtils.formatNumber(number, Locale.getDefault().getCountry());
36  }
37 }
com.google.appinventor.components.runtime.util.LollipopUtil.formatNumber
static String formatNumber(String number)
Definition: LollipopUtil.java:34
com.google.appinventor.components.runtime.util.LollipopUtil
Definition: LollipopUtil.java:18