All Projects → klinker24 → Wearable Reply

klinker24 / Wearable Reply

Licence: other
Simplify text input for Android Wear 2.0, by voice, keyboard, or canned response.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Wearable Reply

Finish
A non-intrusive library adding a graceful shutdown to Go HTTP servers.
Stars: ✭ 115 (-3.36%)
Mutual labels:  library
Cacache Rs
💩💵 but for your 🦀
Stars: ✭ 116 (-2.52%)
Mutual labels:  library
Androidrate
AndroidRate is a library to help you promote your Android app by prompting users to rate the app after using it for a few days.
Stars: ✭ 117 (-1.68%)
Mutual labels:  library
Libaudiodecoder
The Cross-Platform Audio Decoder API
Stars: ✭ 114 (-4.2%)
Mutual labels:  library
Folding Cell
📃 FoldingCell is an expanding content cell with animation made by @Ramotion
Stars: ✭ 10,035 (+8332.77%)
Mutual labels:  library
Typescript Hapi Starter
🚀 Starter for building APIs with Hapi + Typescript!
Stars: ✭ 117 (-1.68%)
Mutual labels:  library
Netius
Readable, simple and fast asynchronous non-blocking network apps
Stars: ✭ 114 (-4.2%)
Mutual labels:  library
Tik4net
Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.
Stars: ✭ 118 (-0.84%)
Mutual labels:  library
Javaosc
OSC content format/"protocol" library for JVM languages
Stars: ✭ 116 (-2.52%)
Mutual labels:  library
Libmodule
C simple and elegant implementation of an actor library
Stars: ✭ 118 (-0.84%)
Mutual labels:  library
Settings.net
⚙️ Settings.Net - An easy to use .NET library for accessing and storing settings and configurations.
Stars: ✭ 114 (-4.2%)
Mutual labels:  library
Laravel Parse
A Parse SDK bridge for Laravel 5
Stars: ✭ 116 (-2.52%)
Mutual labels:  library
Gliding Collection
Gliding Collection is a smooth, flowing, customizable decision for a UICollectionView Swift Controller. iOS library made by @Ramotion
Stars: ✭ 1,537 (+1191.6%)
Mutual labels:  library
Vusikview
Android library to make notes drop animation for music players
Stars: ✭ 115 (-3.36%)
Mutual labels:  library
Best Of Python
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
Stars: ✭ 1,869 (+1470.59%)
Mutual labels:  library
Aura.ui
A Library with a lot of Controls for AvaloniaUI
Stars: ✭ 114 (-4.2%)
Mutual labels:  library
Truffle Shuffle
An Android data-driven, percentage-based UI Card Gallery Library
Stars: ✭ 117 (-1.68%)
Mutual labels:  library
Vue Ts Lib
Vue 3 library starter in TS with lint, auto release, changelog and tests
Stars: ✭ 119 (+0%)
Mutual labels:  library
Dry Logic
Predicate logic with rule composition
Stars: ✭ 118 (-0.84%)
Mutual labels:  library
Kittehircclientlib
An IRC client library in Java
Stars: ✭ 116 (-2.52%)
Mutual labels:  library

feature graphic

Wearable Reply

While Google made a very nice wearable activity to reply to notifications, they didn't make a good Intent to compose text within apps running Android Wear 2.0. This library aims to simplify allowing text input in your app, via voice, keyboard, or canned responses. Google really should have provided something like this from the start, and not juse kept it for notifications.

Including It In Your Project

To include it in your project, add this to your module's build.gradle file:

dependencies {
	...
	compile 'com.klinkerapps:wearable-reply:1.0.01
}

Usage is really simple. Start the reply activity with:

WearableReplyActivity.start(activity);
WearableReplyActivity.start(activity, R.array.reply_options);
WearableReplyActivity.start(activity, new String[] {"test 1", "test 2" });

If you omit the String[] or the array resource, the WearableReplyActivity will display the default canned responses: "Yes", "No", "Maybe", "Ok", and "Thanks".

When the user has done the text input, the results will be delivered to your Activity#onActivityResult method, and can be pulled with:

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    String result = WearableReplyActivity.getResultText(data);
    if (result != null) {
        Toast.makeText(this, result, Toast.LENGTH_SHORT).show();
    }
}

Contributing

Please fork this repository and contribute back using pull requests. Features can be requested using issues. All code, comments, and critiques are greatly appreciated.

Changelog

The full change log for the library can be found here.

License

Copyright 2017 Luke Klinker

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].