Skip to content
Browse files

Initial World Wind Android import.

  • Loading branch information...
1 parent b7022dd commit a91e202b9889528b41814e33f3fd0087db104350 dcollins committed Sep 20, 2011
Showing with 19,741 additions and 0 deletions.
  1. +1 −0 WWAndroid/.idea/.name
  2. +15 −0 WWAndroid/.idea/ant.xml
  3. +24 −0 WWAndroid/.idea/compiler.xml
  4. +9 −0 WWAndroid/.idea/copyright/NASA.xml
  5. +7 −0 WWAndroid/.idea/copyright/profiles_settings.xml
  6. +24 −0 WWAndroid/.idea/dictionaries/dcollins.xml
  7. +145 −0 WWAndroid/.idea/dictionaries/tag.xml
  8. +5 −0 WWAndroid/.idea/encodings.xml
  9. +13 −0 WWAndroid/.idea/inspectionProfiles/Project_Default.xml
  10. +15 −0 WWAndroid/.idea/inspectionProfiles/profiles_settings.xml
  11. +36 −0 WWAndroid/.idea/misc.xml
  12. +11 −0 WWAndroid/.idea/modules.xml
  13. +182 −0 WWAndroid/.idea/projectCodeStyle.xml
  14. +21 −0 WWAndroid/.idea/runConfigurations/SimplestPossibleExample.xml
  15. +19 −0 WWAndroid/.idea/runConfigurations/WWAndroidDemo.xml
  16. +7 −0 WWAndroid/.idea/vcs.xml
  17. +51 −0 WWAndroid/AndroidManifestTemplate.xml
  18. +249 −0 WWAndroid/NASA_Open_Source_Agreement_1.3.txt
  19. +47 −0 WWAndroid/README.txt
  20. +15 −0 WWAndroid/WWAndroid.iml
  21. +131 −0 WWAndroid/build.xml
  22. +19 −0 WWAndroid/build/android.properties
  23. +34 −0 WWAndroid/build/build.properties
  24. +71 −0 WWAndroid/build/examples.xml
  25. +124 −0 WWAndroid/build/release.xml
  26. +82 −0 WWAndroid/build/util.xml
  27. +44 −0 WWAndroid/examples/SimplestPossibleExample/AndroidManifest.xml
  28. +39 −0 WWAndroid/examples/SimplestPossibleExample/SimplestPossibleExample.iml
  29. +18 −0 WWAndroid/examples/SimplestPossibleExample/build.properties
  30. +25 −0 WWAndroid/examples/SimplestPossibleExample/build.xml
  31. +11 −0 WWAndroid/examples/SimplestPossibleExample/default.properties
  32. +40 −0 WWAndroid/examples/SimplestPossibleExample/proguard.cfg
  33. BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-hdpi/icon.png
  34. BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-ldpi/icon.png
  35. BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-mdpi/icon.png
  36. +12 −0 WWAndroid/examples/SimplestPossibleExample/res/values/strings.xml
  37. +72 −0 ...amples/SimplestPossibleExample/src/gov/nasa/worldwindx/examples/spe/SimplestPossibleActivity.java
  38. +47 −0 WWAndroid/examples/WWAndroidDemo/AndroidManifest.xml
  39. +39 −0 WWAndroid/examples/WWAndroidDemo/WWAndroidDemo.iml
  40. +18 −0 WWAndroid/examples/WWAndroidDemo/build.properties
  41. +25 −0 WWAndroid/examples/WWAndroidDemo/build.xml
  42. +11 −0 WWAndroid/examples/WWAndroidDemo/default.properties
  43. +40 −0 WWAndroid/examples/WWAndroidDemo/proguard.cfg
  44. BIN WWAndroid/examples/WWAndroidDemo/res/drawable-hdpi/icon.png
  45. BIN WWAndroid/examples/WWAndroidDemo/res/drawable-ldpi/icon.png
  46. BIN WWAndroid/examples/WWAndroidDemo/res/drawable-mdpi/icon.png
  47. +27 −0 WWAndroid/examples/WWAndroidDemo/res/layout/main.xml
  48. +15 −0 WWAndroid/examples/WWAndroidDemo/res/menu/options.xml
  49. +13 −0 WWAndroid/examples/WWAndroidDemo/res/values/strings.xml
  50. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_0.bil
  51. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_1.bil
  52. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_2.bil
  53. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_3.bil
  54. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_4.bil
  55. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/0/0_5.bil
  56. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_0.bil
  57. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_1.bil
  58. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_2.bil
  59. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_3.bil
  60. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_4.bil
  61. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/1/1_5.bil
  62. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_0.bil
  63. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_1.bil
  64. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_2.bil
  65. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_3.bil
  66. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_4.bil
  67. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/0/2/2_5.bil
  68. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/1/4/4_1.bil
  69. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/1/4/4_2.bil
  70. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/1/5/5_1.bil
  71. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/1/5/5_2.bil
  72. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2334/2334_993.bil
  73. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2334/2334_994.bil
  74. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2335/2335_992.bil
  75. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2335/2335_993.bil
  76. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2335/2335_994.bil
  77. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2335/2335_995.bil
  78. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2336/2336_992.bil
  79. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2336/2336_993.bil
  80. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2336/2336_994.bil
  81. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2336/2336_995.bil
  82. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2337/2337_993.bil
  83. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2337/2337_994.bil
  84. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/10/2337/2337_995.bil
  85. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4671/4671_1986.bil
  86. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4671/4671_1987.bil
  87. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4671/4671_1988.bil
  88. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4672/4672_1986.bil
  89. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4672/4672_1987.bil
  90. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/11/4672/4672_1988.bil
  91. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/2/8/8_3.bil
  92. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/2/8/8_4.bil
  93. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/2/9/9_3.bil
  94. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/2/9/9_4.bil
  95. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/3/17/17_7.bil
  96. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/3/17/17_8.bil
  97. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/3/18/18_7.bil
  98. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/3/18/18_8.bil
  99. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/4/36/36_15.bil
  100. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/4/36/36_16.bil
  101. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/5/72/72_30.bil
  102. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/5/72/72_31.bil
  103. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/5/73/73_30.bil
  104. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/5/73/73_31.bil
  105. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/145/145_61.bil
  106. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/145/145_62.bil
  107. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/146/146_61.bil
  108. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/146/146_62.bil
  109. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/147/147_61.bil
  110. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/6/147/147_62.bil
  111. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/291/291_123.bil
  112. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/291/291_124.bil
  113. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/291/291_125.bil
  114. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/292/292_123.bil
  115. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/292/292_124.bil
  116. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/292/292_125.bil
  117. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/293/293_123.bil
  118. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/7/293/293_124.bil
  119. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/583/583_247.bil
  120. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/583/583_248.bil
  121. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/583/583_249.bil
  122. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/584/584_247.bil
  123. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/584/584_248.bil
  124. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/584/584_249.bil
  125. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/8/585/585_248.bil
  126. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1167/1167_496.bil
  127. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1167/1167_497.bil
  128. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1167/1167_498.bil
  129. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1168/1168_496.bil
  130. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1168/1168_497.bil
  131. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1168/1168_498.bil
  132. BIN WWAndroid/examples/WWAndroidDemo/src/Earth/EarthElevationModel.bil16/9/1169/1169_497.bil
  133. +25 −0 WWAndroid/examples/WWAndroidDemo/src/config/Earth/EarthElevationModelAsBil16.xml
  134. +10 −0 WWAndroid/examples/WWAndroidDemo/src/config/wwandroiddemo.xml
  135. +107 −0 ...id/examples/WWAndroidDemo/src/gov/nasa/worldwindx/examples/wwandroiddemo/WorldWindowActivity.java
  136. +20 −0 WWAndroid/src/config/DataFileStore.xml
  137. +56 −0 WWAndroid/src/config/Earth/BMNGWMSLayer.xml
  138. +48 −0 WWAndroid/src/config/Earth/LandsatI3WMSLayer.xml
  139. +14 −0 WWAndroid/src/config/worldwind.layers.xml
  140. +32 −0 WWAndroid/src/config/worldwind.tessellator.xml
  141. +49 −0 WWAndroid/src/config/worldwind.xml
  142. +441 −0 WWAndroid/src/gov/nasa/worldwind/AbstractSceneController.java
  143. +109 −0 WWAndroid/src/gov/nasa/worldwind/BasicFactory.java
  144. +104 −0 WWAndroid/src/gov/nasa/worldwind/BasicModel.java
  145. +37 −0 WWAndroid/src/gov/nasa/worldwind/BasicSceneController.java
  146. +1,080 −0 WWAndroid/src/gov/nasa/worldwind/BasicView.java
  147. +463 −0 WWAndroid/src/gov/nasa/worldwind/Configuration.java
  148. +15 −0 WWAndroid/src/gov/nasa/worldwind/Disposable.java
  149. +31 −0 WWAndroid/src/gov/nasa/worldwind/Factory.java
  150. +24 −0 WWAndroid/src/gov/nasa/worldwind/Model.java
  151. +142 −0 WWAndroid/src/gov/nasa/worldwind/SceneController.java
  152. +113 −0 WWAndroid/src/gov/nasa/worldwind/View.java
  153. +22 −0 WWAndroid/src/gov/nasa/worldwind/WWObject.java
  154. +52 −0 WWAndroid/src/gov/nasa/worldwind/WWObjectImpl.java
  155. +126 −0 WWAndroid/src/gov/nasa/worldwind/WorldWind.java
  156. +116 −0 WWAndroid/src/gov/nasa/worldwind/WorldWindow.java
  157. +448 −0 WWAndroid/src/gov/nasa/worldwind/WorldWindowGLSurfaceView.java
  158. +104 −0 WWAndroid/src/gov/nasa/worldwind/avlist/AVKey.java
  159. +171 −0 WWAndroid/src/gov/nasa/worldwind/avlist/AVList.java
  160. +318 −0 WWAndroid/src/gov/nasa/worldwind/avlist/AVListImpl.java
  161. +529 −0 WWAndroid/src/gov/nasa/worldwind/cache/BasicDataFileStore.java
  162. +327 −0 WWAndroid/src/gov/nasa/worldwind/cache/BasicGpuResourceCache.java
  163. +339 −0 WWAndroid/src/gov/nasa/worldwind/cache/BasicMemoryCache.java
  164. +99 −0 WWAndroid/src/gov/nasa/worldwind/cache/BasicMemoryCacheSet.java
  165. +15 −0 WWAndroid/src/gov/nasa/worldwind/cache/Cacheable.java
  166. +107 −0 WWAndroid/src/gov/nasa/worldwind/cache/FileStore.java
  167. +187 −0 WWAndroid/src/gov/nasa/worldwind/cache/GpuResourceCache.java
  168. +190 −0 WWAndroid/src/gov/nasa/worldwind/cache/MemoryCache.java
  169. +27 −0 WWAndroid/src/gov/nasa/worldwind/cache/MemoryCacheSet.java
  170. +618 −0 WWAndroid/src/gov/nasa/worldwind/event/BasicInputHandler.java
  171. +20 −0 WWAndroid/src/gov/nasa/worldwind/event/InputHandler.java
  172. +35 −0 WWAndroid/src/gov/nasa/worldwind/event/NoOpInputHandler.java
  173. +42 −0 WWAndroid/src/gov/nasa/worldwind/event/RenderingEvent.java
  174. +17 −0 WWAndroid/src/gov/nasa/worldwind/event/RenderingListener.java
  175. +58 −0 WWAndroid/src/gov/nasa/worldwind/event/WWEvent.java
  176. +34 −0 WWAndroid/src/gov/nasa/worldwind/exception/WWRuntimeException.java
  177. +34 −0 WWAndroid/src/gov/nasa/worldwind/exception/WWUnrecognizedException.java
  178. +390 −0 WWAndroid/src/gov/nasa/worldwind/geom/Angle.java
  179. +491 −0 WWAndroid/src/gov/nasa/worldwind/geom/Box.java
  180. +69 −0 WWAndroid/src/gov/nasa/worldwind/geom/Color.java
  181. +50 −0 WWAndroid/src/gov/nasa/worldwind/geom/Extent.java
  182. +588 −0 WWAndroid/src/gov/nasa/worldwind/geom/Frustum.java
  183. +218 −0 WWAndroid/src/gov/nasa/worldwind/geom/Intersection.java
  184. +144 −0 WWAndroid/src/gov/nasa/worldwind/geom/LatLon.java
  185. +240 −0 WWAndroid/src/gov/nasa/worldwind/geom/Line.java
  186. +1,788 −0 WWAndroid/src/gov/nasa/worldwind/geom/Matrix.java
  187. +245 −0 WWAndroid/src/gov/nasa/worldwind/geom/Plane.java
  188. +146 −0 WWAndroid/src/gov/nasa/worldwind/geom/Position.java
  189. +822 −0 WWAndroid/src/gov/nasa/worldwind/geom/Sector.java
  190. +947 −0 WWAndroid/src/gov/nasa/worldwind/geom/Vec4.java
  191. +291 −0 WWAndroid/src/gov/nasa/worldwind/globes/AbstractGlobe.java
  192. +41 −0 WWAndroid/src/gov/nasa/worldwind/globes/Earth.java
  193. +782 −0 WWAndroid/src/gov/nasa/worldwind/globes/EllipsoidalGlobe.java
  194. +164 −0 WWAndroid/src/gov/nasa/worldwind/globes/Globe.java
  195. +332 −0 WWAndroid/src/gov/nasa/worldwind/layers/AbstractLayer.java
  196. +300 −0 WWAndroid/src/gov/nasa/worldwind/layers/BasicLayerFactory.java
  197. +376 −0 WWAndroid/src/gov/nasa/worldwind/layers/BasicTiledImageLayer.java
  198. +39 −0 WWAndroid/src/gov/nasa/worldwind/layers/Earth/BMNGOneImage.java
  199. +147 −0 WWAndroid/src/gov/nasa/worldwind/layers/Layer.java
  200. +440 −0 WWAndroid/src/gov/nasa/worldwind/layers/LayerList.java
  201. +387 −0 WWAndroid/src/gov/nasa/worldwind/layers/TiledImageLayer.java
  202. +153 −0 WWAndroid/src/gov/nasa/worldwind/layers/WMSTiledImageLayer.java
  203. +18 −0 WWAndroid/src/gov/nasa/worldwind/ogc/OGCConstants.java
  204. +145 −0 WWAndroid/src/gov/nasa/worldwind/pick/PickSupport.java
  205. +145 −0 WWAndroid/src/gov/nasa/worldwind/pick/PickedObject.java
  206. +70 −0 WWAndroid/src/gov/nasa/worldwind/pick/PickedObjectList.java
  207. +355 −0 WWAndroid/src/gov/nasa/worldwind/render/BasicGpuTextureFactory.java
  208. +264 −0 WWAndroid/src/gov/nasa/worldwind/render/DrawContext.java
  209. +346 −0 WWAndroid/src/gov/nasa/worldwind/render/DrawContextImpl.java
Sorry, we could not display the entire diff because it was too big.
View
1 WWAndroid/.idea/.name
@@ -0,0 +1 @@
+WWAndroid
View
15 WWAndroid/.idea/ant.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="AntConfiguration">
+ <defaultAnt bundledAnt="true" />
+ <buildFile url="file://$PROJECT_DIR$/build.xml">
+ <additionalClassPath />
+ <antReference projectDefault="true" />
+ <customJdkName value="" />
+ <maximumHeapSize value="128" />
+ <maximumStackSize value="2" />
+ <properties />
+ </buildFile>
+ </component>
+</project>
+
View
24 WWAndroid/.idea/compiler.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="CompilerConfiguration">
+ <option name="DEFAULT_COMPILER" value="Javac" />
+ <resourceExtensions />
+ <wildcardResourcePatterns>
+ <entry name="?*.properties" />
+ <entry name="?*.xml" />
+ <entry name="?*.gif" />
+ <entry name="?*.png" />
+ <entry name="?*.jpeg" />
+ <entry name="?*.jpg" />
+ <entry name="?*.html" />
+ <entry name="?*.dtd" />
+ <entry name="?*.tld" />
+ <entry name="?*.ftl" />
+ </wildcardResourcePatterns>
+ <annotationProcessing enabled="false" useClasspath="true" />
+ </component>
+ <component name="JavacSettings">
+ <option name="MAXIMUM_HEAP_SIZE" value="1024" />
+ </component>
+</project>
+
View
9 WWAndroid/.idea/copyright/NASA.xml
@@ -0,0 +1,9 @@
+<component name="CopyrightManager">
+ <copyright>
+ <option name="notice" value="Copyright (C) &amp;#36;today.year United States Government as represented by the Administrator of the&#10;National Aeronautics and Space Administration.&#10;All Rights Reserved." />
+ <option name="keyword" value="Copyright" />
+ <option name="allowReplaceKeyword" value="" />
+ <option name="myName" value="NASA" />
+ <option name="myLocal" value="true" />
+ </copyright>
+</component>
View
7 WWAndroid/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,7 @@
+<component name="CopyrightManager">
+ <settings default="NASA">
+ <module2copyright>
+ <element module="Project Files" copyright="NASA" />
+ </module2copyright>
+ </settings>
+</component>
View
24 WWAndroid/.idea/dictionaries/dcollins.xml
@@ -0,0 +1,24 @@
+<component name="ProjectDictionaryState">
+ <dictionary name="dcollins">
+ <words>
+ <w>args</w>
+ <w>collada</w>
+ <w>dcollins</w>
+ <w>deque</w>
+ <w>google</w>
+ <w>javax</w>
+ <w>jburkey</w>
+ <w>namespaces</w>
+ <w>renderable</w>
+ <w>resize</w>
+ <w>simplifiable</w>
+ <w>texel</w>
+ <w>tgaskins</w>
+ <w>url's</w>
+ <w>viewport</w>
+ <w>worldwind</w>
+ <w>wwjint</w>
+ <w>wwxml</w>
+ </words>
+ </dictionary>
+</component>
View
145 WWAndroid/.idea/dictionaries/tag.xml
@@ -0,0 +1,145 @@
+<component name="ProjectDictionaryState">
+ <dictionary name="tag">
+ <words>
+ <w>accessor</w>
+ <w>accessors</w>
+ <w>altitudinal</w>
+ <w>anaglyph</w>
+ <w>antialias</w>
+ <w>antialiasing</w>
+ <w>arial</w>
+ <w>attr</w>
+ <w>attrib</w>
+ <w>attrs</w>
+ <w>audioicon</w>
+ <w>avkey</w>
+ <w>avlist</w>
+ <w>callout</w>
+ <w>colinear</w>
+ <w>collada</w>
+ <w>conformant</w>
+ <w>conus</w>
+ <w>coord</w>
+ <w>coords</w>
+ <w>crosshair</w>
+ <w>dataimport</w>
+ <w>dataset</w>
+ <w>dcollins</w>
+ <w>deallocated</w>
+ <w>dont</w>
+ <w>dragger</w>
+ <w>dted</w>
+ <w>endian</w>
+ <w>enques</w>
+ <w>enqueued</w>
+ <w>enqueues</w>
+ <w>enzmann</w>
+ <w>eogsh</w>
+ <w>epsg</w>
+ <w>framebuffer</w>
+ <w>func</w>
+ <w>garakl</w>
+ <w>gdal</w>
+ <w>georeference</w>
+ <w>georeferencing</w>
+ <w>glts</w>
+ <w>google</w>
+ <w>hipparcos</w>
+ <w>hwnd</w>
+ <w>ieee</w>
+ <w>indices</w>
+ <w>intersector</w>
+ <w>intersectors</w>
+ <w>iter</w>
+ <w>iterable</w>
+ <w>javax</w>
+ <w>jogl</w>
+ <w>jpeg</w>
+ <w>jvm's</w>
+ <w>kronenfeld</w>
+ <w>latlons</w>
+ <w>level's</w>
+ <w>loxodrome</w>
+ <w>measurer</w>
+ <w>metadata</w>
+ <w>modelview</w>
+ <w>multi</w>
+ <w>nitf</w>
+ <w>nmea</w>
+ <w>numtextureunits</w>
+ <w>nverts</w>
+ <w>ogsh</w>
+ <w>opengis</w>
+ <w>opengl</w>
+ <w>pabercrombie</w>
+ <w>params</w>
+ <w>patrickmurris</w>
+ <w>pgon</w>
+ <w>pickable</w>
+ <w>placemark</w>
+ <w>placemark's</w>
+ <w>placemarks</w>
+ <w>polyline</w>
+ <w>polyline's</w>
+ <w>polylines</w>
+ <w>popup</w>
+ <w>prepended</w>
+ <w>prepends</w>
+ <w>prims</w>
+ <w>println</w>
+ <w>proj</w>
+ <w>quadric</w>
+ <w>quadtree</w>
+ <w>rasterized</w>
+ <w>rasters</w>
+ <w>rdog</w>
+ <w>rdogwms</w>
+ <w>rect</w>
+ <w>recurse</w>
+ <w>redblue</w>
+ <w>renderable</w>
+ <w>renderable's</w>
+ <w>renderables</w>
+ <w>reproject</w>
+ <w>reprojects</w>
+ <w>restorable</w>
+ <w>rhumb</w>
+ <w>scrollbar</w>
+ <w>shapefile</w>
+ <w>shapefile's</w>
+ <w>shapefiles</w>
+ <w>simplifiable</w>
+ <w>snohomish</w>
+ <w>solaris</w>
+ <w>sqrt</w>
+ <w>subdirectory</w>
+ <w>subsegments</w>
+ <w>tangency</w>
+ <w>tessellator</w>
+ <w>tessllation</w>
+ <w>texturing</w>
+ <w>tgaskins</w>
+ <w>throwable</w>
+ <w>tuple</w>
+ <w>tuples</w>
+ <w>unmark</w>
+ <w>vbase</w>
+ <w>vbos</w>
+ <w>vcap</w>
+ <w>vdata</w>
+ <w>vermeille</w>
+ <w>vermeille's</w>
+ <w>vert</w>
+ <w>verts</w>
+ <w>viewport</w>
+ <w>viewport's</w>
+ <w>wireframe</w>
+ <w>worldmap</w>
+ <w>worldwindow</w>
+ <w>wwjint</w>
+ <w>xander</w>
+ <w>xstride</w>
+ <w>yyyy</w>
+ </words>
+ </dictionary>
+</component>
View
5 WWAndroid/.idea/encodings.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+</project>
+
View
13 WWAndroid/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,13 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0" is_locked="false">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ <inspection_tool class="EqualsAndHashcode" enabled="true" level="WARNING" enabled_by_default="true" />
+ <inspection_tool class="UnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="ADD_MAINS_TO_ENTRIES" value="true" />
+ <option name="ADD_APPLET_TO_ENTRIES" value="true" />
+ <option name="ADD_SERVLET_TO_ENTRIES" value="true" />
+ <option name="ADD_NONJAVA_TO_ENTRIES" value="true" />
+ </inspection_tool>
+ </profile>
+</component>
View
15 WWAndroid/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,15 @@
+<component name="InspectionProjectProfileManager">
+ <settings>
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_PROFILE" value="true" />
+ <version value="1.0" />
+ <list size="6">
+ <item index="0" class="java.lang.String" itemvalue="SERVER PROBLEM" />
+ <item index="1" class="java.lang.String" itemvalue="WEAK WARNING" />
+ <item index="2" class="java.lang.String" itemvalue="INFO" />
+ <item index="3" class="java.lang.String" itemvalue="TYPO" />
+ <item index="4" class="java.lang.String" itemvalue="WARNING" />
+ <item index="5" class="java.lang.String" itemvalue="ERROR" />
+ </list>
+ </settings>
+</component>
View
36 WWAndroid/.idea/misc.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="DependencyValidationManager">
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </component>
+ <component name="EntryPointsManager">
+ <entry_points version="2.0" />
+ </component>
+ <component name="JavadocGenerationManager">
+ <option name="OUTPUT_DIRECTORY" />
+ <option name="OPTION_SCOPE" value="protected" />
+ <option name="OPTION_HIERARCHY" value="true" />
+ <option name="OPTION_NAVIGATOR" value="true" />
+ <option name="OPTION_INDEX" value="true" />
+ <option name="OPTION_SEPARATE_INDEX" value="true" />
+ <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
+ <option name="OPTION_DEPRECATED_LIST" value="true" />
+ <option name="OTHER_OPTIONS" value="" />
+ <option name="HEAP_SIZE" />
+ <option name="LOCALE" />
+ <option name="OPEN_IN_BROWSER" value="true" />
+ </component>
+ <component name="ProjectResources">
+ <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
+ </component>
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
+ <output url="file://$PROJECT_DIR$/out" />
+ </component>
+ <component name="SvnBranchConfigurationManager">
+ <option name="mySupportsUserInfoFilter" value="true" />
+ </component>
+</project>
+
View
11 WWAndroid/.idea/modules.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/examples/SimplestPossibleExample/SimplestPossibleExample.iml" filepath="$PROJECT_DIR$/examples/SimplestPossibleExample/SimplestPossibleExample.iml" />
+ <module fileurl="file://$PROJECT_DIR$/WWAndroid.iml" filepath="$PROJECT_DIR$/WWAndroid.iml" />
+ <module fileurl="file://$PROJECT_DIR$/examples/WWAndroidDemo/WWAndroidDemo.iml" filepath="$PROJECT_DIR$/examples/WWAndroidDemo/WWAndroidDemo.iml" />
+ </modules>
+ </component>
+</project>
+
View
182 WWAndroid/.idea/projectCodeStyle.xml
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="CodeStyleSettingsManager">
+ <option name="PER_PROJECT_SETTINGS">
+ <value>
+ <option name="JAVA_INDENT_OPTIONS">
+ <value>
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="4" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </value>
+ </option>
+ <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="2" />
+ <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="2" />
+ <option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
+ <value>
+ <package name="java.awt" withSubpackages="true" static="false" />
+ <package name="javax.swing" withSubpackages="true" static="false" />
+ </value>
+ </option>
+ <option name="JD_ADD_BLANK_AFTER_PARM_COMMENTS" value="true" />
+ <option name="JD_ADD_BLANK_AFTER_RETURN" value="true" />
+ <option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
+ <option name="XML_KEEP_BLANK_LINES" value="1" />
+ <option name="HTML_KEEP_LINE_BREAKS" value="false" />
+ <option name="HTML_KEEP_LINE_BREAKS_IN_TEXT" value="false" />
+ <option name="HTML_KEEP_BLANK_LINES" value="1" />
+ <option name="HTML_ALIGN_TEXT" value="true" />
+ <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" />
+ <option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
+ <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
+ <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
+ <option name="BRACE_STYLE" value="2" />
+ <option name="CLASS_BRACE_STYLE" value="2" />
+ <option name="METHOD_BRACE_STYLE" value="2" />
+ <option name="ELSE_ON_NEW_LINE" value="true" />
+ <option name="WHILE_ON_NEW_LINE" value="true" />
+ <option name="CATCH_ON_NEW_LINE" value="true" />
+ <option name="FINALLY_ON_NEW_LINE" value="true" />
+ <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
+ <option name="ALIGN_MULTILINE_FOR" value="false" />
+ <option name="ALIGN_MULTILINE_ASSIGNMENT" value="true" />
+ <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true" />
+ <option name="CALL_PARAMETERS_WRAP" value="1" />
+ <option name="METHOD_PARAMETERS_WRAP" value="1" />
+ <option name="EXTENDS_LIST_WRAP" value="1" />
+ <option name="THROWS_LIST_WRAP" value="1" />
+ <option name="EXTENDS_KEYWORD_WRAP" value="1" />
+ <option name="THROWS_KEYWORD_WRAP" value="1" />
+ <option name="BINARY_OPERATION_WRAP" value="1" />
+ <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
+ <option name="TERNARY_OPERATION_WRAP" value="1" />
+ <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
+ <option name="FOR_STATEMENT_WRAP" value="1" />
+ <option name="ARRAY_INITIALIZER_WRAP" value="1" />
+ <option name="ASSIGNMENT_WRAP" value="1" />
+ <option name="PLACE_ASSIGNMENT_SIGN_ON_NEXT_LINE" value="true" />
+ <option name="WRAP_COMMENTS" value="true" />
+ <option name="DOWHILE_BRACE_FORCE" value="3" />
+ <option name="WHILE_BRACE_FORCE" value="3" />
+ <option name="FOR_BRACE_FORCE" value="3" />
+ <ADDITIONAL_INDENT_OPTIONS fileType="groovy">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="gsp">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="java">
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="4" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="js">
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="jsp">
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="php">
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="sass">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="sql">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="txt">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="xml">
+ <option name="INDENT_SIZE" value="4" />
+ <option name="CONTINUATION_INDENT_SIZE" value="4" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ <ADDITIONAL_INDENT_OPTIONS fileType="yml">
+ <option name="INDENT_SIZE" value="2" />
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
+ <option name="TAB_SIZE" value="4" />
+ <option name="USE_TAB_CHARACTER" value="false" />
+ <option name="SMART_TABS" value="false" />
+ <option name="LABEL_INDENT_SIZE" value="0" />
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
+ <option name="USE_RELATIVE_INDENTS" value="false" />
+ </ADDITIONAL_INDENT_OPTIONS>
+ </value>
+ </option>
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
+ </component>
+</project>
+
View
21 WWAndroid/.idea/runConfigurations/SimplestPossibleExample.xml
@@ -0,0 +1,21 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="SimplestPossibleExample" type="AndroidRunConfigurationType" factoryName="Android Application">
+ <module name="SimplestPossibleExample" />
+ <option name="ACTIVITY_CLASS" value="" />
+ <option name="MODE" value="default_activity" />
+ <option name="DEPLOY" value="true" />
+ <option name="CHOOSE_DEVICE_MANUALLY" value="false" />
+ <option name="PREFERRED_AVD" value="" />
+ <option name="COMMAND_LINE" value="" />
+ <option name="WIPE_USER_DATA" value="false" />
+ <option name="DISABLE_BOOT_ANIMATION" value="false" />
+ <option name="NETWORK_SPEED" value="full" />
+ <option name="NETWORK_LATENCY" value="none" />
+ <option name="CLEAR_LOGCAT" value="false" />
+ <RunnerSettings RunnerId="AndroidDebugRunner" />
+ <RunnerSettings RunnerId="Run" />
+ <ConfigurationWrapper RunnerId="AndroidDebugRunner" />
+ <ConfigurationWrapper RunnerId="Run" />
+ <method />
+ </configuration>
+</component>
View
19 WWAndroid/.idea/runConfigurations/WWAndroidDemo.xml
@@ -0,0 +1,19 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="WWAndroidDemo" type="AndroidRunConfigurationType" factoryName="Android Application">
+ <module name="WWAndroidDemo" />
+ <option name="ACTIVITY_CLASS" value="" />
+ <option name="MODE" value="default_activity" />
+ <option name="DEPLOY" value="true" />
+ <option name="CHOOSE_DEVICE_MANUALLY" value="false" />
+ <option name="PREFERRED_AVD" value="" />
+ <option name="COMMAND_LINE" value="" />
+ <option name="WIPE_USER_DATA" value="false" />
+ <option name="DISABLE_BOOT_ANIMATION" value="false" />
+ <option name="NETWORK_SPEED" value="full" />
+ <option name="NETWORK_LATENCY" value="none" />
+ <option name="CLEAR_LOGCAT" value="false" />
+ <RunnerSettings RunnerId="Run" />
+ <ConfigurationWrapper RunnerId="Run" />
+ <method />
+ </configuration>
+</component>
View
7 WWAndroid/.idea/vcs.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="svn" />
+ </component>
+</project>
+
View
51 WWAndroid/AndroidManifestTemplate.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ Example Android manifest file. This file demonstrates how to configure an Android manifest file for applications
+ that use the World Wind Android SDK. See the file examples/SimplestPossibleExample/AndroidManifest.xml for an
+ example manifest file. See http://developer.android.com/guide/topics/manifest/manifest-intro.html for documentation
+ on creating Android manifest files.
+
+ Replace everything below in all caps with your own information.
+
+ $Id$
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="APP_PACKAGE">
+
+ <!--Specify that World Wind applications require SDK Platform Android 3.1, API 12.-->
+ <uses-sdk android:targetSdkVersion="12"/>
+ <!--Specify all of the Android features that World Wind requires: OpenGL ES 2.0.-->
+ <uses-feature android:glEsVersion="0x00020000"/>
+ <!--Specify all of the Android permissions that World Wind requires: internet.-->
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <!--
+ Define the Android application that launches when the user selects our application's icon in the launch bar. Add the
+ attribute android:debuggable="true" to this element in order to debug your application using an IDE or the Android
+ SDK command line tools. Be sure to remove the android:debuggable attribute prior to deploying your application for
+ release.
+ -->
+ <application android:label="APP_NAME" android:icon="APP_ICON">
+ <!--
+ Define the bootstrap activity that launches when the World Wind based activity launches. Configure the
+ android:launchMode attribute as singleTask so that the activity acts as an entry point for the application.
+ Configure the android:configChanges attribute to denote that our application handles orientation and keyboard
+ availability changes itself. This ensures that the application is not shut down and restarted due to either of
+ these changes.
+ -->
+ <activity android:name=".MAIN_ACTIVITY_CLASSNAME"
+ android:label="MAIN_ACTIVITY_NAME"
+ android:launchMode="singleTask"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
View
249 WWAndroid/NASA_Open_Source_Agreement_1.3.txt
@@ -0,0 +1,249 @@
+NASA OPEN SOURCE AGREEMENT VERSION 1.3
+
+THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE,
+REPRODUCTION, DISTRIBUTION, MODIFICATION AND REDISTRIBUTION OF CERTAIN
+COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE UNITED STATES GOVERNMENT
+AS REPRESENTED BY THE GOVERNMENT AGENCY LISTED BELOW ("GOVERNMENT
+AGENCY"). THE UNITED STATES GOVERNMENT, AS REPRESENTED BY GOVERNMENT
+AGENCY, IS AN INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT
+DISTRIBUTIONS OR REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO
+USES, REPRODUCES, DISTRIBUTES, MODIFIES OR REDISTRIBUTES THE SUBJECT
+SOFTWARE, AS DEFINED HEREIN, OR ANY PART THEREOF, IS, BY THAT ACTION,
+ACCEPTING IN FULL THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN
+THIS AGREEMENT.
+
+Government Agency: National Aeronautics and Space Administration (NASA)
+Government Agency Original Software Designation: ARC-15166-1
+Government Agency Original Software Title: WorldWind Version 1.3
+User Registration Requested. Please Visit http://opensource.arc.nasa.gov/
+Government Agency Point of Contact for Original Software: Patrick.Hogan@nasa.gov
+________________________________________________
+
+
+1. DEFINITIONS
+
+A. "Contributor" means Government Agency, as the developer of the
+Original Software, and any entity that makes a Modification.
+B. "Covered Patents" mean patent claims licensable by a Contributor
+that are necessarily infringed by the use or sale of its Modification
+alone or when combined with the Subject Software.
+C. "Display" means the showing of a copy of the Subject Software,
+either directly or by means of an image, or any other device.
+D. "Distribution" means conveyance or transfer of the Subject
+Software, regardless of means, to another.
+E. "Larger Work" means computer software that combines Subject
+Software, or portions thereof, with software separate from the Subject
+Software that is not governed by the terms of this Agreement.
+F. "Modification" means any alteration of, including addition to or
+deletion from, the substance or structure of either the Original
+Software or Subject Software, and includes derivative works, as that
+term is defined in the Copyright Statute, 17 USC 101. However, the
+act of including Subject Software as part of a Larger Work does not in
+and of itself constitute a Modification.
+G. "Original Software" means the computer software first released
+under this Agreement by Government Agency with Government Agency
+designation ARC-15166-1 and entitled WorldWind, including source code,
+object code and accompanying documentation, if any.
+H. "Recipient" means anyone who acquires the Subject Software under
+this Agreement, including all Contributors.
+I. "Redistribution" means Distribution of the Subject Software after a
+Modification has been made.
+J. "Reproduction" means the making of a counterpart, image or copy of
+the Subject Software.
+K. "Sale" means the exchange of the Subject Software for money or
+equivalent value.
+L. "Subject Software" means the Original Software, Modifications, or
+any respective parts thereof.
+M. "Use" means the application or employment of the Subject Software
+for any purpose.
+
+2. GRANT OF RIGHTS
+
+A. Under Non-Patent Rights: Subject to the terms and conditions of
+this Agreement, each Contributor, with respect to its own contribution
+to the Subject Software, hereby grants to each Recipient a
+non-exclusive, world-wide, royalty-free license to engage in the
+following activities pertaining to the Subject Software:
+
+1. Use
+2. Distribution
+3. Reproduction
+4. Modification
+5. Redistribution
+6. Display
+
+B. Under Patent Rights: Subject to the terms and conditions of this
+Agreement, each Contributor, with respect to its own contribution to
+the Subject Software, hereby grants to each Recipient under Covered
+Patents a non-exclusive, world-wide, royalty-free license to engage in
+the following activities pertaining to the Subject Software:
+
+1. Use
+2. Distribution
+3. Reproduction
+4. Sale
+5. Offer for Sale
+
+C. The rights granted under Paragraph B. also apply to the combination
+of a Contributor's Modification and the Subject Software if, at the
+time the Modification is added by the Contributor, the addition of
+such Modification causes the combination to be covered by the Covered
+Patents. It does not apply to any other combinations that include a
+Modification.
+
+D. The rights granted in Paragraphs A. and B. allow the Recipient to
+sublicense those same rights. Such sublicense must be under the same
+terms and conditions of this Agreement.
+
+3. OBLIGATIONS OF RECIPIENT
+
+A. Distribution or Redistribution of the Subject Software must be made
+under this Agreement except for additions covered under paragraph 3H.
+
+1. Whenever a Recipient distributes or redistributes the Subject
+ Software, a copy of this Agreement must be included with each copy
+ of the Subject Software; and
+2. If Recipient distributes or redistributes the Subject Software in
+ any form other than source code, Recipient must also make the
+ source code freely available, and must provide with each copy of
+ the Subject Software information on how to obtain the source code
+ in a reasonable manner on or through a medium customarily used for
+ software exchange.
+
+B. Each Recipient must ensure that the following copyright notice
+appears prominently in the Subject Software:
+
+Copyright (C) 2001 United States Government
+as represented by the Administrator of the
+National Aeronautics and Space Administration.
+All Rights Reserved.
+
+C. Each Contributor must characterize its alteration of the Subject
+Software as a Modification and must identify itself as the originator
+of its Modification in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Modification. In
+fulfillment of these requirements, Contributor must include a file
+(e.g., a change log file) that describes the alterations made and the
+date of the alterations, identifies Contributor as originator of the
+alterations, and consents to characterization of the alterations as a
+Modification, for example, by including a statement that the
+Modification is derived, directly or indirectly, from Original
+Software provided by Government Agency. Once consent is granted, it
+may not thereafter be revoked.
+
+D. A Contributor may add its own copyright notice to the Subject
+Software. Once a copyright notice has been added to the Subject
+Software, a Recipient may not remove it without the express permission
+of the Contributor who added the notice.
+
+E. A Recipient may not make any representation in the Subject Software
+or in any promotional, advertising or other material that may be
+construed as an endorsement by Government Agency or by any prior
+Recipient of any product or service provided by Recipient, or that may
+seek to obtain commercial advantage by the fact of Government Agency's
+or a prior Recipient's participation in this Agreement.
+
+F. In an effort to track usage and maintain accurate records of the
+Subject Software, each Recipient, upon receipt of the Subject
+Software, is requested to register with Government Agency by visiting
+the following website: http://opensource.arc.nasa.gov. Recipient's
+name and personal information shall be used for statistical purposes
+only. Once a Recipient makes a Modification available, it is requested
+that the Recipient inform Government Agency at the web site provided
+above how to access the Modification.
+
+G. Each Contributor represents that that its Modification is believed
+to be Contributor's original creation and does not violate any
+existing agreements, regulations, statutes or rules, and further that
+Contributor has sufficient rights to grant the rights conveyed by this
+Agreement.
+
+H. A Recipient may choose to offer, and to charge a fee for, warranty,
+support, indemnity and/or liability obligations to one or more other
+Recipients of the Subject Software. A Recipient may do so, however,
+only on its own behalf and not on behalf of Government Agency or any
+other Recipient. Such a Recipient must make it absolutely clear that
+any such warranty, support, indemnity and/or liability obligation is
+offered by that Recipient alone. Further, such Recipient agrees to
+indemnify Government Agency and every other Recipient for any
+liability incurred by them as a result of warranty, support, indemnity
+and/or liability offered by such Recipient.
+
+I. A Recipient may create a Larger Work by combining Subject Software
+with separate software not governed by the terms of this agreement and
+distribute the Larger Work as a single product. In such case, the
+Recipient must make sure Subject Software, or portions thereof,
+included in the Larger Work is subject to this Agreement.
+
+J. Notwithstanding any provisions contained herein, Recipient is
+hereby put on notice that export of any goods or technical data from
+the United States may require some form of export license from the
+U.S. Government. Failure to obtain necessary export licenses may
+result in criminal liability under U.S. laws. Government Agency
+neither represents that a license shall not be required nor that, if
+required, it shall be issued. Nothing granted herein provides any
+such export license.
+
+4. DISCLAIMER OF WARRANTIES AND LIABILITIES; WAIVER AND INDEMNIFICATION
+
+A. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY
+WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY,
+INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE
+WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR FREEDOM FROM
+INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR
+FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO
+THE SUBJECT SOFTWARE. THIS AGREEMENT DOES NOT, IN ANY MANNER,
+CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT
+OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY
+OTHER APPLICATIONS RESULTING FROM USE OF THE SUBJECT SOFTWARE.
+FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND LIABILITIES
+REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE,
+AND DISTRIBUTES IT "AS IS."
+
+B. Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS
+AGAINST THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND
+SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE OF
+THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES,
+EXPENSES OR LOSSES ARISING FROM SUCH USE, INCLUDING ANY DAMAGES FROM
+PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE SUBJECT
+SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS THE UNITED
+STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY
+PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY LAW. RECIPIENT'S SOLE
+REMEDY FOR ANY SUCH MATTER SHALL BE THE IMMEDIATE, UNILATERAL
+TERMINATION OF THIS AGREEMENT.
+
+
+5. GENERAL TERMS
+
+A. Termination: This Agreement and the rights granted hereunder will
+terminate automatically if a Recipient fails to comply with these
+terms and conditions, and fails to cure such noncompliance within
+thirty (30) days of becoming aware of such noncompliance. Upon
+termination, a Recipient agrees to immediately cease use and
+distribution of the Subject Software. All sublicenses to the Subject
+Software properly granted by the breaching Recipient shall survive any
+such termination of this Agreement.
+
+B. Severability: If any provision of this Agreement is invalid or
+unenforceable under applicable law, it shall not affect the validity
+or enforceability of the remainder of the terms of this Agreement.
+
+C. Applicable Law: This Agreement shall be subject to United States
+federal law only for all purposes, including, but not limited to,
+determining the validity of this Agreement, the meaning of its
+provisions and the rights, obligations and remedies of the parties.
+
+D. Entire Understanding: This Agreement constitutes the entire
+understanding and agreement of the parties relating to release of the
+Subject Software and may not be superseded, modified or amended except
+by further written agreement duly executed by the parties.
+
+E. Binding Authority: By accepting and using the Subject Software
+under this Agreement, a Recipient affirms its authority to bind the
+Recipient to all terms and conditions of this Agreement and that that
+Recipient hereby agrees to all terms and conditions herein.
+
+F. Point of Contact: Any Recipient contact with Government Agency is
+to be directed to the designated representative as follows:
+Patrick.Hogan@nasa.gov.
View
47 WWAndroid/README.txt
@@ -0,0 +1,47 @@
+$Id$
+
+This document provides links on getting started with the World Wind Android SDK, and provides instructions on building
+and running the the an example World Wind application on Android.
+
+
+Getting Started With the World Wind Android SDK
+------------------------------------------------------------
+
+Key files and folders in the World Wind Android SDK:
+- build.xml: Apache ANT build file for the World Wind Android SDK.
+- src: Contains all Java source files for the World Wind Android SDK.
+- examples: Contains example applications that use the World Wind Android SDK.
+
+Links to important World Wind sites that will help you get started using the World Wind Android SDK in your
+application:
+
+World Wind Android Developer's Guide:
+http://goworldwind.org/android
+
+World Wind Android Release Website:
+http://worldwind.arc.nasa.gov/android/
+
+World Wind Android Forum:
+http://forum.worldwindcentral.com/forumdisplay.php?f=50
+
+World Wind Android API Documentation:
+http://builds.worldwind.arc.nasa.gov/wwandroid-releases/daily/docs/api/index.html
+
+
+Running an Example Application on Android
+------------------------------------------------------------
+
+Start by configuring your Android development environment by following the instructions at:
+http://goworldwind.org/android/getting-started-with-android-and-java. Then, connect your Android device to your
+computer. Note that as of September 20, 2011, World Wind Android has been tested on the Samsung Galaxy TAB 10.1.
+
+To run an example using IntelliJ IDEA:
+ 1) Open the WWAndroid project in IntelliJ IDEA.
+ 2) In the toolbar, select the SimplestPossibleExample run configuration.
+ 3) Click the run button.
+
+To run an example from the command line:
+ 1) Open a terminal.
+ 2) Add the Android SDK folders "platform-tools" and "tools" to your PATH environment variable.
+ 3) cd to the WWAndroid project root folder.
+ 4) adb -d install examples/SimplestPossibleExample/SimplestPossibleExample.apk
View
15 WWAndroid/WWAndroid.iml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/classes" />
+ <output-test url="file://$MODULE_DIR$/testClasses" />
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="Android 3.1 Platform" level="application" />
+ </component>
+</module>
+
View
131 WWAndroid/build.xml
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ Build script for the World Wind Android SDK. Compiles the World Wind source, creates World Wind API documentation,
+ and builds World Wind JAR files. The default target 'worldwind.jarfile' builds the World Wind core JAR file.
+
+ $Id$
+-->
+<project name="worldwind" default="worldwind.jarfile" basedir=".">
+ <description>
+ Build script for the World Wind Android SDK. Compiles the World Wind source, creates World Wind API
+ documentation, and builds World Wind JAR files. The default target 'worldwind.jarfile' builds the World Wind
+ core JAR file.
+ </description>
+
+ <!-- Import the World Wind Android SDK properties. -->
+ <property file="build/android.properties"/>
+ <!-- Import the World Wind build properties. -->
+ <property file="build/build.properties"/>
+ <!-- Import the World Wind examples targets. -->
+ <import file="build/examples.xml"/>
+ <!-- Import the World Wind release targets. -->
+ <import file="build/release.xml"/>
+ <!-- Import the World Wind general utility targets. -->
+ <import file="build/util.xml"/>
+
+ <!-- Main build target for the World Wind Android SDK. Compiles the World Wind source, creates the World Wind API
+ documentation, and builds the World Wind JAR files. -->
+ <target name="build" depends="check.requirements,
+ compile,
+ javadocs,
+ worldwind.jarfile"
+ description="Main build target for the World Wind Android SDK. Compiles the World Wind source, creates the World Wind API documentation, and builds the World Wind JAR files."/>
+
+ <!-- Compiles all World Wind Android sources under the 'src' folder into Java class files under the 'classes'folder.
+ We configure the javac task parameters 'source' and 'target' in order to explicitly control the Java compiler
+ version used to build World Wind classes. Without these parameters, the javac task would use the mostrecent
+ compiler available on the current machine, and the Java compiler version used to build WorldWind classes would
+ be unpredictable. For this reason, the Apache ANT manual strongly recommends specifying the 'source' and
+ 'target' parameters. See the following link for more detail: http://ant.apache.org/manual/CoreTasks/javac.html
+
+ The Java compiler version used by the javac task is defined by the build parameter 'worldwind.jdk.version'.
+ This parameter is defined in the file 'build/build.properties', and must be set to "1.5" to be compatible with
+ Android 3.1. -->
+ <target name="compile" depends="check.requirements"
+ description="Compiles all World Wind Android sources under the 'src' folder into Java class files under the 'classes' folder.">
+ <mkdir dir="${worldwind.classes.dir}"/>
+ <javac srcdir="${worldwind.src.dir}"
+ destdir="${worldwind.classes.dir}"
+ source="${worldwind.jdk.version}"
+ target="${worldwind.jdk.version}"
+ fork="true"
+ includeantruntime="false"
+ memoryMaximumSize="512m">
+ <classpath>
+ <pathelement location="${android.platform.jarfile}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <!-- Builds the World Wind API documentation for the core package into the 'doc' folder. Includes all World Wind
+ core classes under the packages 'gov.nasa.worldwind'. -->
+ <target name="javadocs" depends="check.requirements, clean.javadocs"
+ description="Builds the World Wind API documentation for the core package into the 'doc' folder.">
+ <javadoc destdir="${worldwind.doc.dir}"
+ overview="${worldwind.src.dir}/overview.html"
+ windowtitle="NASA World Wind" doctitle="NASA World Wind API" header="NASA World Wind"
+ splitindex="true" protected="true" nodeprecated="true" version="false" author="false" use="true"
+ maxmemory="512m">
+ <packageset dir="${worldwind.src.dir}" defaultexcludes="yes">
+ <include name="gov/nasa/worldwind/**"/>
+ </packageset>
+ <classpath>
+ <pathelement location="${android.platform.jarfile}"/>
+ </classpath>
+ <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+ </javadoc>
+ </target>
+
+ <!-- Builds the World Wind core JAR file 'worldwind.jar'. Includes all classes in the World Wind core package
+ gov.nasa.worldwind. Excludes files added by Subversion, and files added by the operating system. The resultant
+ JAR file is dependent on android.jar, but since that dependency is implied we do not include android.jar on the
+ class path. -->
+ <target name="worldwind.jarfile" depends="check.requirements, compile"
+ description="Builds the World Wind core JAR file 'worldwind.jar'.">
+ <jar jarfile="${basedir}/${worldwind.jarfile}">
+ <!-- Include the World Wind core package gov.nasa.worldwind. -->
+ <fileset dir="${worldwind.classes.dir}">
+ <include name="gov/nasa/worldwind/**/*.class"/>
+ <type type="file"/>
+ </fileset>
+ <!-- Include the MessageStrings properties files, and all resource files under the config, images, and
+ shaders packages. We include the entire config, images, and shaders packages rather than defining
+ patterns for resource file extensions for two reasons: (a) this avoids packaging unnecessary resources
+ in the Jar file, and (b) this ensures that anything added to these packages is included without
+ requiring changes to this build target. -->
+ <fileset dir="${worldwind.src.dir}">
+ <include name="gov/nasa/worldwind/util/**/*.properties"/>
+ <include name="config/**"/>
+ <include name="images/**"/>
+ <include name="shaders/**"/>
+ <type type="file"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <!-- Individual clean targets corresponding to each build target above. -->
+ <target name="clean.classes">
+ <delete dir="${worldwind.classes.dir}"/>
+ </target>
+ <target name="clean.javadocs">
+ <delete dir="${worldwind.doc.dir}"/>
+ </target>
+ <target name="clean.worldwind.jarfile">
+ <delete file="${basedir}/${worldwind.jarfile}"/>
+ </target>
+ <target name="clean.build" depends="clean.classes,
+ clean.javadocs,
+ clean.worldwind.jarfile"/>
+ <!-- Main clean target for the World Wind Java SDK. Removes all files and directories created by all World Wind
+ build targets. -->
+ <target name="clean.all" depends="check.requirements,
+ clean.build,
+ clean.worldwind.examples,
+ clean.worldwind.release"
+ description="Main clean target for the World Wind Android SDK. Removes all files and directories created by all World Wind build targets."/>
+
+</project>
View
19 WWAndroid/build/android.properties
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2011 United States Government as represented by the Administrator of the
+# National Aeronautics and Space Administration.
+# All Rights Reserved.
+#
+# $Id$
+
+#***********************************************************************************************
+# Android SDK build properties.
+#
+# These properties are specific to the local machine, and define the location of the Android SDK and the Android
+# platform that World Wind is compiled for.
+#***********************************************************************************************
+
+# Uncomment sdk.dir and set it to the full path to your Android SDK directory. The Android SDK must contain SDK
+# Platform Android 3.1 (API 12). Note that this path must not end in a trailing slash.
+#sdk.dir=
+android.platform.dir=${sdk.dir}/platforms/android-12
+android.platform.jarfile=${android.platform.dir}/android.jar
View
34 WWAndroid/build/build.properties
@@ -0,0 +1,34 @@
+#
+# Copyright (C) 2011 United States Government as represented by the Administrator of the
+# National Aeronautics and Space Administration.
+# All Rights Reserved.
+#
+# $Id$
+
+#***********************************************************************************************
+# Build properties for the World Wind Java SDK.
+#***********************************************************************************************
+
+# World Wind core build properties.
+worldwind.src.dir=${basedir}/src
+worldwind.doc.dir=${basedir}/doc
+worldwind.classes.dir=${basedir}/classes
+worldwind.jarfile=worldwind-android.jar
+worldwind.jdk.version=1.5
+
+# World Wind SDK release and deployment build properties.
+worldwind.deployment.dir=
+worldwind.release.version=devbuild
+worldwind.release.dir=${basedir}/worldwind-release
+worldwind.release.zipfile=${basedir}/worldwind-${worldwind.release.version}.zip
+worldwind.release.deployment.dir=${worldwind.deployment.dir}/builds
+worldwind.doc.release.dir=${basedir}/worldwind-docs
+worldwind.doc.release.zipfile=${basedir}/worldwind-docs-${worldwind.release.version}.zip
+worldwind.doc.deployment.dir=${worldwind.deployment.dir}/docs
+
+# World Wind SDK examples build properties.
+worldwind.examples.dir=${basedir}/examples
+
+# Jar signing build properties.
+keystore.properties=${basedir}/keystore.properties
+keystore.dir=
View
71 WWAndroid/build/examples.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+ -->
+<project name="examples">
+
+ <!-- Builds Android packages for all example modules under the 'examples' directory. -->
+ <target name="worldwind.examples" depends="check.requirements,
+ clean.worldwind.examples,
+ worldwind.jarfile,
+ android.keystore.setup"
+ description="">
+ <build-example dir="${worldwind.examples.dir}/SimplestPossibleExample" name="SimplestPossibleExample"/>
+ <build-example dir="${worldwind.examples.dir}/WWAndroidDemo" name="WWAndroidDemo"/>
+ </target>
+
+ <!-- Main clean target for example build targets. Removes all files and directories created by all release build
+ targets. -->
+ <target name="clean.worldwind.examples" depends="check.requirements">
+ <clean-example dir="${worldwind.examples.dir}/SimplestPossibleExample" name="SimplestPossibleExample"/>
+ <clean-example dir="${worldwind.examples.dir}/WWAndroidDemo" name="WWAndroidDemo"/>
+ </target>
+
+ <!-- Macro task definition for building a single example with a given name. The "name" attribute specifies the
+ location of the example's module or top-level directory. -->
+ <macrodef name="build-example">
+ <attribute name="dir"/>
+ <attribute name="name"/>
+ <sequential>
+ <!-- Copy the World Wind JAR file to the example's "libs" directory. This causes Android to place the World
+ Wind JAR file on the example's class path. -->
+ <mkdir dir="@{dir}/libs"/>
+ <copy file="${worldwind.jarfile}" todir="@{dir}/libs"/>
+ <!-- Cause Android to build the example in release mode, and place the output package file at
+ @{dir}/@{name}.apk, regardless of whether the application is built in debug or release mode. The
+ Android build scripts automatically choose debug mode if no keystore is available, and release mode if
+ a keystore is available. -->
+ <ant dir="@{dir}" target="release">
+ <property name="out.release.file" value="@{dir}/@{name}.apk"/>
+ </ant>
+ </sequential>
+ </macrodef>
+
+ <!-- Macro task definition for cleaning a single example with a given name. The "name" attribute specifies the
+ location of the example's module or top-level directory. -->
+ <macrodef name="clean-example">
+ <attribute name="dir"/>
+ <attribute name="name"/>
+ <sequential>
+ <ant dir="@{dir}" target="clean"/>
+ <delete dir="@{dir}/libs"/>
+ <delete file="@{dir}/@{name}.apk"/>
+ </sequential>
+ </macrodef>
+
+ <!-- Cause Android to build the example in release mode. This does not sign the file, and results in the
+ package file @{name}-unsigned.apk. Define properties for the signing certificate file and passwords by
+ converting the property names used by World Wind JAR signing tasks to those expected by the Android JAR
+ signing tasks. -->
+ <target name="android.keystore.setup" depends="keystore-setup" if="keystore.available">
+ <property name="key.store" location="${keystore.file}"/>
+ <property name="key.store.password" value="${keystore.storepass}"/>
+ <property name="key.alias" value="${keystore.alias}"/>
+ <property name="key.alias.password" value="${keystore.storepass}"/>
+ </target>
+
+</project>
View
124 WWAndroid/build/release.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+ -->
+<project name="release">
+
+ <!-- Creates the World Wind Android SDK release in the folder 'worldwind-android-release'. Includes the entire
+ contents of the World Wind project and the World Wind core and World Wind extensions Jar files. Includes the
+ WebView Jar files for Java Web Start under the 'jws' folder. All Jar files created for the release are signed
+ with a digital signature when the signature files are available. -->
+ <target name="worldwind.release" depends="check.requirements,
+ clean.build,
+ clean.worldwind.examples,
+ clean.worldwind.release,
+ build,
+ worldwind.examples"
+ description="Creates the World Wind SDK release in the folder 'worldwind-release'.">
+ <mkdir dir="${worldwind.release.dir}"/>
+ <copy todir="${worldwind.release.dir}">
+ <fileset dir="${basedir}">
+ <include name=".idea/**"/>
+ <include name="build/**"/>
+ <include name="build.xml"/>
+ <include name="doc/**"/>
+ <include name="examples/**/res/**"/>
+ <include name="examples/**/src/**"/>
+ <include name="examples/**/*.apk"/>
+ <include name="examples/**/*.cfg"/>
+ <include name="examples/**/*.xml"/>
+ <include name="src/**"/>
+ <include name="**/*.iml"/>
+ <include name="**/*.properties"/>
+ <include name="*.jar"/>
+ <include name="*.txt"/>
+ <!-- Exclude files generated by the Android build scripts. -->
+ <exclude name="examples/**/bin/**"/>
+ <exclude name="examples/**/gen/**"/>
+ <exclude name="examples/**/libs/**"/>
+ <!-- Exclude the digital signature files. -->
+ <exclude name="**/keystore.*"/>
+ <exclude name="**/*wwstore*"/>
+ <!-- Exclude files added by the Bamboo build server. -->
+ <exclude name="**/build-number.txt"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ <!-- Sign all Jar files built for the World Wind release. -->
+ <antcall target="jarsigner">
+ <param name="jarfile" value="${worldwind.release.dir}/${worldwind.jarfile}"/>
+ </antcall>
+ </target>
+
+ <!-- Packages the World Wind SDK release into the ZIP archive 'worldwind-version.zip', where 'version' is the
+ current version. -->
+ <target name="worldwind.release.zipfile" depends="check.requirements, worldwind.release"
+ description="Packages the World Wind SDK release into the ZIP archive 'worldwind-version.zip'.">
+ <zip destfile="${worldwind.release.zipfile}">
+ <fileset dir="${worldwind.release.dir}"/>
+ </zip>
+ </target>
+
+ <!-- Creates the World Wind API documentation release in the folder 'worldwind-docs'. Includes the World Wind
+ Javadoc-style documentation under the folder 'worldwind-docs/api'. -->
+ <target name="worldwind.doc.release" depends="check.requirements, clean.javadocs, javadocs"
+ description="Creates the World Wind API documentation release in the folder 'worldwind-docs'.">
+ <!-- Copy the World Wind API documentation to the 'api' folder under the docs release folder. -->
+ <mkdir dir="${worldwind.doc.release.dir}/api"/>
+ <copy todir="${worldwind.doc.release.dir}/api">
+ <fileset dir="${worldwind.doc.dir}">
+ <include name="**"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Packages the World Wind API documentation release into the ZIP archive 'worldwind-docs-version.zip', where
+ 'version' is the current version. -->
+ <target name="worldwind.doc.release.zipfile" depends="check.requirements, worldwind.doc.release"
+ description="Packages the World Wind API documentation release into the ZIP archive 'worldwind-docs-version.zip'.">
+ <zip destfile="${worldwind.doc.release.zipfile}">
+ <fileset dir="${worldwind.doc.release.dir}"/>
+ </zip>
+ </target>
+
+ <!-- Makes the World Wind SDK release and World Wind API documentation publicly available by copying them to a
+ specified deployment folder. This copies the World Wind SDK release ZIP archive to a 'builds' folder within the
+ deployment folder, and copies the World Wind API documentation ZIP archive to a 'docs' folder within the
+ deployment folder. This also copies the unzipped World Wind API documentation to a 'docs/api' folder within the
+ deployment folder. -->
+ <target name="worldwind.deploy" depends="check.requirements,
+ worldwind.release.zipfile,
+ worldwind.doc.release.zipfile"
+ description="Makes the World Wind SDK release and World Wind API documentation publicly available by copying them to a specified deployment folder.">
+ <!--Copy the World Wind SDK release package to the deployment folder. -->
+ <mkdir dir="${worldwind.release.deployment.dir}"/>
+ <copy file="${worldwind.release.zipfile}" todir="${worldwind.release.deployment.dir}"/>
+ <!--Copy the World Wind API documentation release package to the deployment folder. -->
+ <mkdir dir="${worldwind.doc.deployment.dir}"/>
+ <copy file="${worldwind.doc.release.zipfile}" todir="${worldwind.doc.deployment.dir}"/>
+ <!--Copy the World Wind API documentation to the deployment folder as a live website. -->
+ <delete dir="${worldwind.doc.deployment.dir}/api"/>
+ <mkdir dir="${worldwind.doc.deployment.dir}/api"/>
+ <copy todir="${worldwind.doc.deployment.dir}">
+ <fileset dir="${worldwind.doc.release.dir}">
+ <include name="api/**"/>
+ <type type="file"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Main clean target for release build targets. Removes all files and directories created by all release build
+ targets. -->
+ <target name="clean.worldwind.release">
+ <delete dir="${worldwind.release.dir}"/>
+ <delete file="${worldwind.release.zipfile}"/>
+ <delete dir="${worldwind.doc.release.dir}"/>
+ <delete file="${worldwind.doc.release.zipfile}"/>
+ </target>
+
+</project>
View
82 WWAndroid/build/util.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+ -->
+<project name="util">
+
+ <!-- Verifies that all required build properties are available and configured correctly. This target fails and
+ outputs a message if any property is not defined or is configured incorrectly. -->
+ <target name="check.requirements">
+ <fail unless="sdk.dir">Android SDK path is not configured.
+ - Set the property sdk.dir in the file build/android.properties to point to your Android SDK folder.
+ - For example, on Mac OS X: sdk.dir=/Users/YOUR_NAME/android-sdk-mac_x86.
+ - This property must not end with a trailing slash.
+ </fail>
+ </target>
+
+ <!-- Jar signing support target. The Jar to sign is specified by the parameter "jarfile". Keystore information is
+ read from a keystore properties file 'keystore.properties'. If this file exists, and its contents specify a
+ valid keystore, the specified jar is signed. The keystore properties file must be a Java properties file, with
+ at least the following properties defined:
+ keystore.file
+ keystore.alias
+ keystore.storepass
+ keystore.tsaurl
+ These properties coincide with the jarsigner properties of the same name. -->
+ <target name="jarsigner" depends="jarsigner-check,keystore-setup,keystore-missing" if="keystore.available">
+ <signjar jar="${jarfile}"
+ keystore="${keystore.file}"
+ alias="${keystore.alias}"
+ storepass="${keystore.storepass}"
+ tsaurl="${keystore.tsaurl}"/>
+ </target>
+
+ <target name="jarsigner-check">
+ <fail unless="jarfile" message="Jar file not specified. Set the property 'jarfile'."/>
+ </target>
+
+ <target name="keystore-missing" unless="keystore.available">
+ <echo level="info">Jar '${jarfile}' will NOT be signed. The keystore file cannot be found.
+ (to suppress this message, enable the quiet option: -quiet, -q)
+
+ Follow these instructions to enable Jar file signing:
+
+ 1. Create a plain text file named 'keystore.properties' in the World Wind project root folder.
+
+ 2. Give the file 'keystore.properties' the following contents:
+ keystore.file=[myKeystore]
+ keystore.alias=[myAlais]
+ keystore.storepass=[myPassword]
+ keystore.tsaurl=[URL for timestamp authority]
+
+ 3. If you don't have a keystore, you can create a temporary one as follows (use [myPassword] as the
+ password):
+ keytool -genkey -Keystore ./[myKeystore] -alias [myAlias]
+ keytool -selfcert -Keystore ./[myKeystore] -alias [myAlias]
+
+ For help with keystores or signing Jar files, see
+ http://java.sun.com/j2se/1.5.0/docs/guide/security/SecurityToolsSummary.html
+ </echo>
+ </target>
+
+ <target name="keystore-setup">
+ <copy todir="${basedir}">
+ <fileset dir="${keystore.dir}"/>
+ </copy>
+ <property file="${keystore.properties}"/>
+ <condition property="keystore.available">
+ <and>
+ <isset property="keystore.file"/>
+ <isset property="keystore.alias"/>
+ <isset property="keystore.storepass"/>
+ <isset property="keystore.tsaurl"/>
+ <available file="${keystore.file}"/>
+ </and>
+ </condition>
+ </target>
+
+</project>
View
44 WWAndroid/examples/SimplestPossibleExample/AndroidManifest.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="gov.nasa.worldwindx.examples.spe">
+
+ <!--Specify that World Wind applications require SDK Platform Android 3.1, API 12.-->
+ <uses-sdk android:targetSdkVersion="12"/>
+ <!--Specify all of the Android features that World Wind requires: OpenGL ES 2.0.-->
+ <uses-feature android:glEsVersion="0x00020000"/>
+ <!--Specify all of the Android permissions that World Wind requires: internet.-->
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <!--
+ Define the Android application that launches when the user selects the SimplestPossibleExample's icon in the launch
+ bar. Add the attribute android:debuggable="true" to this element in order to debug this application using an IDE or
+ the Android SDK command line tools. Be sure to remove the android:debuggable attribute prior to deploying this
+ application or checking in changes to this file.
+ -->
+ <application android:label="@string/app_name" android:icon="@drawable/icon">
+ <!--
+ Define the bootstrap activity that launches when the SimplestPossibleExample application launches. Configure the
+ android:launchMode attribute as singleTask so that the WorldWindowActivity acts as an entry point for the
+ application. Configure the android:configChanges attribute to denote that our application handles orientation
+ and keyboard availability changes itself. This ensures that the application is not shut down and restarted due
+ to either of these changes.
+ -->
+ <activity android:name=".SimplestPossibleActivity"
+ android:label="@string/main_activity_name"
+ android:launchMode="singleTask"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
View
39 WWAndroid/examples/SimplestPossibleExample/SimplestPossibleExample.iml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="ANDROID_MODULE" version="4">
+ <component name="FacetManager">
+ <facet type="android" name="Android">
+ <configuration>
+ <option name="PLATFORM_NAME" value="Android 3.1 Platform" />
+ <option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
+ <option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
+ <option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
+ <option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
+ <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
+ <option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
+ <option name="REGENERATE_R_JAVA" value="true" />
+ <option name="REGENERATE_JAVA_BY_AIDL" value="true" />
+ <option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
+ <option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
+ <option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
+ <option name="CUSTOM_COMPILER_MANIFEST" value="" />
+ <option name="APK_PATH" value="" />
+ <option name="ADD_ANDROID_LIBRARY" value="true" />
+ <option name="LIBRARY_PROJECT" value="false" />
+ <option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
+ <option name="GENERATE_UNSIGNED_APK" value="false" />
+ </configuration>
+ </facet>
+ </component>
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" scope="PROVIDED" name="Android 3.1 Platform" level="application" />
+ <orderEntry type="module" module-name="WWAndroid" />
+ </component>
+</module>
+
View
18 WWAndroid/examples/SimplestPossibleExample/build.properties
@@ -0,0 +1,18 @@
+# This file is used to override default values used by the Ant build system.
+#
+# This file must be checked in Version Control Systems, as it is
+# integral to the build system of your project.
+
+# This file is only used by the Ant script.
+
+# You can use this to override default values such as
+# 'source.dir' for the location of your java source folder and
+# 'out.dir' for the location of your output folder.
+libs.dir=${basedir}/libs
+
+# You can also use it define how the release builds are signed by declaring
+# the following properties:
+# 'key.store' for the location of your keystore and
+# 'key.alias' for the name of the key to use.
+# The password will be asked during the build when you use the 'release' target.
+
View
25 WWAndroid/examples/SimplestPossibleExample/build.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+-->
+<project name="SimplestPossibleExample" default="help">
+
+ <!-- Import the World Wind android prpertiles. This file contains the path to the Android SDK. -->
+ <property file="../../build/android.properties"/>
+ <!-- Import the Android common build properties for this application. -->
+ <property file="build.properties"/>
+ <!-- Import the Android default build properties for this application. -->
+ <property file="default.properties"/>
+
+ <!-- Required pre-setup import -->
+ <import file="${sdk.dir}/tools/ant/pre_setup.xml"/>
+
+ <!-- Execute the Android Setup task that will setup some properties specific to the target, and import the build
+ rules files. -->
+ <setup/>
+
+</project>
View
11 WWAndroid/examples/SimplestPossibleExample/default.properties
@@ -0,0 +1,11 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-12
View
40 WWAndroid/examples/SimplestPossibleExample/proguard.cfg
@@ -0,0 +1,40 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers class * extends android.app.Activity {
+ public void *(android.view.View);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
View
BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-hdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-ldpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN WWAndroid/examples/SimplestPossibleExample/res/drawable-mdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 WWAndroid/examples/SimplestPossibleExample/res/values/strings.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 United States Government as represented by the Administrator of the
+ National Aeronautics and Space Administration.
+ All Rights Reserved.
+
+ $Id$
+-->
+<resources>
+ <string name="app_name">WWAndroid Simplest Possible Example</string>
+ <string name="main_activity_name">WWAndroid Simplest Possible Example</string>
+</resources>
View
72 ...implestPossibleExample/src/gov/nasa/worldwindx/examples/spe/SimplestPossibleActivity.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright (C) 2011 United States Government as represented by the Administrator of the
+ * National Aeronautics and Space Administration.
+ * All Rights Reserved.
+ */
+package gov.nasa.worldwindx.examples.spe;
+
+import android.app.Activity;
+import android.os.Bundle;
+import gov.nasa.worldwind.*;
+import gov.nasa.worldwind.avlist.AVKey;
+import gov.nasa.worldwind.geom.*;
+import gov.nasa.worldwind.globes.Globe;
+
+import java.io.File;
+
+/**
+ * @author dcollins
+ * @version $Id$
+ */
+public class SimplestPossibleActivity extends Activity
+{
+ protected WorldWindowGLSurfaceView wwd;
+
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState)
+ {
+ super.onCreate(savedInstanceState);
+
+ // TODO: temporary method of setting the location of the file store on Android. Need to replace this with
+ // TODO: something more flexible.
+ File fileDir = getFilesDir();
+ System.setProperty("gov.nasa.worldwind.platform.user.store", fileDir.getAbsolutePath());
+
+ this.wwd = new WorldWindowGLSurfaceView(this);
+ this.wwd.setModel((Model) WorldWind.createConfigurationComponent(AVKey.MODEL_CLASS_NAME));
+ this.setContentView(this.wwd);
+ this.setupView();
+ }
+
+ @Override
+ protected void onPause()
+ {
+ super.onPause();
+
+ // Pause the OpenGL ES rendering thread.
+ this.wwd.onPause();
+ }
+
+ @Override
+ protected void onResume()
+ {
+ super.onResume();
+
+ // Resume the OpenGL ES rendering thread.
+ this.wwd.onResume();
+ }
+
+ protected void setupView()
+ {
+ // TODO: this should be done during View initialization, not here in the application.
+ BasicView view = (BasicView) this.wwd.getView();
+ Globe globe = this.wwd.getModel()