Skip to content

Error, cannot find a connected device #3

Open
@thoughtcastdavid

Description

@thoughtcastdavid

Hi.

  wearSocket = WearSocket.getInstance();
        wearSocket.setupAndConnect(getApplicationContext(), "chillen", new WearSocket.onErrorListener() {
            @Override
            public void onError(Throwable throwable) {
                Log.d("MEx", throwable.getLocalizedMessage());
                //Throws an error here if there is a problem connecting to the other device.
            }
        });

"Error, cannot find a connected device"

That's the error I get when I try

       wearSocket.startDataListener(WatchActivity.this, "myDataPath");
        wearSocket.setKeyDataType("myKey", new TypeToken<List<String>>() {
        }.getType());

wearSocket.updateDataItem("myDataPath","myKey", drawView.publicPath);
Im trying to pass a Path object. My WearOS device also prints the same error message. How do I fix this?

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