Changes

Jump to: navigation, search

Creating an Example Android Application

24 bytes added, 19:58, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
== Stopping a Running Application ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
When building and running an application for testing purposes, each time a new revision of the application is compiled and run, the previous instance of the application running on the device or emulator will be terminated automatically and replaced with the new version. It is also possible to manually stop a running application from within the Eclipse environment.
To return to the main Java development perspective, simply click on the Java button in the Eclipse toolbar.
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
== Modifying the Example Application ==
[[Image:AndroidTest_xml_layouteclipse_fragment_layout.png|Editing the XML for an Android UI layout]]
Figure 4-17
</pre>
As a demonstration of resources in action, change the string value currently assigned to the welcomestring resource then run the application again. Note that the application has picked up the new resource value for the welcome string.
== Summary ==
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu