am 8e567707: docs: add update information to some samples

* commit '8e56770703951a9ee8255def50209f4dc0322584':
  docs: add update information to some samples
This commit is contained in:
Scott Main
2011-10-14 11:12:42 -07:00
committed by Android Git Automerger
4 changed files with 28 additions and 6 deletions

View File

@@ -16,6 +16,26 @@ that illustrate the use of various Android APIs. It includes samples of:
<li>And many many more...</li> <li>And many many more...</li>
</ul> </ul>
<div class="note">
<p><strong>Update:</strong> The following are some of the new demos for Android 4.0:</p>
<ul>
<li><a
href="src/com/example/android/apis/preference/PreferencesFromCode.java">SwitchPreference</a></li>
<li><a
href="src/com/example/android/apis/app/ActionBarActionProviderActivity.java">ShareActionProvider
</a></li>
<li><a href="src/com/example/android/apis/view/SearchViewActionBar.java">Collapsible action
view</a></li>
<li><a href="src/com/example/android/apis/app/FragmentCustomAnimations.java">Custom
fragment animations</a></li>
<li><a href="src/com/example/android/apis/app/RemoteService.java">Service bindings</a></li>
<li><a href="src/com/example/android/apis/view/OverscanActivity.java">Full screen UI modes</a></li>
<a><a href="src/com/example/android/apis/graphics/TouchPaint.java">Stylus and hover
support</a></li>
<li><a href="src/com/example/android/apis/view/Switches.html">Switch widget</a></li>
</ul>
</div>
<script type="text/javascript"> <script type="text/javascript">
// This is a totally temporary hack to display the following content only // This is a totally temporary hack to display the following content only

View File

@@ -42,8 +42,6 @@ handsets by reusing fragments in separate activities when on smaller screens.</p
ActionBar, demonstrating how to smoothly transition between states ActionBar, demonstrating how to smoothly transition between states
in your application.</li></ul> in your application.</li></ul>
<div style="overflow:auto"> <img alt="Screenshot" src="../images/hcgallery.png" />
<img alt="Screenshot" src="../images/hcgallery.png" style="float:left" /> <img alt="Screenshot" src="../images/hcgallery-phone1.png" />
<img alt="Screenshot" src="../images/hcgallery-phone1.png" style="float:left;padding-left:1em" /> <img alt="Screenshot" src="../images/hcgallery-phone2.png" />
<img alt="Screenshot" src="../images/hcgallery-phone2.png" style="float:left;padding-left:1em" />
</div>

View File

@@ -4,7 +4,7 @@ available on the device or specify a URL from which the media should be
streamed. It also illustrates how to use the notification system to indicate streamed. It also illustrates how to use the notification system to indicate
an ongoing task and how to deal with audio focus changes.</p> an ongoing task and how to deal with audio focus changes.</p>
<p><strong>Update:</strong> This sample also illustrates how to use the <p class="note"><strong>Update:</strong> This sample also illustrates how to use the
<code><a href="../../../reference/android/media/RemoteControlClient.html">RemoteControlClient</a></code> <code><a href="../../../reference/android/media/RemoteControlClient.html">RemoteControlClient</a></code>
class added in API level 14 to integrate with music playback remote controls class added in API level 14 to integrate with music playback remote controls
such as those found on the lockscreen.</p> such as those found on the lockscreen.</p>

View File

@@ -26,6 +26,10 @@ AbstractThreadedSyncAdapter</a></code> abstract class and implementing the
<code>onPerformSync()</code> method, which gets called whenever the sync manager <code>onPerformSync()</code> method, which gets called whenever the sync manager
issues a sync operation for that sync adapter. </p> issues a sync operation for that sync adapter. </p>
<p class="note"><strong>Update:</strong> This sample has been updated for Android 4.0 to
demonstrate new features, including: syncing and viewing contact groups, handling the "invite"
intent, and a few other improvements.</p>
<p> The cloud-based service for this sample application is running at: </p> <p> The cloud-based service for this sample application is running at: </p>
<p style="margin-left:2em;">http://samplesyncadapter2.appspot.com/</p> <p style="margin-left:2em;">http://samplesyncadapter2.appspot.com/</p>