Skip to content

Use device names instead of address #37

@jackss011

Description

@jackss011

In the ConnectionDialogFragment device list Socket#getHostName() should be used instead of Socket#getHostAddress().

NOTE: Socket#getHostAddress()is a network operation, thus it shouldn't be done on the UI thread.

Two solutions:

  1. Return an Object {name, address} in Beacon
  2. Create an AsyncTask<Socket, Void, Name> to fetch the name

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions