Added couple of comments and executed eclipse's autoformat.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 11 Jan 2012 14:54:00 +0000 (14:54 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 11 Jan 2012 14:54:00 +0000 (14:54 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@339 180e2498-e6e9-4542-8430-84ac67f01cd8

android/AndroidManifest.xml

index 2e6848374ba14bb4616471331817ea8b3c0570ea..896a21de9e541a34d0d53b73feda50244e29ec79 100644 (file)
     <uses-permission android:name="android.permission.INTERNET" />\r
 \r
     <application\r
+        android:name=".android.Application"\r
         android:debuggable="true"\r
         android:icon="@drawable/or_launcher"\r
         android:killAfterRestore="true"\r
-        android:label="@string/app_name"\r
-        android:name=".android.Application" >\r
+        android:label="@string/app_name" >\r
         <activity\r
             android:name=".android.Main"\r
             android:theme="@android:style/Theme.Black.NoTitleBar" >\r
-            <intent-filter >\r
+            <intent-filter>\r
                 <action android:name="android.intent.action.MAIN" />\r
 \r
                 <category android:name="android.intent.category.LAUNCHER" />\r
             </intent-filter>\r
         </activity>\r
         <activity\r
-            android:label="@string/app_name"\r
-            android:name=".android.rocket.OpenRocketViewer" >\r
+            android:name=".android.rocket.OpenRocketViewer"\r
+            android:label="@string/app_name" >\r
 \r
             <!--\r
                  I don't understand why I need to have two different intent filters. \r
                                Combining the <data> elements into a single field did not result in a working \r
                                application. The first intent-filter (with mimeType wildcard) convinces the \r
                                file browser to associate the correct launcher icon. the second intent-filter \r
-                               is actually invoked when a file is selected.\r\r
+                               is actually invoked when a file is selected.\r\r\r
             -->\r
-            <intent-filter >\r
+            <!-- this intent filter convinces the file browser to display icons -->\r
+            <intent-filter>\r
                 <action android:name="android.intent.action.VIEW" />\r
 \r
                 <category android:name="android.intent.category.DEFAULT" />\r
@@ -48,7 +49,8 @@
                     android:pathPattern=".*\\.ork"\r
                     android:scheme="file" />\r
             </intent-filter>\r
-            <intent-filter >\r
+            <!-- this intent is sent when a file is selected in file browser -->\r
+            <intent-filter>\r
                 <action android:name="android.intent.action.VIEW" />\r
 \r
                 <category android:name="android.intent.category.DEFAULT" />\r
             </intent-filter>\r
         </activity>\r
         <activity android:name=".android.PreferencesActivity" >\r
-            <intent-filter >\r
+            <intent-filter>\r
                 <action android:name="net.sf.openrocket.android.PreferencesActivity" />\r
 \r
                 <category android:name="android.intent.category.PREFERENCE" />\r
             </intent-filter>\r
         </activity>\r
         <activity\r
-            android:label="@string/MotorListTitle"\r
-            android:name=".android.motor.MotorHierarchicalBrowser" />\r
+            android:name=".android.motor.MotorHierarchicalBrowser"\r
+            android:label="@string/MotorListTitle" />\r
         <activity android:name=".android.motor.MotorDetails" />\r
         <activity\r
-            android:label="@string/MotorListTitle"\r
-            android:name=".android.thrustcurve.TCQueryActivity" />\r
+            android:name=".android.thrustcurve.TCQueryActivity"\r
+            android:label="@string/MotorListTitle" />\r
         <activity android:name=".android.simulation.SimulationViewer" />\r
         <activity android:name=".android.simulation.GraphicalActivity" />\r
     </application>\r