Eclipse Mobile Mousw Bedienungsanleitung Seite 19

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 35
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 18
We introduced an error into the source code where we added an extra space
between setContent and View. When the file is saved, it is compiled and any
errors appear in the Problems pane at the bottom of the screen. Upon fixing the
error in the source code, the application builds properly and the errors are removed
from the problems list.
AndroidManifest.xml
The AndroidManifest.xml file represents the deployment descriptor for an Android
application. The file lists any activity, service, content provider, or receiver contained
in the application, along with the appropriate IntentFilters supported by the
application. Here is the complete AndroidManifest.xml file for the sample application:
Listing 5. AndroidManifest.xml file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.msi.ibmtutorial">
<application android:icon="@drawable/icon">
<activity class=".SaySomething" android:label="@string/app_name">
<intent-filter>
<action android:value="android.intent.action.MAIN" />
<category android:value="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
ibm.com/developerWorks developerWorks®
Develop Android applications with Eclipse
© Copyright IBM Corporation 1994, 2008. All rights reserved. Page 19 of 35
Seitenansicht 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 34 35

Kommentare zu diesen Handbüchern

Keine Kommentare