Files
android_development/samples/JetBoy/_index.html
Scott Main 04680858a0 docs only.
Add new web pages for sample apps included in the SDK.
Revise the existing sample app web pages.
Delete screenshots for notepad and lunar lander (these have
moved into frameworks/base/docs/html/guide/samples/image/.
2009-08-24 15:27:00 -07:00

25 lines
1.3 KiB
HTML

<p>JetBoy is a sample game that demonstrates the use of the
<a href="/reference/android/media/JetPlayer.html">android.media.JetPlayer</a>
class to implement an interactive music soundtrack in an application. JetBoy uses
<a href="/guide/topics/media/index.html#jet">JET content created with
JetCreator</a> and game-generated events fed to JetPlayer
to adapt the soundtrack to the user actions. Listen to how the melody picks
up when you start shooting asteroids, how you are congratulated when you
hit several asteroids in a row, or destroy enough of them in the allotted time.</p>
<p>The JetBoyView.java file in JetBoy illustrates the loading of JET content
(loading a file, queuing segments), its playback, and how to alter what
is currently playing (use of clips and mute masks).</p>
<p class="note"><strong>Note:</strong>
The <code>JETBOY_content/</code> directory is empty in this online presentation of
the application. For complete access to all the JetBoy files, see the sample code included
in the SDK, located at <code>&lt;sdk>/platforms/&lt;platform>/samples/JetBoy/</code>.
</p>
<p><strong>See also:</strong><br/>
<a href="/guide/topics/media/jet/jetcreator_manual.html">SONiVOX JETCreator User Manual</a><br/>
<a href="/reference/android/media/JetPlayer.html">JetPlayer class</a></p>
<img alt="" src="/guide/samples/images/JetBoy.png" />