Skip to content

What is the destination of 'AdbStream object corresponding to the specified destination'? #15

@emptywalker

Description

@emptywalker

I'm doubt about what is destination at AdbConnection$open(String destination) , the code:


/**
   * Opens an AdbStream object corresponding to the specified destination.
   * This routine will block until the connection completes.
   *
   * @param destination The destination to open on the target
   * @return AdbStream object corresponding to the specified destination
   * @throws UnsupportedEncodingException If the destination cannot be encoded to UTF-8
   * @throws IOException                  If the stream fails while sending the packet
   * @throws InterruptedException         If we are unable to wait for the connection to finish
   */
public AdbStream open(String destination) throws UnsupportedEncodingException, IOException, InterruptedException {

}

i don't clearly that how many the specified destination ; I want to execute adb forward tcp:$port localabstract: $remotePort, what should I set destination ? why ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions