Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f657689a authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am f943b6de: Merge "update video playlists and marquee announcements" into jb-mr1.1-ub-dev

* commit 'f943b6de':
  update video playlists and marquee announcements
parents ec5c93e0 f943b6de
Loading
Loading
Loading
Loading
+38 −35
Original line number Original line Diff line number Diff line
@@ -31,6 +31,22 @@ position:absolute;top:50%;left:0;width:100%;z-index:-1;text-align:center;display
       <div class="frame">
       <div class="frame">
           <ul>
           <ul>


              <li class="item carousel-home">
                 <div class="col-8">
                   <img src="{@docRoot}images/google/gps-location.png"
class="play no-shadow no-transform" style="margin:0 0 0 70px;height:230px;width:340px" />
                 </div>
                <div class="content-right col-6" style="width:350px">
                  <h2>New Location APIs from Google</h2>
                  <p>The latest version of Google Play services includes new APIs that provide more
                  efficient and immediate user location data on devices running Android 2.2
                  and higher. Features include geofencing APIs, user activity recognition, and
                  power-efficient location updates.</p>
                  <p><a
href="{@docRoot}google/play-services/location.html" class="button">Read more</a></p>
                </div>
              </li>

              <li class="item carousel-home">
              <li class="item carousel-home">
                 <div class="col-8">
                 <div class="col-8">
                   <img src="{@docRoot}images/google/gps-plus-signin-hero.jpg"
                   <img src="{@docRoot}images/google/gps-plus-signin-hero.jpg"
@@ -38,11 +54,11 @@ class="play no-shadow no-transform" style="margin:0 0 0 40px;max-height:250px;he
                                           max-width:409px;width:409px" />
                                           max-width:409px;width:409px" />
                 </div>
                 </div>
                <div class="content-right col-6" style="width:350px">
                <div class="content-right col-6" style="width:350px">
                  <h2>Google+ Sign-in for your Android Apps</h2>
                  <h2>New Cross-Platform Single Sign On</h2>
                  <p>Google+ Sign-In is an easy, trusted way to sign a user into your app,
                  <p>Google+ Sign-In is an easy, trusted way to sign a user into your app.
                  and get more Android installs when people visit your website.
                  Now it's even more seamless. A user can sign in to your app on one device and
                  When users sign in with Google on the web, they have the option to instantly
                  pick it up on another&mdash;without signing in again. Best of all, it's built
                  install your Android app without ever leaving your website.</p>
                  into Google+ Sign-in, so there's no change needed in your app.</p>
                  <p><a
                  <p><a
href="{@docRoot}google/play-services/plus.html" class="button">Read more</a></p>
href="{@docRoot}google/play-services/plus.html" class="button">Read more</a></p>
                </div>
                </div>
@@ -89,19 +105,6 @@ src="//lh4.ggpht.com/-6K1kfNOdek8/T72bXvtTSQI/AAAAAAAABmw/kYzmJt0_328/s1600/goog
                   <p>You can now set up a <strong>free trial period</strong> for any Google Play in-app subscription, making it easy for users try your subscriber content before automatically converting to a full subscription. Free trials give you a new way to bring users into your products and engage them effectively. </p>
                   <p>You can now set up a <strong>free trial period</strong> for any Google Play in-app subscription, making it easy for users try your subscriber content before automatically converting to a full subscription. Free trials give you a new way to bring users into your products and engage them effectively. </p>
                   <p><a class="button"
                   <p><a class="button"
href="{@docRoot}google/play/billing/v2/billing_subscriptions.html#trials">Read
href="{@docRoot}google/play/billing/v2/billing_subscriptions.html#trials">Read
more</a></p>
                   </div>                
                </li>
               <li class="item carousel-home">
                   <div class="col-8">
                     <img
src="//lh4.ggpht.com/-MgN5DnoO5XU/UHYGYzTcAOI/AAAAAAAABs4/jTS7sKkfBcM/s1600/pubsites.png" class="play"></div>
                   <div class="content-right col-6">
                   <p class="title-intro">From the blog:</p>
                   <h2>New Google Play Developer Console</h2>
                   <p>All developers can now try the <strong>new Google Play Developer Console</strong>. With a streamlined publishing flow, new language options, and new user ratings statistics, you’ll have better tools for delivering great Android apps that delight users.</p>
                  <p><a
href="http://android-developers.blogspot.com/2012/10/new-google-play-developer-console.html" class="button">Read
more</a></p>
more</a></p>
                   </div>                
                   </div>                
                </li>
                </li>
@@ -121,6 +124,16 @@ more</a></p>
			<div class="feed-frame">
			<div class="feed-frame">
                                <!-- DEVELOPER NEWS -->
                                <!-- DEVELOPER NEWS -->
          <ul>
          <ul>
            <li><a href="//android-developers.blogspot.com/2013/05/new-ways-to-optimize-your-business-in.html">
              <div class="feed-image" style="background:url('//4.bp.blogspot.com/-VmHMT66JjxU/UZZdfPUaJsI/AAAAAAAACQc/kDx5-Ep5YRo/s1600/framed_designed-tablets.png') no-repeat 0 0;background-size:180px"></div>
              <h4>New Ways to Optimize Your Business in Google Play</h4>
              <p>Many of you have invested in making great tablet experiences for your users, and we want to ensure that that work pays off...</p>
              </a></li>
            <li><a href="//android-developers.blogspot.com/2013/05/android-studio-ide-built-for-android.html">
              <div class="feed-image" style="background:url('//1.bp.blogspot.com/-u5dfSsMOMC0/UZO_5DC_W9I/AAAAAAAACM8/YCMn15HPzpE/s320/Studio_table.png') no-repeat 0 0;background-size:180px"></div>
              <h4>Android Studio: An IDE built for Android</h4>
              <p>To develop Android Studio, we cooperated with JetBrains, creators of one of the most advanced Java IDEs available today...</p>
              </a></li>
            <li><a href="//android-developers.blogspot.com/2013/01/verifying-back-end-calls-from-android.html">
            <li><a href="//android-developers.blogspot.com/2013/01/verifying-back-end-calls-from-android.html">
              <div class="feed-image" style="background:url('//lh4.ggpht.com/7z4NItEg-X21zvFGAarKonk-VaysBYthJ30u1JjaQ0-5fjyHNawnmoNeG--4FCACog=w124') no-repeat 0 0"></div>
              <div class="feed-image" style="background:url('//lh4.ggpht.com/7z4NItEg-X21zvFGAarKonk-VaysBYthJ30u1JjaQ0-5fjyHNawnmoNeG--4FCACog=w124') no-repeat 0 0"></div>
              <h4>Verifying Back-End Calls from Android Apps</h4>
              <h4>Verifying Back-End Calls from Android Apps</h4>
@@ -131,16 +144,6 @@ more</a></p>
              <h4>Daydream: Interactive Screen Savers</h4>
              <h4>Daydream: Interactive Screen Savers</h4>
              <p>Daydream is an interactive screen-saver mode introduced in Android 4.2. Learn how to add Daydreams to your apps...</p>
              <p>Daydream is an interactive screen-saver mode introduced in Android 4.2. Learn how to add Daydreams to your apps...</p>
              </a></li>
              </a></li>
            <li><a href="//android-developers.blogspot.com/2012/11/designing-for-tablets-were-here-to-help.html">
              <div class="feed-image" style="background:url('//developer.android.com/design/media/multipane_expand.png') no-repeat 0 0; background-position:right top;"></div>
              <h4>Designing for Tablets?</h4>
              <p>Essential resources for everyone in the app development pipeline—from product managers, to designers, to developers, and QA engineers...</p>
              </a></li>
            <li><a href="//android-developers.blogspot.com/2012/12/in-app-billing-version-3.html">
              <div class="feed-image" style="background:url('//developer.android.com/images/iab-thumb.png') no-repeat 0 0;background-position:center right;"></div>
              <h4>In-app Billing Version 3 Now Available</h4>
              <p>A new version of In-app Billing is available that lets you sell digital goods in your app with just a few lines of code...</p>
              </a></li>
          </ul>
          </ul>
                                <!-- FEATURED DOCS -->
                                <!-- FEATURED DOCS -->
          <ul>
          <ul>
@@ -265,7 +268,7 @@ function renderVideoPlaylists(data) {
  
  
  if (feed.entry.length > MAX_LIST_LENGTH) {
  if (feed.entry.length > MAX_LIST_LENGTH) {
    // add item to go to youtube for playlist
    // add item to go to youtube for playlist
    $ulVideos.append('<li class="more"><a href="//www.youtube.com/playlist?list=PL' + playlistId + '">More &raquo;</a></li>');
    $ulVideos.append('<li class="more"><a href="//www.youtube.com/playlist?list=' + playlistId + '">More &raquo;</a></li>');
  }
  }


  $liPlaylist.append($ulVideos);
  $liPlaylist.append($ulVideos);
@@ -315,14 +318,14 @@ var playlists = {
  'designinaction' : {
  'designinaction' : {
    'ids': ["PLWz5rJ2EKKc8j2B95zGMb8muZvrIy-wcF"]
    'ids': ["PLWz5rJ2EKKc8j2B95zGMb8muZvrIy-wcF"]
  },
  },
  'about' : {
  'bizdevbytes' : {
    'ids': ["PL611F8C5DBF49CEC6"]
    'ids': ["PLWz5rJ2EKKc8-Osr0TuHyTMEhKV0xJ6ql"]
  },
  },
  'developersstrikeback' : {
  'developersstrikeback' : {
    'ids': ["PLWz5rJ2EKKc8nhhIOieejm1PxYHmPkIPh"]
    'ids': ["PLWz5rJ2EKKc8nhhIOieejm1PxYHmPkIPh"]
  },
  },
  'googleio' : {
  'googleio' : {
    'ids': ["PL4C6BCDE45E05F49E"]
    'ids': ["PLWz5rJ2EKKc9WGUwq2gQ-coU3fSyexgOx"]
  }
  }
};
};


@@ -333,7 +336,7 @@ function showVideosPlaylists() {
    for (var i in ids) {
    for (var i in ids) {
      var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/"
      var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/"
                    + ids[i] +
                    + ids[i] +
                    "?v=2&alt=json-in-script&max-results=50&callback=renderVideoPlaylists&orderby=published'><\/script>";
                    "?v=2&alt=json-in-script&max-results=50&callback=renderVideoPlaylists&orderby=position'><\/script>";
      $("body").append(script);
      $("body").append(script);
    }
    }
  }
  }
@@ -345,7 +348,7 @@ function showDevelopersLivePlaylist() {
  var playlistId = "PLWz5rJ2EKKc_XOgcRukSoKKjewFJZrKV0"; /* DevBytes */
  var playlistId = "PLWz5rJ2EKKc_XOgcRukSoKKjewFJZrKV0"; /* DevBytes */
  var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/"
  var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/"
                + playlistId +
                + playlistId +
                "?v=2&alt=json-in-script&max-results=10&callback=renderDevelopersLivePlaylist&orderby=reversedPosition'><\/script > ";
                "?v=2&alt=json-in-script&max-results=10&callback=renderDevelopersLivePlaylist&orderby=position'><\/script > ";
  $("body").append(script);
  $("body").append(script);
}
}


+57.3 KiB (88.2 KiB)
Loading image diff...
+7 −6
Original line number Original line Diff line number Diff line
@@ -14,17 +14,18 @@ page.metaDescription=The official site for Android developers. Provides the Andr
            <ul>
            <ul>
                <li class="item carousel-home">
                <li class="item carousel-home">
                    <div class="content-left col-10">
                    <div class="content-left col-10">
                    <a href="http://goo.gl/9lM2d">
                    <a href="https://developers.google.com/live/android/browse">
                      <img src="{@docRoot}images/home/io-gdl-2013.png" style="margin:60px 0 0">
                      <img src="{@docRoot}images/home/io-gdl-2013.png" style="margin:60px 0 0">
                    </a>
                    </a>
                    </div>
                    </div>
                    <div class="content-right col-5">
                    <div class="content-right col-5">
                    <h1>Google I/O Live Stream</h1>
                    <h1>Watch the Android talks from Google I/O</h1>
                    <p>Watch Android sessions live from Google I/O 2013. Hear about the latest in
                    <p>If you weren't able to attend Google I/O in person or couldn't make it
                    Android straight from the source.</p>
                    to all the talks, you can catch up on the action
                    <p>Brought to you by
                    with all the recordings, brought to you by
                    <a href="http://developers.google.com/live">Google Developers Live</a>.</p>
                    <a href="http://developers.google.com/live">Google Developers Live</a>.</p>
                    <p><a href="http://goo.gl/9lM2d" class="button">Tune in now</a></p>
                    <p><a href="https://developers.google.com/live/android/browse" class="button"
                    >See the Android talks</a></p>
                    </div>
                    </div>
                </li>
                </li>
                <li class="item carousel-home">
                <li class="item carousel-home">