You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.7 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Google Inc. All rights reserved.
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.
-->
<sample>
<name>WearSpeakerSample</name>
<group>Wearable</group>
<package>com.example.android.wearable.speaker</package>
<strings>
<intro>
<![CDATA[
A sample that shows how you can record voice using the microphone on a wearable and
play the recorded voice or an mp3 file, if the wearable device has a built-in speaker.
This sample doesn't have any companion phone app so you need to install this directly
on your watch (using "adb").
]]>
</intro>
</strings>
<template src="unmanaged" />
<metadata>
<!-- Values: {DRAFT | PUBLISHED | INTERNAL | DEPRECATED | SUPERCEDED} -->
<status>DEPRECATED</status>
<!-- See http://go/sample-categories for details on the next 4 fields. -->
<categories>Wearable</categories>
<technologies>Android</technologies>
<languages>Java</languages>
<solutions>Mobile</solutions>
<!-- Values: {BEGINNER | INTERMEDIATE | ADVANCED | EXPERT} -->
<level>INTERMEDIATE</level>
<!-- Dimensions: 512x512, PNG fomrat -->
<icon>screenshots/1.png</icon>
<!-- Path to screenshots. Use <img> tags for each. -->
<!-- <screenshots>
<img>screenshots/composite-1.png</img>
</screenshots> -->
<!-- List of APIs that this sample should be cross-referenced under. Use <android>
for fully-qualified Framework class names ("android:" namespace).
Use <ext> for custom namespaces, if needed. See "Samples Index API" documentation
for more details. -->
<api_refs>
<android>android.media.AudioTrack</android>
<android>android.media.AudioRecord</android>
</api_refs>
<description>
<![CDATA[
Sample moved to [github.com/android/wear-os][1].
[1]: https://github.com/android/wear-os
]]>
</description>
<intro>
<![CDATA[
This repo and all Wear OS samples have been moved to [github.com/android/wear-os][1]. Please check out the code there. Thank you!
[1]: https://github.com/android/wear-os
]]>
</intro>
</metadata>
</sample>