OSDN Git Service

Checking in frame-work for new Open source site
authorGaurav Mathur <gmathur@google.com>
Wed, 12 Aug 2009 00:52:01 +0000 (17:52 -0700)
committerGaurav Mathur <gmathur@google.com>
Wed, 12 Aug 2009 03:29:19 +0000 (20:29 -0700)
modified:   index.jd

modified:   index.jd

38 files changed:
pdk/docs/community/index.jd [new file with mode: 0644]
pdk/docs/guide/audio.jd
pdk/docs/guide/bluetooth.jd
pdk/docs/guide/bluetooth/bluetooth_process.jd
pdk/docs/guide/bring_up.jd
pdk/docs/guide/build_cookbook.jd
pdk/docs/guide/build_new_device.jd
pdk/docs/guide/build_system.jd
pdk/docs/guide/camera.jd
pdk/docs/guide/customization.jd
pdk/docs/guide/dalvik.jd
pdk/docs/guide/debugging_gdb.jd
pdk/docs/guide/debugging_native.jd
pdk/docs/guide/display_drivers.jd
pdk/docs/guide/getting_source_code.jd
pdk/docs/guide/gps.jd
pdk/docs/guide/group__memory.jd
pdk/docs/guide/group__networking.jd
pdk/docs/guide/index.jd
pdk/docs/guide/instrumentation_framework.jd
pdk/docs/guide/instrumentation_testing.jd
pdk/docs/guide/intro_source_code.jd
pdk/docs/guide/keymaps_keyboard_input.jd
pdk/docs/guide/lights.jd
pdk/docs/guide/power_management.jd
pdk/docs/guide/release_keys.jd
pdk/docs/guide/sensors.jd
pdk/docs/guide/source_setup_guide.jd
pdk/docs/guide/stk.jd
pdk/docs/guide/system_requirements.jd
pdk/docs/guide/tcpdump.jd
pdk/docs/guide/telephony.jd
pdk/docs/guide/wifi.jd
pdk/docs/index.jd [new file with mode: 0644]
pdk/docs/licenses/index.jd [new file with mode: 0644]
pdk/docs/licenses/licenses_toc.cs [new file with mode: 0644]
pdk/docs/releases/index.jd [new file with mode: 0644]
pdk/docs/releases/releases_toc.cs [new file with mode: 0644]

diff --git a/pdk/docs/community/index.jd b/pdk/docs/community/index.jd
new file mode 100644 (file)
index 0000000..bc04eee
--- /dev/null
@@ -0,0 +1,6 @@
+home=true
+@jd:body
+
+<p>
+  Some community information here
+</p>
index 14e80bb..66c05f7 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Audio
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index e514ef0..bcf88db 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Bluetooth
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 86e9c93..ea46f23 100755 (executable)
@@ -1,6 +1,7 @@
 page.title=Bluetooth Process Diagram
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <p>The diagram below offers a process-oriented architectural overview of Android's Bluetooth stack. Click <a href="../bluetooth.html">Bluetooth</a> to return to the Bluetooth overview page.</p>
-<img src="images/androidBluetoothProcessDiagram.jpg">
\ No newline at end of file
+<img src="images/androidBluetoothProcessDiagram.jpg">
index 85d7b26..a11fe00 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Bring Up
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <p>Once your code is built and you have verified that all necessary directories exist, power on and test your device with basic bring up, as described below. Bring up tests are typically designed to stress certain aspects of your system and allow you to characterize the device's behavior. </p>
@@ -355,4 +356,4 @@ service akmd /sbin/akmd
   disabled
   user akmd
   group akmd
-</pre>
\ No newline at end of file
+</pre>
index fc34132..4bed947 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Build Cookbook
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
@@ -552,4 +553,4 @@ module.  This can be fixed.  If you ever need it to be, just ask.</p>
 <td valign="top"></td>
 </tr>
 
-</table>
\ No newline at end of file
+</table>
index dabdfb0..28e7c2e 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Configuring a New Product
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
index d229983..fd0ff80 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Android Build System
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
@@ -266,4 +267,4 @@ If you build one flavor and then want to build another, you should run
 <code>make installclean</code> between the two makes to guarantee that
 you don't pick up files installed by the previous flavor.  <code>make
 clean</code> will also suffice, but it takes a lot longer.
-</p> 
\ No newline at end of file
+</p> 
index 281f76d..98636d8 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Camera
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 9c39cd7..9c56681 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Customization
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
@@ -317,4 +318,4 @@ include $(LOCAL_PATH)/client/Android.mk
 <a name="androidThemesAnimations"></a><h4>Animations</h4> 
  
 <p>Android supports configurable animations for window and view transitions.  System-level animations are defined in XML in global resource files located in <code>//android/framework/base/core/res/res/anim/</code>.</p> 
\ No newline at end of file
index 948496a..6fa37da 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Dalvik
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 9717cf3..f2a2db5 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Debugging with GDB
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
@@ -142,4 +143,4 @@ Execute the line shown in the debug output, substituting 5039  for the proper <c
 </pre>
 <p>Otherwise you need to determine the path of the crashing binary and follow the
   steps as mentioned above (for example, <code>gdbclient hoser :5039</code> if
-  the <code>hoser</code> command has failed).</p>
\ No newline at end of file
+  the <code>hoser</code> command has failed).</p>
index 6705766..0f8b397 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Debugging Native Code
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
index ac41c55..1eddd15 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Display Drivers
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
index 19a7069..e735274 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Getting Source Code
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <a name="toc"/>
index f2ce11c..2acad6d 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=GPS
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 87f19d5..0423515 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Providing Heap Memory
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div class="navigation" id="top">
index c5a94fc..e1e942c 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Networking Support
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div class="navigation" id="top">
index a7dc7e8..d22fae8 100644 (file)
@@ -1,5 +1,6 @@
 page.title=Android Platform Developer's Guide
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
index a8eab2e..f2c51ef 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Instrumentation Framework
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <a name="toc"/>
index 00c8248..e4d7cc5 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Instrumentation Testing
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index d391b0f..21b34a7 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Source Code Overview
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <a name="toc"/>
index e53149a..5db0a86 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Keymaps and Keyboard Input
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
@@ -500,4 +501,4 @@ I/EventHub( 1548): Reporting device opened: id=0x10000, name=/dev/input/event0
 I/KeyInputQueue( 1548): Device added: id=0x10000, name=partnerxx_keypad, classes=1
 I/KeyInputQueue( 1548):   Keymap: partnerxx_keypad.kl
 </pre>
-<p>The snippet above contains artificial line breaks to maintain a print-friendly document.</p>
\ No newline at end of file
+<p>The snippet above contains artificial line breaks to maintain a print-friendly document.</p>
index 4f19c5d..1c445b2 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Lights
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 91517fc..daff6ed 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Power Management
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <a name="toc"/>
index a57cb10..7e83834 100755 (executable)
@@ -1,6 +1,8 @@
 page.title=Creating Release Keys and Signing Builds
 pdk.version=1.0
+doc.type=guide
 @jd:body
+
 <div id="qv-wrapper">
   <div id ="qv"> 
 <h2>In this document</h2>
index d41dcd7..61ca2d9 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Sensors
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 5c0bed5..83c4a01 100755 (executable)
@@ -1,4 +1,6 @@
 page.title=Host System Setup
+pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <a name="toc"/>
index 55f914e..4f68c48 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Sim Toolkit Application (STK)
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 2d3fcd6..0077447 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Device Requirements
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <p>While Android is designed to support a wide variety of hardware platforms and configurations, this section provides recommended minimum device requirements.</p>
@@ -56,4 +57,4 @@ pdk.version=1.0
   <li>QWERTY keyboard</li>
   <li>WiFi</li>
   <li>GPS</li>
-</ul>
\ No newline at end of file
+</ul>
index 96103a5..01f77bb 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Debugging with tcpdump and other tools
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 
@@ -86,4 +87,4 @@ vendor/google/tools/override-gservices url:calendar_sync_https_proxy \
 <h4>On the desktop:</h4>
 <ul>
   <li> <code>curl</code>: fetch URLs directly to emulate device requests</li>
-</ul>
\ No newline at end of file
+</ul>
index 0fe5221..2004e63 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Radio Layer Interface
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
index 5341954..1e9f527 100755 (executable)
@@ -1,5 +1,6 @@
 page.title=Wi-Fi
 pdk.version=1.0
+doc.type=guide
 @jd:body
 
 <div id="qv-wrapper">
diff --git a/pdk/docs/index.jd b/pdk/docs/index.jd
new file mode 100644 (file)
index 0000000..4175db7
--- /dev/null
@@ -0,0 +1,133 @@
+home=true
+@jd:body
+
+
+       <div id="mainBodyFixed" align="top">
+              <div id="mainBodyLeft">                  
+                   <h2>Android Open Source Project</h2>
+                   <!-- total max width is 520px -->
+                   <p> Android is the first free, open source, and fully customizable mobile platform. 
+                       Android offers a full stack: an operating system, middleware and key mobile applications.
+                       It also contains a rich set of APIs that allows third-party developers to develop great
+                       applications. </p>
+              </div><!-- end mainBodyLeft -->
+
+              <div id="mainBodyRight">
+                      <table id="rightColumn">
+                              <tr>
+                                      <td class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_download.jpg" style="padding:0" /></a></td>
+                                      <td>
+                                              <h2 class="green">Download</h2>
+                                              <p>The Android SDK has the tools, sample code, and docs you need to create great apps.  </p>
+                                              <p><a href="http://developer.android.com">Learn more &raquo;</a></p>
+                                      </td>
+                              </tr>
+                              <tr>
+                                      <td colspan="2"><div class="seperator">&nbsp;</div></td>
+                              </tr>
+                              <tr>
+                                      <td class="imageCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market.jpg" style="padding:0" /></a></td>
+                                      <td>
+                                              <h2 class="green">Publish</h2>
+                                              <p>Android Market is an open service that lets you distribute your apps to handsets.</p>
+                                              <p><a href="http://www.android.com/market.html">Learn more &raquo;</a></p>
+                                      </td>
+                              </tr>
+                              <tr>
+                                      <td colspan="2"><div class="seperator">&nbsp;</div></td>
+                              </tr>
+                              <tr>
+                                      <td class="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contribute.jpg" style="padding:0" /></a></td>
+                                      <td>
+                                              <h2 class="green">Contribute</h2>
+                                              <p>Android Open Source Project gives you access to the entire platform source.</p>
+                                              <p><a href="http://source.android.com">Learn more &raquo;</a></p>
+                                      </td>
+                              </tr>
+                              <tr>
+                                      <td colspan="2"><div class="seperator">&nbsp;</div></td>
+                              </tr>
+                              <tr>
+                                      <td class="imageCell"><a href="http://www.youtube.com/user/androiddevelopers"><img src="{@docRoot}assets/images/video-droid.png" style="padding:0" /></a></td>
+                                      <td>
+                                              <h2 class="green">Watch</h2>
+                                              <object width="150" height="140"><param name="movie" value="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="150" height="140"></embed></object>
+                                              <p style="margin-top:1em"><a href="{@docRoot}videos/index.html">More Android videos &raquo;</a></p>
+                                      </td>
+                              </tr>
+
+                      </table>
+              </div>
+       </div>
+
+<!--[if lte IE 6]>
+  <style>
+    #arrow-left {
+      margin:0 0 0 5px;
+    }
+    #arrow-right {
+      margin-left:0;
+    }
+    .app-list-container {
+      margin: 37px 0 0 23px;
+    }
+    div#list-clip { 
+      width:468px;
+    }
+  </style>
+<![endif]-->
+
+<script type="text/javascript">
+
+// * -- carousel dictionary -- * //
+  /* layout:  imgLeft, imgRight, imgTop
+     icon:    image for carousel entry. cropped (height:70px, width:90px)
+     name:    string for carousel entry
+     img:     image for bulletin post. cropped (height: 170, width:230px)
+     title:   header for bulletin (optional, insert "" value to skip
+     desc:    the bulletin post. must include html tags. 
+  */
+
+  var droidList = {
+    'sdk': {
+      'layout':"imgLeft",
+      'icon':"sdk-small.png",
+      'name':"SDK 1.5 r3",
+      'img':"sdk-large.png",
+      'title':"Android 1.5 SDK",
+      'desc': "<p>Android 1.5 SDK is now available. It includes new APIs for Android 1.5, updated developer tools, multiple platform versions, and a Google APIs add-on.</p><p><a href='{@docRoot}sdk/1.5_r3/index.html'>Download Android 1.5 SDK &raquo;</a></p>"
+    },
+    
+    'io': {
+      'layout':"imgLeft",
+      'icon':"io-small.png",
+      'name':"Google I/O",
+      'img':"io-large.png",
+      'title':"Google I/O Developer Conference",
+      'desc': "<p>The Google I/O developer conference took place May 27-28 in San Francisco. If you missed the conference, you can experience the Android sessions by viewing YouTube videos.</p><p><a href='{@docRoot}videos/index.html'>See the sessions from Google I/O &raquo;</a></p>"
+    },
+
+    'mapskey': {
+      'layout':"imgLeft",
+      'icon':"maps-small.png",
+      'name':"Maps API Key",
+      'img':"maps-large.png",
+      'title':"Maps API Key",
+      'desc':"<p>If you're writing an Android application that uses Google Maps (with MapView), you must register your application to obtain a Maps API Key. Without the key, your maps application will not work on Android devices. Obtaining a key requires just a couple of steps.</p><p><a href='http://code.google.com/android/add-ons/google-apis/maps-overview.html'>Learn more &raquo;</a></p>"
+    },
+
+    'devphone': {
+      'layout':"imgLeft",
+      'icon':"devphone-small.png",
+      'name':"Dev Phone 1",
+      'img':"devphone-large.png",
+      'title':"Android Dev Phone 1",
+      'desc': "<p>Run and debug your Android applications directly on this device. Modify and rebuild the Android operating system, and flash it onto the phone. The Android Dev Phone 1 is carrier independent, and available for purchase by any developer registered with <a href='http://market.android.com/publish'>Android Market</a>.</p><p><a href='/guide/developing/device.html#dev-phone-1'>Learn more about the Android Dev Phone 1 &raquo;</a></p>"
+    }
+
+  }
+</script>
+<script type="text/javascript" src="{@docRoot}assets/carousel.js"></script>
+<script type="text/javascript">
+  initCarousel("sdk");
+</script>
diff --git a/pdk/docs/licenses/index.jd b/pdk/docs/licenses/index.jd
new file mode 100644 (file)
index 0000000..478389d
--- /dev/null
@@ -0,0 +1,47 @@
+home=true
+doc.type=licenses
+@jd:body
+
+<div id="mainBodyFixed">
+
+<p>
+   The Android Open Source Project uses a few open source initiative approved open source licenses to enable availability 
+   of source code and to accept contributions from individuals and corporations.
+</p>
+
+<p>
+   <b>Android Open Source Project license</b>
+</p>
+
+<p>
+   The preferred license for the Android Open Source Project is Apache 2.0. Apache 2.0 is a commercial and open source 
+   friendly open source license. The majority of the Android platform is licensed under the Apache 2.0 license. While 
+   the project will strive to adhere to the preferred license, there may be exceptions which will be handled on a case-by-case 
+   basis. For example, the Linux kernel patches are under the GPLv2 license with system exceptions, which can be found on kernel.org
+</p>
+
+<p>
+   <b>Contributor License Grants</b>
+</p>
+
+<p>
+   All individual contributors of ideas, code, or documentation to the Android Open Source Project will be required to 
+   complete, sign, and submit an Individual Contributor License Grant. The grant can be executed online through the code 
+   review tool. The agreement clearly defines the terms under which intellectual property has been contributed to the 
+   Android Open Source Project.  This license is for your protection as a contributor as well as the protection of the 
+   project; it does not change your rights to use your own contributions for any other purpose. 
+</p>
+
+<p>
+   For a corporation that has assigned employees to work on the Android Open Source Project, a Corporate Contributor License 
+   Grant is available. This version of the Grant allows a corporation to authorize contributions submitted by its designated 
+   employees and to grant copyright and patent licenses. Note that a Corporate Contributor License Grant does not remove the 
+   need for any developer to sign their own Individual Contributor License Grant as an individual, to cover any of their 
+   contributions which are not owned by the corporation signing the Corporate Contributor License Grant. 
+</p>
+
+<p>
+   Please note that we based our grants on the ones that the Apache Software Foundation uses, which can be found on its site.
+</p>
+
+</div>
diff --git a/pdk/docs/licenses/licenses_toc.cs b/pdk/docs/licenses/licenses_toc.cs
new file mode 100644 (file)
index 0000000..b2fa107
--- /dev/null
@@ -0,0 +1,21 @@
+<script type="text/javascript" language="JavaScript">
+<!--
+function nothing() {}
+-->
+</script>
+
+<ul>
+  <li> <h2> Referenced Licenses </h2>
+  <ul>
+    <li><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 license</a></li>
+    <li><a href="http://www.kernel.org/pub/linux/kernel/COPYING">GPL v2 license</a></li>
+  </ul>
+  </li>
+
+</ul>
+
+<script type="text/javascript">
+<!--
+    buildToggleLists();
+//-->
+</script>
diff --git a/pdk/docs/releases/index.jd b/pdk/docs/releases/index.jd
new file mode 100644 (file)
index 0000000..b3b7154
--- /dev/null
@@ -0,0 +1,7 @@
+home=true
+doc.type=releases
+@jd:body
+
+<p>
+  Some release information here
+</p>
diff --git a/pdk/docs/releases/releases_toc.cs b/pdk/docs/releases/releases_toc.cs
new file mode 100644 (file)
index 0000000..a1842b5
--- /dev/null
@@ -0,0 +1,22 @@
+<script type="text/javascript" language="JavaScript">
+<!--
+function nothing() {}
+-->
+</script>
+
+<ul>
+  <li> <h2> Android Releases </h2>
+  <ul>
+    <li><a href="xxx">Android 1.0</a></li>
+    <li><a href="xxx">Android 1.1</a></li>
+    <li><a href="xxx">Android 1.5</a></li>
+  </ul>
+  </li>
+
+</ul>
+
+<script type="text/javascript">
+<!--
+    buildToggleLists();
+//-->
+</script>