Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error, cannot find a connected device #3

Open
thoughtcastdavid opened this issue Oct 12, 2018 · 0 comments
Open

Error, cannot find a connected device #3

thoughtcastdavid opened this issue Oct 12, 2018 · 0 comments

Comments

@thoughtcastdavid
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant