diff --git a/binder/src/main/java/io/grpc/binder/AndroidComponentAddress.java b/binder/src/main/java/io/grpc/binder/AndroidComponentAddress.java
index <HASH>..<HASH> 100644
--- a/binder/src/main/java/io/grpc/binder/AndroidComponentAddress.java
+++ b/binder/src/main/java/io/grpc/binder/AndroidComponentAddress.java
@@ -16,6 +16,7 @@
 
 package io.grpc.binder;
 
+import static android.content.Intent.URI_ANDROID_APP_SCHEME;
 import static com.google.common.base.Preconditions.checkArgument;
 
 import android.content.ComponentName;
@@ -114,6 +115,13 @@ public class AndroidComponentAddress extends SocketAddress { // NOTE: Only tempo
     return bindIntent.cloneFilter(); // Intent is mutable so return a copy.
   }
 
+  /**
+   * Returns this address as an "android-app://" uri.
+   */
+  public String asAndroidAppUri() {
+    return bindIntent.toUri(URI_ANDROID_APP_SCHEME);
+  }
+
   @Override
   public int hashCode() {
     return bindIntent.filterHashCode();
Add an asAndroidAppUri() method to AndroidComponentAddress. (#<I>)

This returns the address as an "android-app://" uri, which can be

used with AndroidAppNameResolverProvider.