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

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

am fff0fb87: am 82e1d979: update building first app class with some changes to...

am fff0fb87: am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse

* commit 'fff0fb87':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
parents 1d20e05e fff0fb87
Loading
Loading
Loading
Loading
+55 B (65.2 KiB)
Loading image diff...
+37 KiB (79.3 KiB)
Loading image diff...
+16.9 KiB (54.4 KiB)
Loading image diff...
+24 −15
Original line number Diff line number Diff line
@@ -21,18 +21,24 @@ Android SDK, then execute <code>android sdk</code>.</li>
</ul>
</li>

<li>When the Android SDK Manager opens, it automatically selects a set of recommended packages,
as shown in figure 1.
Simply click <strong>Install</strong> to install the recommended packages. The Android SDK Manager
installs the selected packages into
your Android SDK environment.</li>
<li>The SDK Manager shows all the SDK packages available for you to add to your Android SDK.
As a minimum configuration for your SDK, we recommend you install the following:
<ul>
 <li>The latest Tools packages (check the <strong>Tools</strong> folder).</li>
 <li>The latest version of Android (check the first <strong>Android</strong> folder).</li>
 <li>The Android Support Library (open the <strong>Extras</strong> folder and check
  <strong>Android Support Library</strong>).</li>
</ul>

<p>Once you've chosen your packages, click <strong>Install</strong>. The Android SDK Manager
installs the selected packages into your Android SDK environment.</li>
</ol>

<p>If you install the recommended packages, you're now ready to start developing apps!
To start developing, read <a href="{@docRoot}training/basics/firstapp/index.html"
<p>With these packages installed, you're ready to start developing.
To get started, read <a href="{@docRoot}training/basics/firstapp/index.html"
>Building Your First App</a>.</p>

<img src="/images/sdk_manager_packages.png" alt="" />
<img src="/images/sdk_manager_packages.png" alt="" height="396" />
<p class="img-caption"><strong>Figure 1.</strong> The Android SDK Manager shows the
SDK packages that are available, already installed, or for which an update is available.</p>

@@ -40,15 +46,18 @@ SDK packages that are available, already installed, or for which an update is av

<h3>Additional information</h3>

<p>For more information about using the SDK Manager and some of the available packages,
see the <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> document.</p>

<p>Everything you need to develop Android apps is on this web site, including <a
<ul>
  <li>For more information about using the SDK Manager and some of the available packages,
see the <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> document.</li>
  <li>This web site provides all information you need to develop Android apps, including <a
href="{@docRoot}design/index.html">design guidelines</a>,
<a href="{@docRoot}training/index.html">developer training</a>, <a
href="{@docRoot}reference/packages.html">API reference</a>, and information
about how you can <a href="{@docRoot}distribute/index.html">distribute your app</a>.
For additional resources about developing and distributing your app, see the
<a href="{@docRoot}support.html">Developer Support Resources</a>.</p>
about how you can <a href="{@docRoot}distribute/index.html">distribute your app</a>. We recommend
you begin by reading <a href="{@docRoot}training/basics/firstapp/index.html"
>Building Your First App</a>.</li>
  <li>For additional resources about developing and distributing your app, see the
<a href="{@docRoot}support.html">Developer Support Resources</a>.</li>
</ul>

+5 −5
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ Devices</a>.</p>
</div>
</div>

<img src="{@docRoot}images/viewgroup.png" alt="" width="400" />
<img src="{@docRoot}images/viewgroup.png" alt="" width="400" height="214" />
<p class="img-caption"><strong>Figure 1.</strong> Illustration of how {@link
android.view.ViewGroup} objects form branches in the layout and contain other {@link
android.view.View} objects.</p>
@@ -83,7 +83,7 @@ the Graphical Layout editor. This is an editor that helps you build layouts usin
lesson, you’re going to work directly with the XML, so click the <em>activity_main.xml</em> tab at
the bottom of the screen to open the XML editor.</p>

<p>The BlankActivity template you used to start this project creates the
<p>The BlankActivity template you chose when you created this project includes the
<code>activity_main.xml</code> file with a {@link
android.widget.RelativeLayout} root view and a {@link android.widget.TextView} child view.</p>

@@ -225,9 +225,9 @@ localize your app to different languages by providing alternative definitions fo
string resource.</p>

<p>By default, your Android project includes a string resource file at
<code>res/values/strings.xml</code>. Open this file and delete the {@code &lt;string>} element
named <code>"hello_world"</code>. Then add a new one named
<code>"edit_message"</code> and set the value to "Enter a message."</p>
<code>res/values/strings.xml</code>. Add a new string named
<code>"edit_message"</code> and set the value to "Enter a message." (You can delete
the "hello_world" string.)</p>

<p>While you’re in this file, also add a "Send" string for the button you’ll soon add, called
<code>"button_send"</code>.</p>
Loading