├── .cirrus.yml ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── android.yml │ └── build_and_upload.yml ├── .gitignore ├── .travis.yml ├── LICENSE.md ├── PRIVACY_POLICY.md ├── README.md ├── app ├── build.gradle ├── proguard.cfg ├── src │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── stardroid │ │ │ └── test │ │ │ ├── DynamicStarMapActivityTest.java │ │ │ └── SplashScreenActivityTest.java │ ├── fdroid │ │ ├── google-services.json │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ ├── android │ │ │ └── stardroid │ │ │ │ ├── activities │ │ │ │ ├── DynamicStarMapModule.java │ │ │ │ └── util │ │ │ │ │ └── GooglePlayServicesChecker.java │ │ │ │ └── util │ │ │ │ └── Analytics.java │ │ │ └── firebase │ │ │ └── analytics │ │ │ └── FirebaseAnalytics.java │ ├── gms │ │ ├── google-services.json │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── stardroid │ │ │ ├── activities │ │ │ ├── DynamicStarMapModule.java │ │ │ └── util │ │ │ │ └── GooglePlayServicesChecker.java │ │ │ └── util │ │ │ └── Analytics.java │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ │ ├── constellations.binary │ │ │ ├── html │ │ │ │ ├── animated_gif_wrapper.html │ │ │ │ └── calib.gif │ │ │ ├── messier.binary │ │ │ └── stars.binary │ │ ├── java │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── android │ │ │ │ └── stardroid │ │ │ │ ├── ApplicationComponent.kt │ │ │ │ ├── ApplicationConstants.kt │ │ │ │ ├── ApplicationModule.kt │ │ │ │ ├── StardroidApplication.kt │ │ │ │ ├── activities │ │ │ │ ├── AbstractDynamicStarMapModule.java │ │ │ │ ├── CompassCalibrationActivity.java │ │ │ │ ├── CompassCalibrationComponent.java │ │ │ │ ├── CompassCalibrationModule.java │ │ │ │ ├── DiagnosticActivity.java │ │ │ │ ├── DiagnosticActivityComponent.java │ │ │ │ ├── DiagnosticActivityModule.java │ │ │ │ ├── DynamicStarMapActivity.java │ │ │ │ ├── DynamicStarMapComponent.java │ │ │ │ ├── EditSettingsActivity.java │ │ │ │ ├── EditSettingsActivityComponent.java │ │ │ │ ├── EditSettingsActivityModule.java │ │ │ │ ├── ImageDisplayActivity.java │ │ │ │ ├── ImageDisplayActivityComponent.java │ │ │ │ ├── ImageDisplayActivityModule.java │ │ │ │ ├── ImageGalleryActivity.java │ │ │ │ ├── ImageGalleryActivityComponent.java │ │ │ │ ├── ImageGalleryActivityModule.java │ │ │ │ ├── InjectableActivity.java │ │ │ │ ├── SplashScreenActivity.java │ │ │ │ ├── SplashScreenComponent.java │ │ │ │ ├── SplashScreenModule.java │ │ │ │ ├── dialogs │ │ │ │ │ ├── DialogFragment.java │ │ │ │ │ ├── EulaDialogFragment.java │ │ │ │ │ ├── HelpDialogFragment.java │ │ │ │ │ ├── LocationPermissionRationaleFragment.java │ │ │ │ │ ├── MultipleSearchResultsDialogFragment.java │ │ │ │ │ ├── NoSearchResultsDialogFragment.java │ │ │ │ │ ├── NoSensorsDialogFragment.java │ │ │ │ │ ├── TimeTravelDialog.java │ │ │ │ │ ├── TimeTravelDialogFragment.java │ │ │ │ │ └── WhatsNewDialogFragment.java │ │ │ │ └── util │ │ │ │ │ ├── AbstractGooglePlayServicesChecker.java │ │ │ │ │ ├── ActivityLightLevelChanger.java │ │ │ │ │ ├── ActivityLightLevelManager.java │ │ │ │ │ ├── ConstraintsChecker.java │ │ │ │ │ ├── FullscreenControlsManager.java │ │ │ │ │ └── SensorAccuracyDecoder.java │ │ │ │ ├── base │ │ │ │ ├── AbstractListenerAdaptor.java │ │ │ │ ├── Filter.java │ │ │ │ ├── FixedSizePriorityQueue.java │ │ │ │ ├── Lists.java │ │ │ │ ├── Pair.java │ │ │ │ ├── Provider.java │ │ │ │ ├── TimeConstants.java │ │ │ │ ├── Transform.java │ │ │ │ └── VisibleForTesting.java │ │ │ │ ├── control │ │ │ │ ├── AbstractController.java │ │ │ │ ├── AstronomerModel.java │ │ │ │ ├── AstronomerModelImpl.kt │ │ │ │ ├── Clock.java │ │ │ │ ├── Controller.java │ │ │ │ ├── ControllerGroup.java │ │ │ │ ├── LocationController.java │ │ │ │ ├── MagneticDeclinationCalculator.java │ │ │ │ ├── MagneticDeclinationCalculatorSwitcher.java │ │ │ │ ├── ManualOrientationController.kt │ │ │ │ ├── RealClock.java │ │ │ │ ├── RealMagneticDeclinationCalculator.java │ │ │ │ ├── SensorOrientationController.java │ │ │ │ ├── TeleportingController.java │ │ │ │ ├── TimeTravelClock.java │ │ │ │ ├── TransitioningCompositeClock.java │ │ │ │ ├── ZeroMagneticDeclinationCalculator.java │ │ │ │ ├── ZoomController.java │ │ │ │ └── package.html │ │ │ │ ├── ephemeris │ │ │ │ ├── OrbitalElements.kt │ │ │ │ ├── SolarSystemBody.kt │ │ │ │ └── SolarSystemRenderable.kt │ │ │ │ ├── gallery │ │ │ │ ├── Gallery.kt │ │ │ │ ├── GalleryFactory.kt │ │ │ │ ├── GalleryImage.kt │ │ │ │ └── HardcodedGallery.kt │ │ │ │ ├── inject │ │ │ │ ├── HasComponent.kt │ │ │ │ └── PerActivity.kt │ │ │ │ ├── layers │ │ │ │ ├── AbstractFileBasedLayer.kt │ │ │ │ ├── AbstractLayer.kt │ │ │ │ ├── AbstractRenderablesLayer.kt │ │ │ │ ├── CometsLayer.kt │ │ │ │ ├── ConstellationsLayer.kt │ │ │ │ ├── EclipticLayer.kt │ │ │ │ ├── GridLayer.kt │ │ │ │ ├── HorizonLayer.kt │ │ │ │ ├── IssLayer.kt │ │ │ │ ├── Layer.kt │ │ │ │ ├── LayerManager.kt │ │ │ │ ├── MessierLayer.kt │ │ │ │ ├── MeteorShowerLayer.kt │ │ │ │ ├── SkyGradientLayer.kt │ │ │ │ ├── SolarSystemLayer.kt │ │ │ │ ├── StarOfBethlehemLayer.kt │ │ │ │ └── StarsLayer.kt │ │ │ │ ├── math │ │ │ │ ├── Astronomy.kt │ │ │ │ ├── CoordinateManipulations.kt │ │ │ │ ├── Geometry.kt │ │ │ │ ├── LatLong.kt │ │ │ │ ├── MathUtils.kt │ │ │ │ ├── Matrix3x3.kt │ │ │ │ ├── Matrix4x4.kt │ │ │ │ ├── RaDec.kt │ │ │ │ ├── TimeUtils.kt │ │ │ │ └── Vector3.kt │ │ │ │ ├── renderables │ │ │ │ ├── AbstractAstronomicalRenderable.kt │ │ │ │ ├── AbstractPrimitive.java │ │ │ │ ├── AstronomicalRenderable.kt │ │ │ │ ├── ImagePrimitive.java │ │ │ │ ├── LinePrimitive.java │ │ │ │ ├── PointPrimitive.java │ │ │ │ ├── Renderable.kt │ │ │ │ ├── TextPrimitive.java │ │ │ │ └── proto │ │ │ │ │ └── ProtobufAstronomicalRenderable.kt │ │ │ │ ├── renderer │ │ │ │ ├── CrosshairOverlay.java │ │ │ │ ├── DummyRenderer.java │ │ │ │ ├── ImageObjectManager.java │ │ │ │ ├── LabelObjectManager.java │ │ │ │ ├── LabelOverlayManager.java │ │ │ │ ├── OverlayManager.java │ │ │ │ ├── PointObjectManager.java │ │ │ │ ├── PolyLineObjectManager.java │ │ │ │ ├── RendererController.java │ │ │ │ ├── RendererControllerBase.java │ │ │ │ ├── RendererObjectManager.java │ │ │ │ ├── SearchArrow.java │ │ │ │ ├── SkyBox.java │ │ │ │ ├── SkyRenderer.java │ │ │ │ └── util │ │ │ │ │ ├── ColorBuffer.java │ │ │ │ │ ├── ColoredQuad.java │ │ │ │ │ ├── GLBuffer.java │ │ │ │ │ ├── IndexBuffer.java │ │ │ │ │ ├── LabelMaker.java │ │ │ │ │ ├── NightVisionColorBuffer.java │ │ │ │ │ ├── SearchHelper.java │ │ │ │ │ ├── SkyRegionMap.java │ │ │ │ │ ├── TexCoordBuffer.java │ │ │ │ │ ├── TextureManager.java │ │ │ │ │ ├── TextureReference.java │ │ │ │ │ ├── TexturedQuad.java │ │ │ │ │ └── VertexBuffer.java │ │ │ │ ├── search │ │ │ │ ├── PrefixStore.kt │ │ │ │ ├── SearchResult.kt │ │ │ │ └── SearchTermsProvider.kt │ │ │ │ ├── sensors │ │ │ │ └── SensorModelAdaptor.kt │ │ │ │ ├── space │ │ │ │ ├── CelestialObject.kt │ │ │ │ ├── EarthOrbitingObject.kt │ │ │ │ ├── FixedCelestialObject.kt │ │ │ │ ├── Moon.kt │ │ │ │ ├── MovingObject.kt │ │ │ │ ├── SolarSystemObject.kt │ │ │ │ ├── Sun.kt │ │ │ │ ├── SunOrbitingObject.kt │ │ │ │ ├── TransientObject.kt │ │ │ │ └── Universe.kt │ │ │ │ ├── touch │ │ │ │ ├── DragRotateZoomGestureDetector.kt │ │ │ │ ├── Flinger.kt │ │ │ │ ├── GestureInterpreter.kt │ │ │ │ └── MapMover.kt │ │ │ │ ├── util │ │ │ │ ├── AnalyticsInterface.java │ │ │ │ ├── FixedPoint.kt │ │ │ │ ├── MiscUtil.kt │ │ │ │ ├── PreferenceChangeAnalyticsTracker.kt │ │ │ │ ├── SensorAccuracyMonitor.kt │ │ │ │ ├── Toaster.kt │ │ │ │ ├── WeakHashSet.java │ │ │ │ ├── package.html │ │ │ │ └── smoothers │ │ │ │ │ ├── ExponentiallyWeightedSmoother.java │ │ │ │ │ ├── PlainSmootherModelAdaptor.java │ │ │ │ │ └── SensorSmoother.java │ │ │ │ └── views │ │ │ │ ├── ButtonLayerView.java │ │ │ │ ├── PreferencesButton.java │ │ │ │ └── package.html │ │ └── res │ │ │ ├── anim │ │ │ ├── fadein.xml │ │ │ ├── fadeout.xml │ │ │ ├── fastzoom.xml │ │ │ └── timetravelflash.xml │ │ │ ├── drawable-hdpi │ │ │ └── skymap_logo.png │ │ │ ├── drawable-large │ │ │ └── stardroid_big_image.jpg │ │ │ ├── drawable-mdpi │ │ │ └── skymap_logo.png │ │ │ ├── drawable-xhdpi │ │ │ └── skymap_logo.png │ │ │ ├── drawable-xxhdpi │ │ │ └── skymap_logo.png │ │ │ ├── drawable-xxxhdpi │ │ │ └── skymap_logo.png │ │ │ ├── drawable │ │ │ ├── arrow.png │ │ │ ├── arrowcircle.png │ │ │ ├── automaticmode.png │ │ │ ├── b_meteor_off.png │ │ │ ├── b_meteor_on.png │ │ │ ├── backwards_play.png │ │ │ ├── backwards_play_pressed.png │ │ │ ├── blank.png │ │ │ ├── comet.png │ │ │ ├── crosshair.png │ │ │ ├── earth.png │ │ │ ├── forward_play.png │ │ │ ├── forward_play_pressed.png │ │ │ ├── grid_off.png │ │ │ ├── grid_on.png │ │ │ ├── horizon_off.png │ │ │ ├── horizon_on.png │ │ │ ├── hubble_catseyenebula.jpg │ │ │ ├── hubble_jupiter.jpg │ │ │ ├── hubble_m1.jpg │ │ │ ├── hubble_m101.jpg │ │ │ ├── hubble_m104.jpg │ │ │ ├── hubble_m13.jpg │ │ │ ├── hubble_m16.jpg │ │ │ ├── hubble_m45.jpg │ │ │ ├── hubble_m51a.jpg │ │ │ ├── hubble_m57.jpg │ │ │ ├── hubble_mars.jpg │ │ │ ├── hubble_neptune.jpg │ │ │ ├── hubble_omegacentauri.jpg │ │ │ ├── hubble_orion.jpg │ │ │ ├── hubble_saturn.jpg │ │ │ ├── hubble_ultra_deep_field.jpg │ │ │ ├── hubble_uranus.jpg │ │ │ ├── hubble_v838.jpg │ │ │ ├── hubble_venus_clouds_tops.jpg │ │ │ ├── jupiter.png │ │ │ ├── kennett_m31.jpg │ │ │ ├── line.png │ │ │ ├── manualmode.png │ │ │ ├── mars.png │ │ │ ├── mercury.png │ │ │ ├── messenger_11_07_39.jpg │ │ │ ├── messier_off.png │ │ │ ├── messier_on.png │ │ │ ├── meteor1_screen.png │ │ │ ├── meteor2_screen.png │ │ │ ├── moon0.png │ │ │ ├── moon1.png │ │ │ ├── moon2.png │ │ │ ├── moon3.png │ │ │ ├── moon4.png │ │ │ ├── moon5.png │ │ │ ├── moon6.png │ │ │ ├── moon7.png │ │ │ ├── neptune.png │ │ │ ├── nh_pluto_in_false_color.jpg │ │ │ ├── planet_off.png │ │ │ ├── planet_on.png │ │ │ ├── pluto.png │ │ │ ├── saturn.png │ │ │ ├── search_lens_very_small.png │ │ │ ├── sidebarnoelements.png │ │ │ ├── star_of_b.gif │ │ │ ├── star_off.png │ │ │ ├── star_on.png │ │ │ ├── stardroid_big_image.png │ │ │ ├── stars_off.png │ │ │ ├── stars_on.png │ │ │ ├── stars_texture.png │ │ │ ├── stop_time_travel.png │ │ │ ├── stop_time_travel_pressed.png │ │ │ ├── sun.png │ │ │ ├── time_travel_bar.png │ │ │ ├── time_travel_close.png │ │ │ ├── time_travel_icon.png │ │ │ ├── time_travel_small_icon.png │ │ │ ├── timetravel_back_btn.xml │ │ │ ├── timetravel_fwd_btn.xml │ │ │ ├── timetravel_stop_btn.xml │ │ │ ├── uranus.png │ │ │ └── venus.png │ │ │ ├── layout-land │ │ │ └── activity_compass_calibration.xml │ │ │ ├── layout │ │ │ ├── activity_compass_calibration.xml │ │ │ ├── activity_diagnostic.xml │ │ │ ├── help.xml │ │ │ ├── imagedisplay.xml │ │ │ ├── imagedisplaypanel.xml │ │ │ ├── imagegallery.xml │ │ │ ├── no_sensor_warning.xml │ │ │ ├── skyrenderer.xml │ │ │ ├── spinner_dropdown_item.xml │ │ │ ├── splash.xml │ │ │ ├── time_dialog.xml │ │ │ ├── time_player.xml │ │ │ ├── tos_view.xml │ │ │ └── whatsnew_view.xml │ │ │ ├── menu │ │ │ └── main.xml │ │ │ ├── raw │ │ │ ├── timetravel.mp3 │ │ │ └── timetravelback.mp3 │ │ │ ├── values-ar │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-ca │ │ │ └── language_apology.xml │ │ │ ├── values-cs │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-cy │ │ │ ├── arrays.xml │ │ │ ├── eula.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-da │ │ │ └── language_apology.xml │ │ │ ├── values-de │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-el │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-en-rGB │ │ │ └── strings.xml │ │ │ ├── values-es-rES │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-es │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── eula.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ ├── strings.xml │ │ │ └── whatsnew.xml │ │ │ ├── values-fa │ │ │ ├── celestial_objects.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-fr │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-hi │ │ │ └── language_apology.xml │ │ │ ├── values-hu │ │ │ └── language_apology.xml │ │ │ ├── values-in │ │ │ └── language_apology.xml │ │ │ ├── values-it │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-ja │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-ko │ │ │ ├── arrays.xml │ │ │ ├── eula.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-nb │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-nl │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-pl │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-pt │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-ru │ │ │ ├── arrays.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-sk │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-sv │ │ │ └── language_apology.xml │ │ │ ├── values-th │ │ │ └── language_apology.xml │ │ │ ├── values-tr │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-uk │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ ├── strings.xml │ │ │ └── whatsnew.xml │ │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ │ ├── values-zh-rCN │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values-zh-rTW │ │ │ ├── arrays.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ └── strings.xml │ │ │ ├── values │ │ │ ├── arrays.xml │ │ │ ├── attrs.xml │ │ │ ├── celestial_objects.xml │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── eula.xml │ │ │ ├── help.xml │ │ │ ├── language_apology.xml │ │ │ ├── notranslate-arrays.xml │ │ │ ├── strings.xml │ │ │ ├── styles.xml │ │ │ └── whatsnew.xml │ │ │ └── xml │ │ │ ├── preference_screen.xml │ │ │ └── searchable.xml │ └── test │ │ └── java │ │ └── com │ │ └── google │ │ └── android │ │ └── stardroid │ │ ├── base │ │ ├── AbstractListenerAdaptorTest.java │ │ ├── FixedSizePriorityQueueTest.java │ │ ├── ListsTest.java │ │ └── PairTest.java │ │ ├── control │ │ ├── AstronomerModelTest.kt │ │ ├── AstronomerModelWithMagneticVariationTest.kt │ │ ├── TransitioningCompositeClockTest.java │ │ └── ZoomControllerTest.java │ │ ├── ephemeris │ │ └── OrbitalElementsTest.kt │ │ ├── layers │ │ └── CometsLayerTest.kt │ │ ├── math │ │ ├── AstronomyTest.kt │ │ ├── CoordinateManipulationsTest.kt │ │ ├── GeometryTest.kt │ │ ├── LatLongRoboTest.kt │ │ ├── LatLongTest.kt │ │ ├── MathUtilTest.kt │ │ ├── Matrix3x3Subject.kt │ │ ├── Matrix3x3Test.kt │ │ ├── Matrix4x4Subject.kt │ │ ├── Matrix4x4Test.kt │ │ ├── RaDecTest.kt │ │ ├── SiderealTimeRegressionTest.kt │ │ ├── TimeUtilTest.kt │ │ ├── Vector3Subject.kt │ │ └── Vector3Test.kt │ │ ├── search │ │ └── PrefixStoreTest.kt │ │ ├── space │ │ ├── CelestialObjectTest.kt │ │ ├── MoonTest.kt │ │ └── UniverseSmokeTest.kt │ │ └── util │ │ └── WeakHashSetTest.java └── test │ └── com │ └── google │ └── android │ └── stardroid │ └── renderer │ └── debug │ ├── DebugSkyRenderer.java │ └── NumericSprite.java ├── assets ├── drawable-hdpi │ └── skymap_logo.png ├── drawable-large │ └── stardroid_big_image.jpg ├── drawable-mdpi │ └── skymap_logo.png ├── drawable-xhdpi │ └── skymap_logo.png ├── drawable-xxhdpi │ └── skymap_logo.png ├── drawable-xxxhdpi │ └── skymap_logo.png ├── drawable │ ├── arrow.png │ ├── arrowcircle.png │ ├── automatic_mode.png │ ├── automaticmode.png │ ├── b_constellation_off.png │ ├── b_constellation_on.png │ ├── b_generic_off.png │ ├── b_generic_on.png │ ├── b_grid_off.png │ ├── b_grid_on.png │ ├── b_horizon_off.png │ ├── b_horizon_on.png │ ├── b_iss_off.png │ ├── b_iss_on.png │ ├── b_messier_off.png │ ├── b_messier_on.png │ ├── b_meteor_off.png │ ├── b_meteor_on.png │ ├── b_planets_off.png │ ├── b_planets_on.png │ ├── b_star_off.png │ ├── b_star_on.png │ ├── backwards_play.png │ ├── backwards_play_pressed.png │ ├── blank.png │ ├── brightstar.png │ ├── control_panel.png │ ├── crosshair.png │ ├── forward_play.png │ ├── forward_play_pressed.png │ ├── grid_off.png │ ├── grid_on.png │ ├── horizon_off.png │ ├── horizon_on.png │ ├── hubble_catseyenebula.jpg │ ├── hubble_horsehead_large.jpg │ ├── hubble_jupiter.jpg │ ├── hubble_m1.jpg │ ├── hubble_m101.jpg │ ├── hubble_m104.jpg │ ├── hubble_m13.jpg │ ├── hubble_m16.jpg │ ├── hubble_m31.jpg │ ├── hubble_m45.jpg │ ├── hubble_m51a.jpg │ ├── hubble_m57.jpg │ ├── hubble_m64.jpg │ ├── hubble_mars.jpg │ ├── hubble_neptune.jpg │ ├── hubble_omegacentauri.jpg │ ├── hubble_orion.jpg │ ├── hubble_pluto.jpg │ ├── hubble_saturn.jpg │ ├── hubble_ultra_deep_field.jpg │ ├── hubble_uranus.jpg │ ├── hubble_uranus_tiny.jpg │ ├── hubble_v838.jpg │ ├── hubble_venus_clouds_tops.jpg │ ├── icon.png │ ├── info_bubble_off.png │ ├── info_bubble_on.png │ ├── jupiter.jpg │ ├── jupiter.png │ ├── kennett_m31.jpg │ ├── layers_off.png │ ├── layers_on.png │ ├── line.png │ ├── location_off.png │ ├── location_on.png │ ├── manual_mode.png │ ├── manualmode.png │ ├── mars.jpg │ ├── mars.png │ ├── mercury.jpg │ ├── mercury.png │ ├── messenger_11_07_39.jpg │ ├── messier_off.png │ ├── messier_on.png │ ├── meteor1_screen.png │ ├── meteor2_screen.png │ ├── moon.jpg │ ├── moon0.png │ ├── moon1.png │ ├── moon2.png │ ├── moon3.png │ ├── moon4.png │ ├── moon5.png │ ├── moon6.png │ ├── moon7.png │ ├── neptune.jpg │ ├── neptune.png │ ├── nh_pluto_in_false_color.jpg │ ├── planet_off.png │ ├── planet_on.png │ ├── pluto.jpg │ ├── pluto.png │ ├── saturn.jpg │ ├── saturn.png │ ├── search_in_sky_off.png │ ├── search_in_sky_on.png │ ├── search_lens_very_small.jpg │ ├── sidebarnoelements.png │ ├── skymap_logo.png │ ├── star_of_b.gif │ ├── star_off.png │ ├── star_on.png │ ├── stardroid_big_image.jpg │ ├── stardroid_big_image.png │ ├── stardroid_logo.png │ ├── stars_off.png │ ├── stars_on.png │ ├── stars_texture.png │ ├── stop_time_travel.png │ ├── stop_time_travel_pressed.png │ ├── sun.jpg │ ├── sun.png │ ├── time_travel_bar.png │ ├── time_travel_close.png │ ├── time_travel_icon.png │ ├── time_travel_small_icon.png │ ├── timetravel_back_btn.xml │ ├── timetravel_fwd_btn.xml │ ├── timetravel_stop_btn.xml │ ├── uranus.jpg │ ├── uranus.png │ ├── venus.jpg │ └── venus.png ├── playstore_full_description-en_US.html ├── playstore_short_description-en_US.html ├── playstore_title-en_US.html ├── pointer_mode.jpg ├── pointer_mode_canopus.jpg ├── pointer_mode_jupiter.jpg ├── raw │ ├── materialize.wav │ ├── timetravel.wav │ └── timetravelback.wav ├── skymap-logo-large.jpg ├── skymap-logo-large.png ├── stardroid_big_image.jpg ├── stardroid_big_image_old.jpg ├── stardroid_logo_old.png └── symbols │ ├── Aquarius.png │ ├── Aries.png │ ├── Cancer.png │ ├── Capricorn.png │ ├── Gemini.png │ ├── Leo.png │ ├── Libra.png │ ├── Pisces.png │ ├── Sagittarius.png │ ├── Scorpio.png │ ├── Taurus.png │ ├── Virgo.png │ ├── all_symbols.jpg │ ├── jupiter.png │ ├── mars.png │ ├── mercury.png │ ├── moon.png │ ├── neptune.png │ ├── pluto.png │ ├── saturn.png │ ├── sun.png │ ├── uranus.png │ └── venus.png ├── build.gradle ├── build_skymap.sh ├── build_skymap_fdroid.sh ├── datamodel ├── build.gradle └── src │ └── main │ └── proto │ └── source.proto ├── designdocs ├── analytics.md ├── cometlayer.md ├── datageneration.md ├── ephemeris.md ├── iss.md ├── panoramas.md ├── rendering.md ├── sensors.md └── ux.md ├── fastlane └── metadata │ └── android │ ├── en-US │ ├── full_description.txt │ ├── images │ │ ├── featureGraphic.jpg │ │ ├── icon.png │ │ ├── phoneScreenshots │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 5.jpg │ │ │ └── 6.jpg │ │ └── sevenInchScreenshots │ │ │ ├── 1.png │ │ │ └── 2.png │ ├── short_description.txt │ ├── title.txt │ └── video.txt │ └── pl │ ├── full_description.txt │ ├── short_description.txt │ └── title.txt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle ├── tools ├── README.md ├── android-wait-for-emulator ├── binary.sh ├── build.gradle ├── data │ ├── constellations.ascii │ ├── messier.ascii │ ├── messier.csv │ ├── stardata_names.txt │ └── stars.ascii ├── generate.sh ├── src │ └── main │ │ └── java │ │ ├── android │ │ ├── content │ │ │ └── res │ │ │ │ └── Resources.java │ │ ├── graphics │ │ │ └── Color.java │ │ └── util │ │ │ └── FloatMath.java │ │ └── com │ │ └── google │ │ └── android │ │ └── stardroid │ │ ├── data │ │ ├── AbstractAsciiProtoWriter.java │ │ ├── AsciiToBinaryProtoWriter.java │ │ ├── Main.java │ │ ├── MessierAsciiProtoWriter.java │ │ └── StellarAsciiProtoWriter.java │ │ └── util │ │ └── StarAttributeCalculator.java └── translateCheck.py └── troubleshooting.md /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Summary:** 2 | 3 | Summarize your issue in one sentence (what goes wrong, what did you expect to happen) 4 | 5 | **Steps to reproduce:** 6 | 7 | How can we reproduce the issue? 8 | 9 | **Expected behavior:** 10 | 11 | What did you expect the app to do? 12 | 13 | **Observed behavior:** 14 | 15 | What did you see instead? Describe your issue in detail here. 16 | 17 | **Device and Android version:** 18 | 19 | What make and model device (e.g., Samsung Galaxy S7) did you encounter this on? What Android version (e.g., Android 4.0 Ice Cream Sandwich) are you running? Is it the stock version from the manufacturer or a custom ROM? What version of Google Play Services is running on your device? 20 | 21 | **Screenshots:** 22 | 23 | Can be created by pressing the Volume Down and Power Button at the same time on Android 4.0 and higher. -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please make sure these boxes are checked before submitting your pull request - thanks! 2 | 3 | - [ ] Run the unit tests with `gradlew app:connectedGmsDebugAndroidTest` to make sure you didn't break anything (with an emulator running or phone connected) 4 | 5 | - [ ] If you have multiple commits please combine them into one commit by squashing them. 6 | 7 | *Note* you may see the Cirrus CI system failing on your PR. It's pretty flaky right now so don't 8 | be alarmed. 9 | -------------------------------------------------------------------------------- /.github/workflows/build_and_upload.yml: -------------------------------------------------------------------------------- 1 | # This workflow will build a Java project with Gradle 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle 3 | 4 | name: Build SkyMap apks and upload to GitHub 5 | 6 | on: 7 | workflow_dispatch: 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | - name: Set up JDK 1.8 15 | uses: actions/setup-java@v1 16 | with: 17 | java-version: 11 18 | - name: Grant execute permission for gradlew 19 | run: chmod +x gradlew 20 | - name: Build with Gradle 21 | run: | 22 | ./gradlew build 23 | - name: Upload a Build Artifact 24 | uses: actions/upload-artifact@v2 25 | with: 26 | name: Debug 27 | path: | 28 | app/build/outputs/apk/fdroid/debug/app-fdroid-debug.apk 29 | app/build/outputs/apk/gms/debug/app-gms-debug.apk 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle/ 2 | local.properties 3 | # User-specific configurations 4 | .idea/ 5 | *.iml 6 | .DS_Store 7 | build/ 8 | captures/ 9 | 10 | tools/bin/ 11 | app/no-checkin.properties 12 | app/src/gms/google-services.json 13 | app/src/gms/google-services.json* 14 | app/gen/ 15 | *.keystore 16 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # I think this will basically do nothing? 2 | language: minimal 3 | # language: android 4 | # dist: trusty 5 | # jdk: oraclejdk11 6 | # sudo: required 7 | 8 | # Travis support for Android is a mess these days. Their instructions on 9 | # https://docs.travis-ci.com/user/languages/android/#ci-environment-for-android-projects 10 | # just don't work. One problem seems to be that the version of sdkmanager *requires* Java 8. 11 | # So if your build uses a recent version of the android gradle plugin and Java 11+ then you're: 12 | # kinda hosed unless you want to jump through a lot of hoops that will amost certainly make 13 | # things seriously fragile. 14 | -------------------------------------------------------------------------------- /PRIVACY_POLICY.md: -------------------------------------------------------------------------------- 1 | # Privacy Policy 2 | 3 | This App uses Google Analytics to help analyse how people use it. 4 | 5 | Google Analytics collects standard internet log information and visitor behaviour information 6 | in an anonymous form. Note that the data is anonymous - no personally identifiable information 7 | is collected. 8 | 9 | This anonymous information is transmitted to Google – not the Sky Map developers. Google Analytics then compiles 10 | statistical reports that tell us things like the percentage of users that use certain features, 11 | have particular versions of Android or have phones that have certain features (such as a gyroscope). 12 | This is essential for us to discover which features 13 | people like and dislike and when we can drop support for obsolete versions of Android 14 | and thus make Sky Map better. We might share these reports with third parties. 15 | 16 | We respect your privacy and do not collect your personal information - we cannot tell anything about 17 | you as a user. If you do not 18 | wish to share this anonymous data with Google Analytics you can opt out via the settings menu. 19 | Otherwise, thank you for helping make Sky Map better. For more information on 20 | Google Analytics see https://www.google.com/analytics/. 21 | -------------------------------------------------------------------------------- /app/src/fdroid/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "1", 4 | "firebase_url": "1", 5 | "project_id": "1", 6 | "storage_bucket": "1" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1", 12 | "android_client_info": { 13 | "package_name": "com.google.android.stardroid" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "", 19 | "client_type": 3 20 | } 21 | ], 22 | "api_key": [ 23 | { 24 | "current_key": "" 25 | } 26 | ], 27 | "services": { 28 | "appinvite_service": { 29 | "other_platform_oauth_client": [ 30 | { 31 | "client_id": "", 32 | "client_type": 3 33 | } 34 | ] 35 | } 36 | } 37 | } 38 | ], 39 | "configuration_version": "1" 40 | } -------------------------------------------------------------------------------- /app/src/fdroid/java/com/google/android/stardroid/activities/DynamicStarMapModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import dagger.Module; 4 | 5 | /** 6 | * Dagger module 7 | * Created by johntaylor on 3/29/16. 8 | */ 9 | @Module 10 | public class DynamicStarMapModule extends AbstractDynamicStarMapModule { 11 | public DynamicStarMapModule(DynamicStarMapActivity activity) { 12 | super(activity); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/fdroid/java/com/google/android/stardroid/activities/util/GooglePlayServicesChecker.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities.util; 2 | 3 | import android.app.Activity; 4 | import android.app.FragmentManager; 5 | import android.content.SharedPreferences; 6 | import android.util.Log; 7 | 8 | import com.google.android.stardroid.activities.dialogs.LocationPermissionRationaleFragment; 9 | import com.google.android.stardroid.control.LocationController; 10 | 11 | import javax.inject.Inject; 12 | 13 | /** 14 | * Created by johntaylor on 4/2/16. 15 | */ 16 | public class GooglePlayServicesChecker extends AbstractGooglePlayServicesChecker { 17 | 18 | @Inject 19 | GooglePlayServicesChecker(Activity parent, SharedPreferences preferences, 20 | LocationPermissionRationaleFragment rationaleDialog, 21 | FragmentManager fragmentManager) { 22 | super(parent, preferences, rationaleDialog, fragmentManager); 23 | } 24 | 25 | /** 26 | * Checks whether play services is available and up to date and prompts the user 27 | * if necessary. 28 | *

29 | * Note that at present we only need it for location services so if the user is setting 30 | * their location manually we don't do the check. 31 | */ 32 | public void maybeCheckForGooglePlayServices() { 33 | Log.d(TAG, "Google Play Services check"); 34 | if (preferences.getBoolean(LocationController.NO_AUTO_LOCATE, false)) { 35 | Log.d(TAG, "Auto location disabled - not checking for GMS"); 36 | return; 37 | } 38 | super.checkLocationServicesEnabled(); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/fdroid/java/com/google/android/stardroid/util/Analytics.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.util; 16 | 17 | import android.os.Bundle; 18 | 19 | import com.google.android.stardroid.StardroidApplication; 20 | 21 | import javax.inject.Inject; 22 | 23 | /** 24 | * Encapsulates interactions with Google Analytics, allowing it to be 25 | * disabled etc. 26 | * 27 | * @author John Taylor 28 | */ 29 | public class Analytics implements AnalyticsInterface { 30 | 31 | @Inject 32 | Analytics(StardroidApplication application) { 33 | } 34 | 35 | @Override 36 | public void setEnabled(boolean enabled) { 37 | } 38 | 39 | @Override 40 | public void trackEvent(String event, Bundle params) { 41 | } 42 | 43 | @Override 44 | public void setUserProperty(String propertyName, String propertyValue) { 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/fdroid/java/com/google/firebase/analytics/FirebaseAnalytics.java: -------------------------------------------------------------------------------- 1 | // A dummy version of this class to keep the f-Droid build happy. 2 | 3 | package com.google.firebase.analytics; 4 | 5 | public class FirebaseAnalytics { 6 | public static class Param { 7 | public static String SEARCH_TERM = ""; 8 | } 9 | public static class Event { 10 | public static String SEARCH = ""; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /app/src/gms/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "1", 4 | "firebase_url": "This is a dummy file and should be replaced by a real one", 5 | "project_id": "1", 6 | "storage_bucket": "1" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1", 12 | "android_client_info": { 13 | "package_name": "com.google.android.stardroid" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "", 19 | "client_type": 3 20 | } 21 | ], 22 | "api_key": [ 23 | { 24 | "current_key": "" 25 | } 26 | ], 27 | "services": { 28 | "appinvite_service": { 29 | "other_platform_oauth_client": [ 30 | { 31 | "client_id": "", 32 | "client_type": 3 33 | } 34 | ] 35 | } 36 | } 37 | } 38 | ], 39 | "configuration_version": "1" 40 | } 41 | -------------------------------------------------------------------------------- /app/src/gms/java/com/google/android/stardroid/activities/DynamicStarMapModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.gms.common.GoogleApiAvailability; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Module; 7 | import dagger.Provides; 8 | 9 | /** 10 | * Dagger module 11 | * Created by johntaylor on 3/29/16. 12 | */ 13 | @Module 14 | public class DynamicStarMapModule extends AbstractDynamicStarMapModule { 15 | public DynamicStarMapModule(DynamicStarMapActivity activity) { 16 | super(activity); 17 | } 18 | 19 | @Provides 20 | @PerActivity 21 | GoogleApiAvailability providePlayServicesApiAvailability() { 22 | return GoogleApiAvailability.getInstance(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/assets/constellations.binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/assets/constellations.binary -------------------------------------------------------------------------------- /app/src/main/assets/html/animated_gif_wrapper.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/assets/html/calib.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/assets/html/calib.gif -------------------------------------------------------------------------------- /app/src/main/assets/messier.binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/assets/messier.binary -------------------------------------------------------------------------------- /app/src/main/assets/stars.binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/assets/stars.binary -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/CompassCalibrationComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Component; 7 | 8 | /** 9 | * Created by johntaylor on 4/24/16. 10 | */ 11 | @PerActivity 12 | @Component(modules = CompassCalibrationModule.class, dependencies = ApplicationComponent.class) 13 | public interface CompassCalibrationComponent { 14 | void inject(CompassCalibrationActivity activity); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/CompassCalibrationModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.content.Context; 4 | import android.view.Window; 5 | 6 | import com.google.android.stardroid.activities.util.ActivityLightLevelChanger; 7 | import com.google.android.stardroid.inject.PerActivity; 8 | 9 | import javax.annotation.Nullable; 10 | 11 | import dagger.Module; 12 | import dagger.Provides; 13 | 14 | /** 15 | * Created by johntaylor on 4/24/16. 16 | */ 17 | @Module 18 | public class CompassCalibrationModule { 19 | private CompassCalibrationActivity activity; 20 | public CompassCalibrationModule(CompassCalibrationActivity activity) { 21 | this.activity = activity; 22 | } 23 | 24 | @Provides 25 | @PerActivity 26 | Context provideContext() { 27 | return activity; 28 | } 29 | 30 | @Provides 31 | @PerActivity 32 | Window provideWindow() { 33 | return activity.getWindow(); 34 | } 35 | 36 | @Provides 37 | @PerActivity 38 | @Nullable 39 | ActivityLightLevelChanger.NightModeable provideNightModeable() { 40 | return null; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/DiagnosticActivityComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Component; 7 | 8 | /** 9 | * Created by johntaylor on 4/15/16. 10 | */ 11 | @PerActivity 12 | @Component(modules = DiagnosticActivityModule.class, dependencies = ApplicationComponent.class) 13 | public interface DiagnosticActivityComponent { 14 | void inject(DiagnosticActivity activity); 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/DiagnosticActivityModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.os.Handler; 6 | import android.view.Window; 7 | 8 | import com.google.android.stardroid.activities.util.ActivityLightLevelChanger; 9 | import com.google.android.stardroid.inject.PerActivity; 10 | 11 | import javax.annotation.Nullable; 12 | 13 | import dagger.Module; 14 | import dagger.Provides; 15 | 16 | /** 17 | * Created by johntaylor on 4/15/16. 18 | */ 19 | @Module 20 | public class DiagnosticActivityModule { 21 | private DiagnosticActivity activity; 22 | 23 | public DiagnosticActivityModule(DiagnosticActivity activity) { 24 | this.activity = activity; 25 | } 26 | 27 | @Provides 28 | @PerActivity 29 | Activity provideActivity() { 30 | return activity; 31 | } 32 | 33 | @Provides 34 | @PerActivity 35 | Context provideActivityContext() { 36 | return activity; 37 | } 38 | 39 | @Provides 40 | @PerActivity 41 | Handler provideHandler() { 42 | return new Handler(); 43 | } 44 | 45 | @Provides 46 | @PerActivity 47 | Window provideWindow() { 48 | return activity.getWindow(); 49 | } 50 | 51 | @Provides 52 | @PerActivity 53 | @Nullable 54 | ActivityLightLevelChanger.NightModeable provideNightModeable() { 55 | return null; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/DynamicStarMapComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.activities.dialogs.EulaDialogFragment; 5 | import com.google.android.stardroid.activities.dialogs.HelpDialogFragment; 6 | import com.google.android.stardroid.activities.dialogs.MultipleSearchResultsDialogFragment; 7 | import com.google.android.stardroid.activities.dialogs.NoSearchResultsDialogFragment; 8 | import com.google.android.stardroid.activities.dialogs.NoSensorsDialogFragment; 9 | import com.google.android.stardroid.activities.dialogs.TimeTravelDialogFragment; 10 | import com.google.android.stardroid.inject.PerActivity; 11 | 12 | import dagger.Component; 13 | 14 | /** 15 | * Created by johntaylor on 3/29/16. 16 | */ 17 | @PerActivity 18 | @Component(modules = DynamicStarMapModule.class, dependencies = ApplicationComponent.class) 19 | public interface DynamicStarMapComponent extends EulaDialogFragment.ActivityComponent, 20 | TimeTravelDialogFragment.ActivityComponent, HelpDialogFragment.ActivityComponent, 21 | NoSearchResultsDialogFragment.ActivityComponent, 22 | MultipleSearchResultsDialogFragment.ActivityComponent, 23 | NoSensorsDialogFragment.ActivityComponent { 24 | void inject(DynamicStarMapActivity activity); 25 | } 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/EditSettingsActivityComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Component; 7 | 8 | /** 9 | * Created by johntaylor on 11/12/24. 10 | */ 11 | @PerActivity 12 | @Component(modules = EditSettingsActivityModule.class, dependencies = ApplicationComponent.class) 13 | public interface EditSettingsActivityComponent { 14 | void inject(EditSettingsActivity activity); 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/EditSettingsActivityModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.os.Handler; 6 | import android.view.Window; 7 | 8 | import com.google.android.stardroid.activities.util.ActivityLightLevelChanger; 9 | import com.google.android.stardroid.inject.PerActivity; 10 | 11 | import javax.annotation.Nullable; 12 | 13 | import dagger.Module; 14 | import dagger.Provides; 15 | 16 | /** 17 | * Created by johntaylor on 4/15/16. 18 | */ 19 | @Module 20 | public class EditSettingsActivityModule { 21 | private final EditSettingsActivity activity; 22 | 23 | public EditSettingsActivityModule(EditSettingsActivity activity) { 24 | this.activity = activity; 25 | } 26 | 27 | @Provides 28 | @PerActivity 29 | Activity provideActivity() { 30 | return activity; 31 | } 32 | 33 | @Provides 34 | @PerActivity 35 | Context provideActivityContext() { 36 | return activity; 37 | } 38 | 39 | @Provides 40 | @PerActivity 41 | Handler provideHandler() { 42 | return new Handler(); 43 | } 44 | 45 | @Provides 46 | @PerActivity 47 | Window provideWindow() { 48 | return activity.getWindow(); 49 | } 50 | 51 | @Provides 52 | @PerActivity 53 | @Nullable 54 | ActivityLightLevelChanger.NightModeable provideNightModeable() { 55 | return null; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/ImageDisplayActivityComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Component; 7 | 8 | @PerActivity 9 | @Component(modules = ImageDisplayActivityModule.class, dependencies = ApplicationComponent.class) 10 | public interface ImageDisplayActivityComponent { 11 | void inject(ImageDisplayActivity activity); 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/ImageDisplayActivityModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.os.Handler; 6 | import android.view.Window; 7 | 8 | import com.google.android.stardroid.activities.util.ActivityLightLevelChanger; 9 | import com.google.android.stardroid.inject.PerActivity; 10 | 11 | import javax.annotation.Nullable; 12 | 13 | import dagger.Module; 14 | import dagger.Provides; 15 | 16 | @Module 17 | public class ImageDisplayActivityModule { 18 | private final ImageDisplayActivity activity; 19 | 20 | public ImageDisplayActivityModule(ImageDisplayActivity activity) { 21 | this.activity = activity; 22 | } 23 | 24 | @Provides 25 | @PerActivity 26 | Activity provideActivity() { 27 | return activity; 28 | } 29 | 30 | @Provides 31 | @PerActivity 32 | Context provideActivityContext() { 33 | return activity; 34 | } 35 | 36 | @Provides 37 | @PerActivity 38 | Handler provideHandler() { 39 | return new Handler(); 40 | } 41 | 42 | @Provides 43 | @PerActivity 44 | Window provideWindow() { 45 | return activity.getWindow(); 46 | } 47 | 48 | @Provides 49 | @PerActivity 50 | @Nullable 51 | ActivityLightLevelChanger.NightModeable provideNightModeable() { 52 | return null; 53 | } 54 | } 55 | 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/ImageGalleryActivityComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.inject.PerActivity; 5 | 6 | import dagger.Component; 7 | 8 | @PerActivity 9 | @Component(modules = ImageGalleryActivityModule.class, dependencies = ApplicationComponent.class) 10 | public interface ImageGalleryActivityComponent { 11 | void inject(ImageGalleryActivity activity); 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/ImageGalleryActivityModule.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.os.Handler; 6 | import android.view.Window; 7 | 8 | import com.google.android.stardroid.activities.util.ActivityLightLevelChanger; 9 | import com.google.android.stardroid.inject.PerActivity; 10 | 11 | import javax.annotation.Nullable; 12 | 13 | import dagger.Module; 14 | import dagger.Provides; 15 | 16 | @Module 17 | public class ImageGalleryActivityModule { 18 | private final ImageGalleryActivity activity; 19 | 20 | public ImageGalleryActivityModule(ImageGalleryActivity activity) { 21 | this.activity = activity; 22 | } 23 | 24 | @Provides 25 | @PerActivity 26 | Activity provideActivity() { 27 | return activity; 28 | } 29 | 30 | @Provides 31 | @PerActivity 32 | Context provideActivityContext() { 33 | return activity; 34 | } 35 | 36 | @Provides 37 | @PerActivity 38 | Handler provideHandler() { 39 | return new Handler(); 40 | } 41 | 42 | @Provides 43 | @PerActivity 44 | Window provideWindow() { 45 | return activity.getWindow(); 46 | } 47 | 48 | @Provides 49 | @PerActivity 50 | @Nullable 51 | ActivityLightLevelChanger.NightModeable provideNightModeable() { 52 | return null; 53 | } 54 | } 55 | 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/InjectableActivity.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import android.app.Activity; 4 | 5 | import com.google.android.stardroid.ApplicationComponent; 6 | import com.google.android.stardroid.StardroidApplication; 7 | 8 | /** 9 | * Base class for all activities injected by Dagger. 10 | * 11 | * Created by johntaylor on 4/9/16. 12 | */ 13 | public abstract class InjectableActivity extends Activity { 14 | protected ApplicationComponent getApplicationComponent() { 15 | return ((StardroidApplication) getApplication()).getApplicationComponent(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/SplashScreenComponent.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities; 2 | 3 | import com.google.android.stardroid.ApplicationComponent; 4 | import com.google.android.stardroid.activities.dialogs.EulaDialogFragment; 5 | import com.google.android.stardroid.activities.dialogs.WhatsNewDialogFragment; 6 | import com.google.android.stardroid.inject.PerActivity; 7 | 8 | import dagger.Component; 9 | 10 | /** 11 | * Created by johntaylor on 4/2/16. 12 | */ 13 | @PerActivity 14 | @Component(modules = SplashScreenModule.class, dependencies = ApplicationComponent.class) 15 | public interface SplashScreenComponent extends EulaDialogFragment.ActivityComponent, 16 | WhatsNewDialogFragment.ActivityComponent { 17 | void inject(SplashScreenActivity activity); 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/dialogs/DialogFragment.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities.dialogs; 2 | 3 | import android.app.FragmentManager; 4 | 5 | /** 6 | * A dialog fragment that only shows itself if it's not already shown. This prevents 7 | * a java.lang.IllegalStateException when the activity gets backgrounded. 8 | * Created by johntaylor on 4/11/16. 9 | */ 10 | public abstract class DialogFragment extends android.app.DialogFragment { 11 | @Override 12 | public void show(FragmentManager fragmentManager, String tag) { 13 | if (this.isAdded()) return; 14 | super.show(fragmentManager, tag); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/dialogs/LocationPermissionRationaleFragment.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities.dialogs; 2 | 3 | import android.app.AlertDialog; 4 | import android.app.Dialog; 5 | import android.content.DialogInterface; 6 | import android.os.Bundle; 7 | 8 | import com.google.android.stardroid.R; 9 | import com.google.android.stardroid.util.MiscUtil; 10 | 11 | /** 12 | * Dialog explaining the need for the auto-location permission. 13 | * Created by johntaylor on 4/3/16. 14 | */ 15 | public class LocationPermissionRationaleFragment extends DialogFragment implements Dialog.OnClickListener { 16 | private static final String TAG = MiscUtil.getTag(EulaDialogFragment.class); 17 | private Callback resultListener; 18 | 19 | public interface Callback { 20 | void done(); 21 | } 22 | 23 | public LocationPermissionRationaleFragment() { 24 | } 25 | 26 | public void setCallback(Callback resultListener) { 27 | this.resultListener = resultListener; 28 | } 29 | 30 | @Override 31 | public Dialog onCreateDialog(Bundle savedInstanceState) { 32 | AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getActivity()) 33 | .setTitle(R.string.location_rationale_title) 34 | .setMessage(R.string.location_rationale_text) 35 | .setNeutralButton(R.string.dialog_ok_button, LocationPermissionRationaleFragment.this); 36 | return dialogBuilder.create(); 37 | } 38 | 39 | @Override 40 | public void onClick(DialogInterface ignore1, int ignore2) { 41 | if (resultListener != null) { 42 | resultListener.done(); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/dialogs/TimeTravelDialogFragment.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities.dialogs; 2 | 3 | import android.app.Dialog; 4 | import android.os.Bundle; 5 | 6 | import com.google.android.stardroid.activities.DynamicStarMapActivity; 7 | import com.google.android.stardroid.inject.HasComponent; 8 | import com.google.android.stardroid.util.MiscUtil; 9 | 10 | import javax.inject.Inject; 11 | 12 | /** 13 | * Time travel dialog fragment. 14 | * Created by johntaylor on 4/3/16. 15 | */ 16 | // TODO(jontayler): see if this crashes when backgrounded on older devices and use 17 | // the fragment in this package if so. 18 | public class TimeTravelDialogFragment extends android.app.DialogFragment { 19 | private static final String TAG = MiscUtil.getTag(TimeTravelDialogFragment.class); 20 | @Inject DynamicStarMapActivity parentActivity; 21 | 22 | public interface ActivityComponent { 23 | void inject(TimeTravelDialogFragment fragment); 24 | } 25 | 26 | @Override 27 | public Dialog onCreateDialog(Bundle savedInstanceState) { 28 | // Activities using this dialog MUST implement this interface. Obviously. 29 | ((HasComponent) getActivity()).getComponent().inject(this); 30 | 31 | return new TimeTravelDialog(parentActivity, 32 | parentActivity.getModel()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/activities/util/ConstraintsChecker.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.activities.util; 2 | 3 | import javax.inject.Inject; 4 | 5 | /** 6 | * Created by johntaylor on 6/11/16. 7 | */ 8 | public class ConstraintsChecker { 9 | @Inject 10 | ConstraintsChecker() { 11 | } 12 | 13 | public boolean check() { 14 | return true; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/base/Filter.java: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.base; 16 | 17 | /** 18 | * An interface for determining whether or not an object should be included in a collection. 19 | * 20 | * @author Brent Bryan 21 | */ 22 | public interface Filter { 23 | 24 | /** Returns true if the given object should be included in the collection. 25 | */ 26 | boolean accept(E object); 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/base/Provider.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.base; 16 | 17 | /** 18 | * An object capable of providing instances of types T. 19 | * 20 | * @param type of object to be provided 21 | * 22 | * @author Brent Bryan 23 | */ 24 | public interface Provider { 25 | 26 | /** 27 | * Provides an instance of type T. Implementors may choose to either return a 28 | * new instance upon every call, or provide the same instance for all calls. 29 | */ 30 | T get(); 31 | } 32 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/base/Transform.java: -------------------------------------------------------------------------------- 1 | // Copyright 2009 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.base; 16 | 17 | /** 18 | * This interface defines a function which transforms one object into another. 19 | * 20 | * @author Brent Bryan 21 | */ 22 | public interface Transform { 23 | 24 | F transform(E e); 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/base/VisibleForTesting.java: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.base; 16 | 17 | import java.lang.annotation.*; 18 | 19 | /** 20 | * This annotation indicates that a method is visible only for testing. Methods 21 | * in classes other than the declaring class should not call methods annotated 22 | * with this annotation, unless they are also annotated with @Test 23 | * 24 | * @author Brent Bryan 25 | */ 26 | @Retention(RetentionPolicy.CLASS) 27 | @Target({ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR}) 28 | public @interface VisibleForTesting { 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/control/Clock.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.control; 16 | 17 | /** 18 | * Provides a time reading. 19 | * 20 | * @author John Taylor 21 | */ 22 | public interface Clock { 23 | long getTimeInMillisSinceEpoch(); 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/control/MagneticDeclinationCalculator.java: -------------------------------------------------------------------------------- 1 | // Copyright 2009 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.control; 16 | 17 | import com.google.android.stardroid.math.LatLong; 18 | 19 | /** 20 | * Passed to the {@link AstronomerModel} to calculate the local magnetic 21 | * declination. 22 | * 23 | * @author John Taylor 24 | */ 25 | public interface MagneticDeclinationCalculator { 26 | 27 | /** 28 | * Returns the magnetic declination in degrees, that is, the rotation between 29 | * magnetic North and true North. 30 | */ 31 | float getDeclination(); 32 | 33 | /** 34 | * Sets the user's location and time. 35 | */ 36 | void setLocationAndTime(LatLong location, long timeInMillis); 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/control/RealClock.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.control; 16 | 17 | /** 18 | * Provides the current time. 19 | * 20 | * @author John Taylor 21 | */ 22 | public class RealClock implements Clock { 23 | @Override 24 | public long getTimeInMillisSinceEpoch() { 25 | // TODO(johntaylor): consider using SystemClock class. 26 | return System.currentTimeMillis(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/control/ZeroMagneticDeclinationCalculator.java: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.control; 16 | 17 | import com.google.android.stardroid.math.LatLong; 18 | 19 | /** 20 | * A trivial calculator that returns zero magnetic declination. Used when 21 | * the user does not want magnetic correction. 22 | * 23 | * @author John Taylor 24 | */ 25 | public final class ZeroMagneticDeclinationCalculator implements MagneticDeclinationCalculator { 26 | 27 | @Override 28 | public float getDeclination() { 29 | return 0; 30 | } 31 | 32 | @Override 33 | public void setLocationAndTime(LatLong location, long timeInMills) { 34 | // Do nothing. 35 | } 36 | 37 | @Override 38 | public String toString() { 39 | return "Zero Magnetic Correction"; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/control/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Classes related to controlling the astronomer's state, which is stored 4 | in {@link com.google.android.stardroid.control.AstronomerModel}. 5 | Most of this package consists of a number of 6 | different Controllers that change the astronomer's state according to some 7 | external input (e.g. sensors, the ticking of a clock). These are all 8 | accessed by external clients through the ControllerGroup. 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/gallery/Gallery.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.gallery 15 | 16 | /** 17 | * A Gallery contains a list of images. 18 | * 19 | * @author John Taylor 20 | */ 21 | interface Gallery { 22 | val galleryImages: List 23 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/gallery/GalleryFactory.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.gallery 15 | 16 | import android.content.res.Resources 17 | 18 | /** 19 | * Constructs galleries. 20 | * 21 | * @author John Taylor 22 | */ 23 | object GalleryFactory { 24 | private var gallery: Gallery? = null 25 | 26 | /** 27 | * Returns the gallery. This will usually be a singleton. 28 | */ 29 | @JvmStatic 30 | @Synchronized 31 | fun getGallery(resources: Resources): Gallery? { 32 | if (gallery == null) { 33 | gallery = HardcodedGallery(resources) 34 | } 35 | return gallery 36 | } 37 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/gallery/GalleryImage.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.gallery 15 | 16 | /** 17 | * Holds data about an image. 18 | * 19 | * @author John Taylor 20 | */ 21 | data class GalleryImage(var imageId: Int, var name: String, var searchTerm: String) -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/inject/HasComponent.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.inject 2 | 3 | /** 4 | * Implemented by activities to access their dagger component. 5 | * Created by johntaylor on 4/9/16. 6 | */ 7 | interface HasComponent { 8 | val component: C 9 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/inject/PerActivity.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.inject 2 | 3 | import javax.inject.Scope 4 | 5 | @Scope 6 | @Retention(AnnotationRetention.RUNTIME) 7 | annotation class PerActivity -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/layers/ConstellationsLayer.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.layers 15 | 16 | import android.content.SharedPreferences 17 | import android.content.res.AssetManager 18 | import android.content.res.Resources 19 | import com.google.android.stardroid.R 20 | 21 | /** 22 | * An implementation of the [AbstractFileBasedLayer] to display 23 | * Constellations in the renderer. 24 | * 25 | * @author John Taylor 26 | * @author Brent Bryan 27 | */ 28 | class ConstellationsLayer(assetManager: AssetManager, resources: Resources, preferences: SharedPreferences) : 29 | AbstractFileBasedLayer(assetManager, resources, "constellations.binary", preferences) { 30 | override val layerDepthOrder = 10 31 | 32 | // TODO(johntaylor): rename this string id. 33 | override val layerNameId = R.string.show_constellations_pref 34 | 35 | // TODO(brent): Remove this. 36 | override val preferenceId = "source_provider.1" 37 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/layers/MessierLayer.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.layers 15 | 16 | import android.content.SharedPreferences 17 | import android.content.res.AssetManager 18 | import android.content.res.Resources 19 | import com.google.android.stardroid.R 20 | 21 | /** 22 | * An implementation of the [AbstractFileBasedLayer] for displaying 23 | * Messier objects. 24 | * 25 | * @author John Taylor 26 | * @author Brent Bryan 27 | */ 28 | class MessierLayer(assetManager: AssetManager, resources: Resources, preferences: SharedPreferences) : 29 | AbstractFileBasedLayer(assetManager, resources, "messier.binary", preferences) { 30 | override val layerDepthOrder = 20 31 | 32 | // TODO(johntaylor): rename this string id 33 | override val layerNameId = R.string.show_messier_objects_pref 34 | 35 | // TODO(brent): Remove this. 36 | override val preferenceId = "source_provider.2" 37 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/layers/StarsLayer.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.layers 15 | 16 | import android.content.SharedPreferences 17 | import android.content.res.AssetManager 18 | import android.content.res.Resources 19 | import com.google.android.stardroid.R 20 | 21 | /** 22 | * An implementation of the [AbstractFileBasedLayer] for displaying stars 23 | * in the Renderer. 24 | * 25 | * @author John Taylor 26 | * @author Brent Bryan 27 | */ 28 | class StarsLayer(assetManager: AssetManager, resources: Resources, preferences: SharedPreferences) : 29 | AbstractFileBasedLayer(assetManager, resources, "stars.binary", preferences) { 30 | override val layerDepthOrder = 30 31 | 32 | // TODO(johntaylor): rename this Id 33 | override val layerNameId = R.string.show_stars_pref // TODO(johntaylor): rename this Id 34 | 35 | // TODO(brent): Remove this. 36 | override val preferenceId = "source_provider.0" 37 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/renderables/Renderable.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.renderables 15 | 16 | /** 17 | * A composite of the graphical primitives which comprise a particular astronomical object. 18 | * These elements describe the lines, text, images, etc sent to renderer to be drawn. 19 | * 20 | * @author Brent Bryan 21 | */ 22 | interface Renderable { 23 | /** Returns the list of points that should be drawn in the renderer. */ 24 | val points: List 25 | 26 | /** Returns the list of text labels that should be drawn in the renderer. */ 27 | val labels: List 28 | 29 | /** Returns the list of lines that should be drawn in the renderer. */ 30 | val lines: List 31 | 32 | /** Returns the list of images that should be drawn in the renderer. */ 33 | val images: List 34 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/renderer/DummyRenderer.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.renderer; 16 | 17 | import android.opengl.GLSurfaceView; 18 | 19 | import javax.microedition.khronos.egl.EGLConfig; 20 | import javax.microedition.khronos.opengles.GL10; 21 | 22 | // A DummyRenderer till the compass renderer is ready. 23 | public class DummyRenderer implements GLSurfaceView.Renderer { 24 | public void onSurfaceCreated(GL10 gl, EGLConfig config) { 25 | // Do nothing special. 26 | } 27 | 28 | public void onSurfaceChanged(GL10 gl, int w, int h) { 29 | gl.glViewport(0, 0, w, h); 30 | } 31 | 32 | public void onDrawFrame(GL10 gl) { 33 | gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/search/SearchResult.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.search 15 | 16 | import com.google.android.stardroid.math.Vector3 17 | import com.google.android.stardroid.renderables.AstronomicalRenderable 18 | 19 | /** 20 | * A single search result. 21 | * 22 | * @author John Taylor 23 | */ 24 | class SearchResult 25 | /** 26 | * @param capitalizedName The user-presentable name of the object, properly capitalized. 27 | * @param renderable The searched for object.. 28 | */( 29 | /** 30 | * The user-presentable name of the object, properly capitalized. 31 | */ 32 | var capitalizedName: String, var renderable: AstronomicalRenderable 33 | ) { 34 | fun coords(): Vector3 { 35 | return renderable.searchLocation 36 | } 37 | 38 | override fun toString(): String { 39 | return capitalizedName 40 | } 41 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/sensors/SensorModelAdaptor.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.sensors 2 | 3 | import android.hardware.Sensor 4 | import android.hardware.SensorEvent 5 | import android.hardware.SensorEventListener 6 | import com.google.android.stardroid.control.AstronomerModel 7 | import javax.inject.Inject 8 | 9 | /** 10 | * Connects the rotation vector to the model code. 11 | */ 12 | class SensorModelAdaptor @Inject internal constructor(private val model: AstronomerModel) : 13 | SensorEventListener { 14 | override fun onSensorChanged(event: SensorEvent) { 15 | // do something with the model 16 | } 17 | 18 | override fun onAccuracyChanged(sensor: Sensor, accuracy: Int) { 19 | // Do nothing. 20 | } 21 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/EarthOrbitingObject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | import com.google.android.stardroid.ephemeris.SolarSystemBody 4 | 5 | /** 6 | * An object that orbits Earth. 7 | */ 8 | abstract class EarthOrbitingObject(solarSystemBody : SolarSystemBody) : SolarSystemObject(solarSystemBody) -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/FixedCelestialObject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | /** 4 | * An object with a fixed RA and Dec such as a 5 | */ 6 | abstract class FixedCelestialObject : CelestialObject() -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/MovingObject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | /** 4 | * A celestial object that moves with time. 5 | */ 6 | abstract class MovingObject : CelestialObject() -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/Sun.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | import com.google.android.stardroid.ephemeris.SolarSystemBody 4 | import com.google.android.stardroid.math.Vector3 5 | import java.util.* 6 | 7 | /** 8 | * The Sun is special as it's at the center of the solar system. 9 | * 10 | * It's a sort of trivial sun-orbiting object. 11 | */ 12 | class Sun : SunOrbitingObject(SolarSystemBody.Sun) { 13 | override val bodySize = -0.83f 14 | 15 | override fun getMyHeliocentricCoordinates(date: Date) = 16 | Vector3(0.0f, 0.0f, 0.0f) 17 | 18 | // TODO(serafini): For now, return semi-reasonable values for the Sun and 19 | // Moon. We shouldn't call this method for those bodies, but we want to do 20 | // something sane if we do. 21 | override fun getMagnitude(time: Date) = -27.0f 22 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/SunOrbitingObject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | import com.google.android.stardroid.ephemeris.SolarSystemBody 4 | import com.google.android.stardroid.math.RaDec 5 | import com.google.android.stardroid.math.convertToEquatorialCoordinates 6 | import com.google.android.stardroid.math.heliocentricCoordinatesFromOrbitalElements 7 | import java.util.* 8 | 9 | /** 10 | * An object that orbits the sun. 11 | */ 12 | open class SunOrbitingObject(solarSystemBody : SolarSystemBody) : SolarSystemObject(solarSystemBody) { 13 | override fun getRaDec(date: Date): RaDec { 14 | val earthCoords = 15 | heliocentricCoordinatesFromOrbitalElements(SolarSystemBody.Earth.getOrbitalElements(date)) 16 | val myCoords = getMyHeliocentricCoordinates(date) 17 | myCoords -= earthCoords 18 | val equ = convertToEquatorialCoordinates(myCoords) 19 | return RaDec.fromGeocentricCoords(equ) 20 | } 21 | 22 | protected open fun getMyHeliocentricCoordinates(date: Date) = 23 | heliocentricCoordinatesFromOrbitalElements(solarSystemBody.getOrbitalElements(date)) 24 | 25 | ///////////////////// 26 | 27 | // Methods copied from Planet.java. 28 | // TODO(jontayler): move the right places in the stack. 29 | // TODO(jontayler): consider separating out appearance-related stuff 30 | 31 | ///////////////////// 32 | 33 | 34 | /** Returns the resource id for the planet's image. */ 35 | override fun getImageResourceId(time: Date): Int { 36 | return solarSystemBody.imageResourceId 37 | } 38 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/space/TransientObject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.space 2 | 3 | /** 4 | * Objects that might not always be visible such as meteor shower radiants. 5 | */ 6 | abstract class TransientObject : CelestialObject() -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/util/FixedPoint.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | package com.google.android.stardroid.util 15 | 16 | object FixedPoint { 17 | const val ONE = 0x00010000 18 | 19 | /// Converts a float to a 16.16 fixed point number 20 | @JvmStatic 21 | fun floatToFixedPoint(f: Float): Int { 22 | return (65536f * f).toInt() 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/util/Toaster.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.util 2 | 3 | import android.content.Context 4 | import javax.inject.Inject 5 | import android.widget.Toast 6 | 7 | /** 8 | * A wrapper around the Toast mechanism for easier unit testing. 9 | * 10 | * Created by johntaylor on 4/24/16. 11 | */ 12 | class Toaster @Inject constructor(private val context: Context) { 13 | fun toastLong(resId: Int) { 14 | Toast.makeText(context, resId, Toast.LENGTH_LONG).show() 15 | } 16 | 17 | fun toastLong(s: String?) { 18 | Toast.makeText(context, s, Toast.LENGTH_LONG).show() 19 | } 20 | } -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/util/WeakHashSet.java: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.util; 16 | 17 | import java.util.AbstractSet; 18 | import java.util.Iterator; 19 | import java.util.Set; 20 | import java.util.WeakHashMap; 21 | 22 | /** 23 | * This is to WeakHashMap as HashSet is to HashMap. Basically, entries are held 24 | * with weak references and can be gc'd when other clients have finished with 25 | * them. 26 | */ 27 | public class WeakHashSet extends AbstractSet implements Set { 28 | private final WeakHashMap hashMap = new WeakHashMap(); 29 | 30 | @Override 31 | public Iterator iterator() { 32 | return hashMap.keySet().iterator(); 33 | } 34 | 35 | @Override 36 | public boolean add(E object) { 37 | if (hashMap.containsKey(object)) { 38 | return false; 39 | } 40 | hashMap.put(object, null); 41 | return true; 42 | } 43 | 44 | @Override 45 | public int size() { 46 | return hashMap.size(); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/util/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basically just the stuff we lacked the imagination to put elsewhere. 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/util/smoothers/SensorSmoother.java: -------------------------------------------------------------------------------- 1 | // Copyright 2008 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.android.stardroid.util.smoothers; 16 | 17 | import android.hardware.Sensor; 18 | import android.hardware.SensorEvent; 19 | import android.hardware.SensorEventListener; 20 | 21 | public abstract class SensorSmoother implements SensorEventListener { 22 | 23 | protected SensorEventListener listener; 24 | 25 | public SensorSmoother(SensorEventListener listener) { 26 | this.listener = listener; 27 | } 28 | 29 | @Override 30 | public void onAccuracyChanged(Sensor sensor, int accuracy) { 31 | // Do nothing 32 | } 33 | 34 | @Override 35 | public abstract void onSensorChanged(SensorEvent sensor); 36 | } 37 | -------------------------------------------------------------------------------- /app/src/main/java/com/google/android/stardroid/views/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Misc utility classes that don't fit anywhere else. 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fadein.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fadeout.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fastzoom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/anim/timetravelflash.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-hdpi/skymap_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-large/stardroid_big_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-large/stardroid_big_image.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-mdpi/skymap_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-xhdpi/skymap_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-xxhdpi/skymap_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable-xxxhdpi/skymap_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/arrow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/arrowcircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/arrowcircle.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/automaticmode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/automaticmode.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/b_meteor_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/b_meteor_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/b_meteor_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/b_meteor_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backwards_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/backwards_play.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backwards_play_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/backwards_play_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/blank.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/comet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/comet.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/crosshair.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/crosshair.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/earth.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/forward_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/forward_play.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/forward_play_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/forward_play_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/grid_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/grid_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/grid_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/grid_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/horizon_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/horizon_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/horizon_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/horizon_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_catseyenebula.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_catseyenebula.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_jupiter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_jupiter.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m101.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m104.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m104.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m13.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m16.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m45.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m45.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m51a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m51a.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_m57.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_m57.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_mars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_mars.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_neptune.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_neptune.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_omegacentauri.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_omegacentauri.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_orion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_orion.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_saturn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_saturn.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_ultra_deep_field.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_ultra_deep_field.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_uranus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_uranus.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_v838.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_v838.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/hubble_venus_clouds_tops.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/hubble_venus_clouds_tops.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/jupiter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/jupiter.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/kennett_m31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/kennett_m31.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/line.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/manualmode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/manualmode.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/mars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/mars.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/mercury.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/mercury.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/messenger_11_07_39.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/messenger_11_07_39.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/messier_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/messier_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/messier_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/messier_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/meteor1_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/meteor1_screen.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/meteor2_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/meteor2_screen.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon0.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon5.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon6.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/moon7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/moon7.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/neptune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/neptune.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nh_pluto_in_false_color.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/nh_pluto_in_false_color.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/planet_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/planet_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/planet_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/planet_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pluto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/pluto.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/saturn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/saturn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/search_lens_very_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/search_lens_very_small.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sidebarnoelements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/sidebarnoelements.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/star_of_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/star_of_b.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable/star_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/star_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/star_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/star_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stardroid_big_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stardroid_big_image.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stars_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stars_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stars_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stars_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stars_texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stars_texture.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stop_time_travel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stop_time_travel.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/stop_time_travel_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/stop_time_travel_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/sun.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/time_travel_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/time_travel_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/time_travel_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/time_travel_close.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/time_travel_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/time_travel_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/time_travel_small_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/time_travel_small_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/timetravel_back_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/timetravel_fwd_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/timetravel_stop_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/uranus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/uranus.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/venus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/drawable/venus.png -------------------------------------------------------------------------------- /app/src/main/res/layout/help.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/imagedisplaypanel.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/layout/imagegallery.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 16 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/no_sensor_warning.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 13 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spinner_dropdown_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tos_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | 19 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/whatsnew_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/raw/timetravel.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/raw/timetravel.mp3 -------------------------------------------------------------------------------- /app/src/main/res/raw/timetravelback.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/app/src/main/res/raw/timetravelback.mp3 -------------------------------------------------------------------------------- /app/src/main/res/values-ar/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | عزيزي الفلكي. ونحن نعتذر عن الكلمات الانجليزية في SkyMap. ويحتفظ SkyMap من قبل متطوعين. للأسف ليس لدينا ترجمة كاملة في جميع اللغات. إذا كنت تستطيع مساعدة لغتك، ونحن نرحب الترجمات الناقصة أو تصحيحها. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-ca/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Benvolgut astrònom. Ens disculpem per les paraules angleses en SkyMap. SkyMap és mantingut per voluntaris. Malauradament no tenim traduccions completes en tots els idiomes. Si vostè pot ajudar en el seu idioma, donem la benvinguda a les traduccions que falten o corregits. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-cs/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Nyní 5 | Další západ slunce 6 | Další východ slunce 7 | Další úplněk 8 | Tranzit Merkuru 09 Května 2016 9 | Zatmění slunce 8 Duben 2024 10 | Přistání lodi Apollo 11 na Měsíci 11 | Konjunkce Jupiter-Saturn 2020 12 | 13 | 14 | Pomalé 15 | Standardní 16 | Rychlé 17 | 18 | 19 | Žádné 20 | Lehké 21 | Standardní 22 | Vysoké 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values-cs/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Vážený uživately. Omlouváme se za použití anglických slov v SkyMap. SkyMap je udržována dobrovolníky. Bohužel nemáme kompletní překlady do všech světových jazyků. Pokud můžete pomoci s překladem budeme rádi. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-cy/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Nawr 5 | Machlud haul y noswaith nesaf 6 | Gwawr y bore nesaf 7 | Lleuad llawn nesaf 8 | Croesiad Mercher 9 Mai 2016 9 | Diffyg ar yr haul 8 Ebrill 2024 10 | Glanio Apollo 11 ar y lleuad 11 | Jupiter-Saturn Conjunction of 2020 12 | 13 | 14 | Araf 15 | Arferol 16 | Cyflym 17 | 18 | 19 | Yn neidio 20 | Canolradd 21 | Cyffredinol gywir 22 | Yn araf 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values-cy/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Annwyl Seryddwr. Rydym yn ymddiheuro am y geiriau Saesneg yn SkyMap. SkyMap cael ei gynnal gan wirfoddolwyr. 4 | Yn anffodus, nid oes gennym cyfieithiadau cyflawn ym mhob iaith. 5 | Os allwch helpu yn eich iaith, rydym yn croesawu cyfieithiadau cyflawn neu cywiriadau i\'r cyfieithiadau 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values-da/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Kære astronom. Vi undskylder for de engelske ord i SkyMap. SkyMap vedligeholdes af frivillige. Desværre har vi ikke fuldstændige oversættelser på alle sprog. Hvis du kan hjælpe på dit sprog, vi glæder os over manglende eller korrigerede oversættelser. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-de/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Jetzt 5 | Sonnenuntergang am nächsten Abend 6 | Sonnenaufgang am nächsten Morgen 7 | Nächster Vollmond 8 | Mercury transit of May 09, 2024 9 | Sonnenfinsternis am April 08, 2024 10 | Apollo 11-Mondlandung 11 | Jupiter-Saturn Conjunction of 2020 12 | 13 | 14 | Langsam 15 | Standard 16 | Schnell 17 | 18 | 19 | Jumpy 20 | Medium 21 | Standard 22 | Hoch 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-de/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Lieber Astronom. Wir entschuldigen uns für die englischen Wörter in SkyMap. SkyMap wird von Freiwilligen gepflegt. Leider haben wir keine vollständigen Übersetzungen in allen Sprachen. Wenn Sie für Ihre Sprache helfen können, begrüßen wir fehlende oder korrigierte Übersetzungen. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-el/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Αγαπητοί αστρονόμοι, ζητούμε συγγνώμη για τυχόν αγγλικές λέξεις στο SkyMap. Το SkyMap συντηρείται από εθελοντές. Δυστυχώς δεν έχουμε πλήρεις μεταφράσεις σε όλες τις γλώσσες. Εάν μπορείτε να βοηθήσετε μεταφράζοντας στη γλώσσα σας, είστε ευπρόσδεκτοι να συμπληρώσετε ή να διορθώσετε τις τρέχουσες μεταφράσεις. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-en-rGB/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | e.g. The Royal Observatory of Edinburgh 5 | End User Licence Agreement 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values-es-rES/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Estimado astrónomo. Nos disculpamos por las palabras inglesas en SkyMap. SkyMap es mantenido por voluntarios. Desafortunadamente no tenemos traducciones completas en todos los idiomas. Si usted puede ayudar a su idioma, damos la bienvenida a las traducciones que faltan o corregidos. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-es/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | Si encuentras algún error en la traducción de esta app, no dudes en contactarnos. 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-es/whatsnew.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Nuevo en esta versión %s 6 | \t • Añadido el cometa Leonard que será visible con binoculares durante algunos días en Navidad
7 | \t • Gran reelaboración y simplificación del código: ¡esto debería permitir que se añadan más funciones en el futuro!
8 | \t • Traducción al persa (Créditos: MLDFRJDN)
9 | \t • Otras correcciones de traducción (créditos a VegaDark en español, Aga-C en polaco, VasilisKos en griego, FTNo en noruego y más.
10 | ]]> 11 |
12 |
13 | -------------------------------------------------------------------------------- /app/src/main/res/values-fa/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ستاره شناس عزیز. ما برای کلمات انگلیسی در SkyMap عذرخواهی می کنیم. SkyMap است توسط داوطلبان داشت. متأسفانه ما ترجمه کامل در تمام زبان ها ندارد. اگر شما می توانید در زبان شما کمک کند، استقبال می کنیم ترجمه گم شده و یا اصلاح کرد. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-fr/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Maintenant 5 | Prochain coucher de soleil 6 | Prochain lever de soleil 7 | Prochaine pleine lune 8 | Mercure transit du 9 mai 2016 9 | Éclipse solaire du 8 avril 2024 10 | Alunissage d\'Apollo 11 11 | Conjonction Jupiter-Saturne de 2020 12 | 13 | 14 | Lent 15 | Standard 16 | Rapide 17 | 18 | 19 | Jumpy 20 | Medium 21 | Standard 22 | Haut 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-fr/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Cher Astronome. Nous nous excusons pour les mots anglais dans SkyMap. SkyMap est maintenu par des bénévoles. Malheureusement, nous ne disposons pas des traductions complètes dans toutes les langues. Si vous pouvez aider dans votre langue, nous nous félicitons de traductions manquantes ou corrigées. 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-hi/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | प्यारे खगोलविद। हम skymap में अंग्रेजी के शब्दों के लिए माफी माँगता हूँ। Skymap स्वयंसेवकों द्वारा बनाए रखा है। दुर्भाग्य से हम सभी भाषाओं में अनुवाद पूरा नहीं है। अगर आप अपनी भाषा में मदद कर सकते हैं, तो हम लापता या सही अनुवाद का स्वागत करते हैं। 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-hu/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Kedves csillagász. Elnézést kérünk az angol szavak Skymap. Skymap által fenntartott önkéntesek. Sajnos nincs teljes fordítás minden nyelven. Ha tud segíteni az Ön nyelvén, várjuk hiányzó illetve javított fordítást. 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-in/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Astronom sayang. Kami mohon maaf atas peta bintang kata bahasa Inggris. Peta dikelola oleh relawan. Sayangnya, kita tidak sepenuhnya diterjemahkan dalam semua bahasa. Jika Anda dapat membantu dalam bahasa Anda, kami menyambut terjemahan hilang atau benar. 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-it/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Adesso 5 | Prossimo tramonto 6 | Prossima alba 7 | Prossima luna piena 8 | Mercury transit of May 09, 2016 9 | Eclissi solare del Apr 8, 2024 10 | Allunaggio dell\'Apollo 11 11 | Congiunzione Giove-Saturno 12 | 13 | 14 | Lento 15 | Standard 16 | Veloce 17 | 18 | 19 | Jumpy 20 | Medium 21 | Standard 22 | Alto 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-it/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Caro Astronomo. Ci scusiamo per le parole inglesi in SkyMap. SkyMap è gestito da volontari. Purtroppo non abbiamo traduzioni complete in tutte le lingue. Se si può aiutare nella tua lingua, accogliamo con favore le traduzioni mancanti o corrette. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-ja/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 現在 5 | 次の日没 6 | 次の日の出 7 | 次の満月 8 | 2016年5月9日の水星太陽面通過 9 | 2024年4月8日の日食 10 | アポロ11号の月面着陸 11 | 木星と土星の結合 12 | 13 | 14 | 低速 15 | 標準 16 | 高速 17 | 18 | 19 | 飛び飛び 20 | 21 | 標準 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-ja/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 天文ファンの皆さまへ。Skyマップに英語表記が残っていることをお詫びします。Skyマップはボランティアによって維持されています。残念ながら、私たちはすべての言語で完全な翻訳を行えていません。協力して頂けるのであれば、私たちは翻訳の追加や修正を歓迎します。 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-ko/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 지금 5 | 다음 일몰 6 | 다음 일출 7 | 다음 보름 8 | Mercury transit of 2016-05-09 9 | 2024 4월 8일 일식 10 | 아폴로 11호 달 착륙 11 | 목성-토성 결합 12 | 13 | 14 | 느림 15 | 표준 16 | 빠름 17 | 18 | 19 | Jumpy 20 | Medium 21 | 표준 22 | 높음 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-ko/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 친애하는 천문학 자. 우리는 스카이 맵 (SkyMap)의 영어 단어 드려 죄송합니다. 스카이 맵 (SkyMap)는 자원 봉사자들에 의해 유지된다. 불행하게도 우리는 모든 언어의 완전한 번역이 없습니다. 당신이 당신의 언어로 도움을 줄 수 있다면, 우리는 누락되거나 수정 된 번역을 환영합니다. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-nb/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Kjære Astronomer. Vi beklager de engelske ordene i SkyMap. SkyMap vedlikeholdes av frivillige. Dessverre har vi ikke fullstendige oversettelser på alle språk. Hvis du kan hjelpe på ditt språk, mottar vi gjerne manglende eller korrigerte oversettelser. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-nl/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Nu 5 | Volgende zonsondergang 6 | Volgende zonsopgang 7 | Volgende volle maan 8 | Mercury transit of May 09, 2016 9 | Zonsverduistering van Apr 8, 2024 10 | Maanlanding van de Apollo 11 11 | Conjunctie Jupiter-Saturnus 12 | 13 | 14 | Langzaam 15 | Standaard 16 | Snel 17 | 18 | 19 | Jumpy 20 | Medium 21 | Standaard 22 | Hoog 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-nl/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Beste Astronoom. Onze excuses voor het Engels woorden skymap. Skymap wordt onderhouden door vrijwilligers. Helaas hebben we geen volledige vertalingen in alle talen. Als u kan helpen in uw taal, we zijn blij met ontbrekende of gecorrigeerde vertalingen. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-pl/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Drogi astronomie. Droga astronomko. Przepraszamy, że niektóre teksty w SkyMap są po angielsku. SkyMap jest rozwijany przez wolontariuszy. Niestety nie mamy kompletnego tłumaczenia we wszystkich językach. Zapraszamy do pomocy w dalszym tłumaczeniu i poprawianiu znalezionych błędów. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-pt/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Agora 5 | Próximo pôr do sol 6 | Próximo nascer do sol 7 | Próxima lua cheia 8 | Mercury transit of May 09, 2016 9 | Eclipse solar em Abr 8, 2024 10 | Pouso da Apollo 11 na lua 11 | Conjunção Júpiter-Saturno 12 | 13 | 14 | Lenta 15 | Padrão 16 | Rápida 17 | 18 | 19 | Jumpy 20 | Medium 21 | Padrão 22 | Alta 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-pt/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Caro Astrônomo. Pedimos desculpas pelas palavras inglesas em SkyMap. SkyMap é mantida por voluntários. Infelizmente não temos traduções completas em todos os idiomas. Se você pode ajudar na sua língua, congratulamo-nos com traduções ausentes ou corrigidas. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-ru/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Сейчас 5 | Следующий заход Солнца 6 | Следующий восход Солнца 7 | Следующее полнолуние 8 | Транзит Меркурия 9 мая 2016 г. 9 | Солнечное затмение 8 aпрельское 2024 г. 10 | Посадка на Луну Аполлона 11 11 | Соединение Юпитер-Сатурн 12 | 13 | 14 | Медленно 15 | Обычно 16 | Быстро 17 | 18 | 19 | Скачками 20 | Среднее 21 | Обычное 22 | Высокое 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-ru/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Дорогой Астроном. Мы приносим извинения за английские слова в SkyMap. SkyMap поддерживается добровольцами. К сожалению, у нас нет полных переводов на всех языках. Если вы можете помочь с переводом на вашем языке, мы приветствуем добавление отсутствующих или исправление существующих переводов. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-sk/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Vážený Astronóm. Ospravedlňujeme sa za anglických a českých slov v SkyMap. SkyMap je udržiavaná dobrovoľníkov. Bohužiaľ nemáme kompletné preklady do všetkých svetových jazykov. Ak sa vám môže pomôcť vo vašom jazyku, vítame chýbajúce alebo opravené preklady. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-sv/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Kära astronom. Vi ber om ursäkt för de engelska orden i SkyMap. SkyMap upprätthålls av frivilliga. Tyvärr har vi inte har fullständiga översättningar på alla språk. Om du kan hjälpa till i ditt språk, välkomnar vi saknade eller rättade översättningar. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-th/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | เรียนนักดาราศาสตร์ เราต้องขออภัยในคำภาษาอังกฤษใน Skymap Skymap จะดูแลโดยอาสาสมัคร แต่น่าเสียดายที่เราไม่ได้มีการแปลที่สมบูรณ์ในทุกภาษา หากคุณสามารถช่วยในภาษาของคุณเรายินดีต้อนรับหายไปหรือแก้ไขคำแปล 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-tr/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sayın Astronomlar. İngilizce dilinde sunulan gökyüzü haritamızın eksik tercümeleri nedeniyle sizlerden özür dileriz. Bu harita, gönüllüler tarafından oluşturulmaktadır ve maalesef tüm dillerde eksiksiz bir çeviriye sahip değildir. Kendi dilinizde yardımcı olabilir ve eksik veya yanlış çevirileri düzeltmemize yardımcı olabilirsiniz. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-uk/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Зараз 5 | Наступний захід Сонця 6 | Наступний схід Сонця 7 | Наступний повний місяць 8 | Транзит Меркурія 9 травня 2016 р. 9 | Сонячне затемнення 8 квітень 2024 р. 10 | Посадка на Місяць Аполлона 11 11 | З\'єднання Юпітер-Сатурн 12 | 13 | 14 | Повільно 15 | Звичайно 16 | Швидко 17 | 18 | 19 | Стрибками 20 | Середнє 21 | Звичайне 22 | Високе 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-uk/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Дорогий Астроном. Ми приносимо вибачення за англійські слова в SkyMap. SkyMap підтримується добровольцями. Нажаль, у нас немає повних перекладів на всіх мовах. Якщо ви можете допомогти з перекладом на вашій мові, ми вітаємо додавання відсутніх або виправлення існуючих перекладів. 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-uk/whatsnew.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Нове у версії %s 6 | \t • Використання гіроскопа тепер є стандартним для телефонів, які підтримують його
7 | \t • Обхід для помилки Samsung S4 та Note 3, які спричиняли аварійне завершення роботи
8 | \t • Вирішені проблеми, пов\'язані з помилкою в деяких телефонах, які не відповідають статусу датчика обертання
9 | ]]> 10 |
11 |
12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rCN/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 现在 5 | 第二天傍晚日落 6 | 第二天日出 7 | 下一次满月 8 | Mercury transit of May 09, 2016 9 | 2024 年 4 月 8 日的日食 10 | 阿波罗 11 号登月 11 | 2020 年木星土星合 12 | 13 | 14 | 15 | 标准 16 | 17 | 18 | 19 | Jumpy 20 | Medium 21 | 标准 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rCN/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 亲爱的使用者,天象图(Google Sky)是由志愿者维护,很抱歉应用程式里还有未翻译的英文单词与字句,我们欢迎您提交翻译更新。 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rTW/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 現在 5 | 下次傍晚日落 6 | 次日日出 7 | 下次月圓 8 | 2016 年 5 月 9 日的水星凌日 9 | 2024 年 4 月 8 日的日食 10 | 阿波羅 11 號登月 11 | 2020 年木星土星合 12 | 13 | 14 | 15 | 標準 16 | 17 | 18 | 19 | 跳動 20 | 中等 21 | 標準 22 | 遲緩 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rTW/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 親愛的使用者,星空圖(Google Sky)是由志工維護,很抱歉應用程式裡還有未翻譯的英文單詞與字句,我們歡迎您提交翻譯更新。 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | #66000000 3 | #8BC34A 4 | #FFEB3B 5 | #FF9800 6 | #E91E63 7 | #ffa0a0a0 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10pt 9 | #ff888888 10 | 16dp 11 | 12 | 16dp 13 | 16dp 14 | 10px 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/language_apology.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/whatsnew.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | New in version %s 6 | \t • Improved night mode so it\'s more configurable.
7 | \t • Made font size adjustable.
8 | \t • Improved translations.
9 | \t • Bugfixes.
10 | ]]> 11 |
12 |
13 | -------------------------------------------------------------------------------- /app/src/main/res/xml/searchable.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | 33 | -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/ephemeris/OrbitalElementsTest.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.ephemeris 2 | 3 | import com.google.android.stardroid.math.DEGREES_TO_RADIANS 4 | import com.google.common.truth.Truth.assertThat 5 | import org.junit.Test 6 | 7 | private const val TOL = 1e-5f 8 | 9 | class OrbitalElementsTest { 10 | // Test values from http://www.jgiesen.de/kepler/kepler.html 11 | @Test 12 | fun testCalculateAnomaly() { 13 | val elements = OrbitalElements( 14 | distance = 0.0f, 15 | eccentricity= 0.0f, 16 | inclination= 0.0f, 17 | ascendingNode= 0.0f, 18 | perihelion= 0.0f, 19 | meanLongitude= 0.0f 20 | ) 21 | assertThat(elements.anomaly).isWithin(TOL).of(0.0f) 22 | 23 | val elements2 = OrbitalElements( 24 | distance = 0.0f, 25 | eccentricity = 0.25f, 26 | inclination = 0.0f, 27 | ascendingNode = 0.0f, 28 | perihelion = 30 * DEGREES_TO_RADIANS, 29 | meanLongitude = 120 * DEGREES_TO_RADIANS 30 | ) 31 | assertThat(elements2.anomaly).isWithin(TOL).of(117.54979f * DEGREES_TO_RADIANS) 32 | } 33 | } -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/math/LatLongRoboTest.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.math 2 | 3 | import com.google.common.truth.Truth.assertThat 4 | import org.junit.Test 5 | import org.junit.runner.RunWith 6 | import org.robolectric.RobolectricTestRunner 7 | import org.robolectric.annotation.Config 8 | 9 | /** 10 | * Tests that require roboelectric for API calls. 11 | */ 12 | // TODO(jontayler): what was the point of this test exactly? 13 | @RunWith(RobolectricTestRunner::class) 14 | @Config(manifest = Config.NONE) 15 | class LatLongRoboTest { 16 | private val TOL = 1e-5f 17 | 18 | @Test 19 | fun latLong_testDistance() { 20 | val point1 = LatLong(0.0, 0.0) 21 | val point2 = LatLong(90.0, 0.0) 22 | assertThat(point1.distanceFrom(point2)).isWithin(TOL).of(90f) 23 | } 24 | 25 | @Test 26 | fun latLong_testDistance2() { 27 | val point1 = LatLong(45.0, 45.0) 28 | val point2 = LatLong(90.0, 0.0) 29 | assertThat(point1.distanceFrom(point2)).isWithin(TOL).of(45f) 30 | } 31 | } -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/math/MathUtilTest.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.math 2 | 3 | import com.google.common.truth.Truth.assertThat 4 | import org.junit.Test 5 | 6 | private const val TOL = 1e-5f 7 | 8 | class MathUtilTest { 9 | 10 | @Test 11 | fun testNorm() { 12 | val n = norm(3f, 4f, 5f) 13 | assertThat(n * n).isWithin(TOL).of(3f * 3 + 4 * 4 + 5 * 5) 14 | } 15 | 16 | @Test 17 | fun testFlooredMod() { 18 | assertThat(flooredMod(180f, 360f)).isWithin(TOL).of(180f) 19 | assertThat(flooredMod(400f, 360f)).isWithin(TOL).of(40f) 20 | assertThat(flooredMod(-90f, 360f)).isWithin(TOL).of(270f) 21 | } 22 | 23 | @Test 24 | fun testMod2pi() { 25 | assertThat(mod2pi(PI / 2)).isWithin(TOL).of(PI / 2) 26 | assertThat(mod2pi(7 * PI / 3)).isWithin(TOL).of(PI / 3) 27 | assertThat(mod2pi(-PI / 4)).isWithin(TOL).of(1.75f * PI) 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/math/Matrix4x4Subject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.math 2 | 3 | import com.google.common.truth.FailureMetadata 4 | import com.google.common.truth.Subject 5 | import com.google.common.truth.Truth 6 | 7 | /** 8 | * For use in Truth tests. 9 | */ 10 | class Matrix4x4Subject private constructor(metadata: FailureMetadata, private val actual: Matrix4x4) : 11 | Subject(metadata, actual) { 12 | fun isWithin(tol: Float): TolerantComparison { 13 | return TolerantComparison(tol) 14 | } 15 | 16 | inner class TolerantComparison(val tol: Float) { 17 | fun of(other: Matrix4x4) { 18 | for (i in other.floatArray.indices) { 19 | check("index $i is out of tolerance").that(other.floatArray[i]).isWithin( 20 | tol).of(actual.floatArray[i]) 21 | } 22 | } 23 | } 24 | 25 | companion object { 26 | private fun matrix4x4s(): Factory { 27 | return Factory { metadata: FailureMetadata, actual: Matrix4x4 -> 28 | Matrix4x4Subject( 29 | metadata, 30 | actual 31 | ) 32 | } 33 | } 34 | 35 | fun assertThat(actual: Matrix4x4?): Matrix4x4Subject { 36 | return Truth.assertAbout(matrix4x4s()).that(actual) 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/math/RaDecTest.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.math 2 | 3 | import com.google.android.stardroid.math.RaDec.Companion.decDegreesFromDMS 4 | import com.google.android.stardroid.math.RaDec.Companion.raDegreesFromHMS 5 | import com.google.common.truth.Truth.assertThat 6 | import org.junit.Test 7 | 8 | class RaDecTest { 9 | private val EPS = 1e-5f 10 | 11 | @Test 12 | fun testRaFromHMS() { 13 | assertThat(raDegreesFromHMS(0f, 0f, 0f)).isWithin(EPS).of(0.0f) 14 | assertThat(raDegreesFromHMS(6f, 0f, 0f)).isWithin(EPS).of(90.0f) 15 | assertThat(raDegreesFromHMS(6f, 30f, 0f)).isWithin(EPS).of(6.5f / 24 * 360) 16 | assertThat(raDegreesFromHMS(6f, 0f, (30 * 60).toFloat())).isWithin(EPS) 17 | .of(6.5f / 24 * 360) 18 | } 19 | 20 | @Test 21 | fun testDecFromDMS() { 22 | assertThat(decDegreesFromDMS(0f, 0f, 0f)).isWithin(EPS).of(0.0f) 23 | assertThat(decDegreesFromDMS(90f, 0f, 0f)).isWithin(EPS).of(90.0f) 24 | assertThat(decDegreesFromDMS(90f, 30f, 0f)).isWithin(EPS).of(90.5f) 25 | assertThat(decDegreesFromDMS(90f, 0f, (30 * 60).toFloat())).isWithin(EPS).of(90.5f) 26 | } 27 | } -------------------------------------------------------------------------------- /app/src/test/java/com/google/android/stardroid/math/Vector3Subject.kt: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.math 2 | 3 | import com.google.common.truth.FailureMetadata 4 | import com.google.common.truth.Subject 5 | import com.google.common.truth.Truth 6 | 7 | /** 8 | * Subject class for use in Truth tests. 9 | */ 10 | class Vector3Subject private constructor(metadata: FailureMetadata, private val actual: Vector3) : 11 | Subject(metadata, actual) { 12 | fun isWithin(tol: Float): TolerantComparison { 13 | return TolerantComparison(tol) 14 | } 15 | 16 | inner class TolerantComparison(val tol: Float) { 17 | fun of(other: Vector3) { 18 | check("x is out of tolerance").that(actual.x).isWithin(tol).of(other.x) 19 | check("y is out of tolerance").that(actual.y).isWithin(tol).of(other.y) 20 | check("z is out of tolerance").that(actual.z).isWithin(tol).of(other.z) 21 | } 22 | } 23 | 24 | companion object { 25 | fun vector3s(): Factory { 26 | return Factory { metadata: FailureMetadata, actual: Vector3 -> 27 | Vector3Subject( 28 | metadata, 29 | actual 30 | ) 31 | } 32 | } 33 | 34 | fun assertThat(actual: Vector3?): Vector3Subject { 35 | return Truth.assertAbout(vector3s()).that(actual) 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /assets/drawable-hdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-hdpi/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable-large/stardroid_big_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-large/stardroid_big_image.jpg -------------------------------------------------------------------------------- /assets/drawable-mdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-mdpi/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable-xhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-xhdpi/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable-xxhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-xxhdpi/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable-xxxhdpi/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable-xxxhdpi/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/arrow.png -------------------------------------------------------------------------------- /assets/drawable/arrowcircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/arrowcircle.png -------------------------------------------------------------------------------- /assets/drawable/automatic_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/automatic_mode.png -------------------------------------------------------------------------------- /assets/drawable/automaticmode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/automaticmode.png -------------------------------------------------------------------------------- /assets/drawable/b_constellation_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_constellation_off.png -------------------------------------------------------------------------------- /assets/drawable/b_constellation_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_constellation_on.png -------------------------------------------------------------------------------- /assets/drawable/b_generic_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_generic_off.png -------------------------------------------------------------------------------- /assets/drawable/b_generic_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_generic_on.png -------------------------------------------------------------------------------- /assets/drawable/b_grid_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_grid_off.png -------------------------------------------------------------------------------- /assets/drawable/b_grid_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_grid_on.png -------------------------------------------------------------------------------- /assets/drawable/b_horizon_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_horizon_off.png -------------------------------------------------------------------------------- /assets/drawable/b_horizon_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_horizon_on.png -------------------------------------------------------------------------------- /assets/drawable/b_iss_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_iss_off.png -------------------------------------------------------------------------------- /assets/drawable/b_iss_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_iss_on.png -------------------------------------------------------------------------------- /assets/drawable/b_messier_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_messier_off.png -------------------------------------------------------------------------------- /assets/drawable/b_messier_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_messier_on.png -------------------------------------------------------------------------------- /assets/drawable/b_meteor_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_meteor_off.png -------------------------------------------------------------------------------- /assets/drawable/b_meteor_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_meteor_on.png -------------------------------------------------------------------------------- /assets/drawable/b_planets_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_planets_off.png -------------------------------------------------------------------------------- /assets/drawable/b_planets_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_planets_on.png -------------------------------------------------------------------------------- /assets/drawable/b_star_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_star_off.png -------------------------------------------------------------------------------- /assets/drawable/b_star_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/b_star_on.png -------------------------------------------------------------------------------- /assets/drawable/backwards_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/backwards_play.png -------------------------------------------------------------------------------- /assets/drawable/backwards_play_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/backwards_play_pressed.png -------------------------------------------------------------------------------- /assets/drawable/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/blank.png -------------------------------------------------------------------------------- /assets/drawable/brightstar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/brightstar.png -------------------------------------------------------------------------------- /assets/drawable/control_panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/control_panel.png -------------------------------------------------------------------------------- /assets/drawable/crosshair.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/crosshair.png -------------------------------------------------------------------------------- /assets/drawable/forward_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/forward_play.png -------------------------------------------------------------------------------- /assets/drawable/forward_play_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/forward_play_pressed.png -------------------------------------------------------------------------------- /assets/drawable/grid_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/grid_off.png -------------------------------------------------------------------------------- /assets/drawable/grid_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/grid_on.png -------------------------------------------------------------------------------- /assets/drawable/horizon_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/horizon_off.png -------------------------------------------------------------------------------- /assets/drawable/horizon_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/horizon_on.png -------------------------------------------------------------------------------- /assets/drawable/hubble_catseyenebula.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_catseyenebula.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_horsehead_large.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_horsehead_large.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_jupiter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_jupiter.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m1.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m101.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m104.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m104.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m13.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m16.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m31.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m45.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m45.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m51a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m51a.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m57.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m57.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_m64.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_m64.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_mars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_mars.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_neptune.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_neptune.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_omegacentauri.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_omegacentauri.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_orion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_orion.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_pluto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_pluto.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_saturn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_saturn.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_ultra_deep_field.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_ultra_deep_field.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_uranus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_uranus.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_uranus_tiny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_uranus_tiny.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_v838.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_v838.jpg -------------------------------------------------------------------------------- /assets/drawable/hubble_venus_clouds_tops.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/hubble_venus_clouds_tops.jpg -------------------------------------------------------------------------------- /assets/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/icon.png -------------------------------------------------------------------------------- /assets/drawable/info_bubble_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/info_bubble_off.png -------------------------------------------------------------------------------- /assets/drawable/info_bubble_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/info_bubble_on.png -------------------------------------------------------------------------------- /assets/drawable/jupiter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/jupiter.jpg -------------------------------------------------------------------------------- /assets/drawable/jupiter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/jupiter.png -------------------------------------------------------------------------------- /assets/drawable/kennett_m31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/kennett_m31.jpg -------------------------------------------------------------------------------- /assets/drawable/layers_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/layers_off.png -------------------------------------------------------------------------------- /assets/drawable/layers_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/layers_on.png -------------------------------------------------------------------------------- /assets/drawable/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/line.png -------------------------------------------------------------------------------- /assets/drawable/location_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/location_off.png -------------------------------------------------------------------------------- /assets/drawable/location_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/location_on.png -------------------------------------------------------------------------------- /assets/drawable/manual_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/manual_mode.png -------------------------------------------------------------------------------- /assets/drawable/manualmode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/manualmode.png -------------------------------------------------------------------------------- /assets/drawable/mars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/mars.jpg -------------------------------------------------------------------------------- /assets/drawable/mars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/mars.png -------------------------------------------------------------------------------- /assets/drawable/mercury.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/mercury.jpg -------------------------------------------------------------------------------- /assets/drawable/mercury.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/mercury.png -------------------------------------------------------------------------------- /assets/drawable/messenger_11_07_39.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/messenger_11_07_39.jpg -------------------------------------------------------------------------------- /assets/drawable/messier_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/messier_off.png -------------------------------------------------------------------------------- /assets/drawable/messier_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/messier_on.png -------------------------------------------------------------------------------- /assets/drawable/meteor1_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/meteor1_screen.png -------------------------------------------------------------------------------- /assets/drawable/meteor2_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/meteor2_screen.png -------------------------------------------------------------------------------- /assets/drawable/moon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon.jpg -------------------------------------------------------------------------------- /assets/drawable/moon0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon0.png -------------------------------------------------------------------------------- /assets/drawable/moon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon1.png -------------------------------------------------------------------------------- /assets/drawable/moon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon2.png -------------------------------------------------------------------------------- /assets/drawable/moon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon3.png -------------------------------------------------------------------------------- /assets/drawable/moon4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon4.png -------------------------------------------------------------------------------- /assets/drawable/moon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon5.png -------------------------------------------------------------------------------- /assets/drawable/moon6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon6.png -------------------------------------------------------------------------------- /assets/drawable/moon7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/moon7.png -------------------------------------------------------------------------------- /assets/drawable/neptune.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/neptune.jpg -------------------------------------------------------------------------------- /assets/drawable/neptune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/neptune.png -------------------------------------------------------------------------------- /assets/drawable/nh_pluto_in_false_color.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/nh_pluto_in_false_color.jpg -------------------------------------------------------------------------------- /assets/drawable/planet_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/planet_off.png -------------------------------------------------------------------------------- /assets/drawable/planet_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/planet_on.png -------------------------------------------------------------------------------- /assets/drawable/pluto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/pluto.jpg -------------------------------------------------------------------------------- /assets/drawable/pluto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/pluto.png -------------------------------------------------------------------------------- /assets/drawable/saturn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/saturn.jpg -------------------------------------------------------------------------------- /assets/drawable/saturn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/saturn.png -------------------------------------------------------------------------------- /assets/drawable/search_in_sky_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/search_in_sky_off.png -------------------------------------------------------------------------------- /assets/drawable/search_in_sky_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/search_in_sky_on.png -------------------------------------------------------------------------------- /assets/drawable/search_lens_very_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/search_lens_very_small.jpg -------------------------------------------------------------------------------- /assets/drawable/sidebarnoelements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/sidebarnoelements.png -------------------------------------------------------------------------------- /assets/drawable/skymap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/skymap_logo.png -------------------------------------------------------------------------------- /assets/drawable/star_of_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/star_of_b.gif -------------------------------------------------------------------------------- /assets/drawable/star_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/star_off.png -------------------------------------------------------------------------------- /assets/drawable/star_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/star_on.png -------------------------------------------------------------------------------- /assets/drawable/stardroid_big_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stardroid_big_image.jpg -------------------------------------------------------------------------------- /assets/drawable/stardroid_big_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stardroid_big_image.png -------------------------------------------------------------------------------- /assets/drawable/stardroid_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stardroid_logo.png -------------------------------------------------------------------------------- /assets/drawable/stars_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stars_off.png -------------------------------------------------------------------------------- /assets/drawable/stars_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stars_on.png -------------------------------------------------------------------------------- /assets/drawable/stars_texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stars_texture.png -------------------------------------------------------------------------------- /assets/drawable/stop_time_travel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stop_time_travel.png -------------------------------------------------------------------------------- /assets/drawable/stop_time_travel_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/stop_time_travel_pressed.png -------------------------------------------------------------------------------- /assets/drawable/sun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/sun.jpg -------------------------------------------------------------------------------- /assets/drawable/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/sun.png -------------------------------------------------------------------------------- /assets/drawable/time_travel_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/time_travel_bar.png -------------------------------------------------------------------------------- /assets/drawable/time_travel_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/time_travel_close.png -------------------------------------------------------------------------------- /assets/drawable/time_travel_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/time_travel_icon.png -------------------------------------------------------------------------------- /assets/drawable/time_travel_small_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/time_travel_small_icon.png -------------------------------------------------------------------------------- /assets/drawable/timetravel_back_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/drawable/timetravel_fwd_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/drawable/timetravel_stop_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /assets/drawable/uranus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/uranus.jpg -------------------------------------------------------------------------------- /assets/drawable/uranus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/uranus.png -------------------------------------------------------------------------------- /assets/drawable/venus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/venus.jpg -------------------------------------------------------------------------------- /assets/drawable/venus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/drawable/venus.png -------------------------------------------------------------------------------- /assets/playstore_short_description-en_US.html: -------------------------------------------------------------------------------- 1 | Sky Map turns your Android device into a window on the night sky. 2 | -------------------------------------------------------------------------------- /assets/playstore_title-en_US.html: -------------------------------------------------------------------------------- 1 | Sky Map 2 | -------------------------------------------------------------------------------- /assets/pointer_mode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/pointer_mode.jpg -------------------------------------------------------------------------------- /assets/pointer_mode_canopus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/pointer_mode_canopus.jpg -------------------------------------------------------------------------------- /assets/pointer_mode_jupiter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/pointer_mode_jupiter.jpg -------------------------------------------------------------------------------- /assets/raw/materialize.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/raw/materialize.wav -------------------------------------------------------------------------------- /assets/raw/timetravel.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/raw/timetravel.wav -------------------------------------------------------------------------------- /assets/raw/timetravelback.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/raw/timetravelback.wav -------------------------------------------------------------------------------- /assets/skymap-logo-large.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/skymap-logo-large.jpg -------------------------------------------------------------------------------- /assets/skymap-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/skymap-logo-large.png -------------------------------------------------------------------------------- /assets/stardroid_big_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/stardroid_big_image.jpg -------------------------------------------------------------------------------- /assets/stardroid_big_image_old.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/stardroid_big_image_old.jpg -------------------------------------------------------------------------------- /assets/stardroid_logo_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/stardroid_logo_old.png -------------------------------------------------------------------------------- /assets/symbols/Aquarius.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Aquarius.png -------------------------------------------------------------------------------- /assets/symbols/Aries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Aries.png -------------------------------------------------------------------------------- /assets/symbols/Cancer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Cancer.png -------------------------------------------------------------------------------- /assets/symbols/Capricorn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Capricorn.png -------------------------------------------------------------------------------- /assets/symbols/Gemini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Gemini.png -------------------------------------------------------------------------------- /assets/symbols/Leo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Leo.png -------------------------------------------------------------------------------- /assets/symbols/Libra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Libra.png -------------------------------------------------------------------------------- /assets/symbols/Pisces.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Pisces.png -------------------------------------------------------------------------------- /assets/symbols/Sagittarius.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Sagittarius.png -------------------------------------------------------------------------------- /assets/symbols/Scorpio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Scorpio.png -------------------------------------------------------------------------------- /assets/symbols/Taurus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Taurus.png -------------------------------------------------------------------------------- /assets/symbols/Virgo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/Virgo.png -------------------------------------------------------------------------------- /assets/symbols/all_symbols.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/all_symbols.jpg -------------------------------------------------------------------------------- /assets/symbols/jupiter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/jupiter.png -------------------------------------------------------------------------------- /assets/symbols/mars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/mars.png -------------------------------------------------------------------------------- /assets/symbols/mercury.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/mercury.png -------------------------------------------------------------------------------- /assets/symbols/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/moon.png -------------------------------------------------------------------------------- /assets/symbols/neptune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/neptune.png -------------------------------------------------------------------------------- /assets/symbols/pluto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/pluto.png -------------------------------------------------------------------------------- /assets/symbols/saturn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/saturn.png -------------------------------------------------------------------------------- /assets/symbols/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/sun.png -------------------------------------------------------------------------------- /assets/symbols/uranus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/uranus.png -------------------------------------------------------------------------------- /assets/symbols/venus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/assets/symbols/venus.png -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext.kotlin_version = '2.0.20' 5 | } 6 | 7 | /** 8 | * Improve build server performance by allowing disabling of pre-dexing 9 | * (see http://tools.android.com/tech-docs/new-build-system/tips#TOC-Improving-Build-Server-performance.) 10 | */ 11 | project.ext.preDexLibs = !project.hasProperty('disablePreDex') 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /build_skymap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | # Temporary script to regenerate the data and build the app. 3 | # TODO(jontayler): retire it once gradle can do this or 4 | # or we get rid of the data generation step. 5 | ./gradlew clean :tools:installDist 6 | (cd tools 7 | # Gah. Gradle gets the classpath for the tools wrong. Fix: # Gah. Gradle gets the classpath for the tools wrong. Fix: 8 | sed -i -e 's#CLASSPATH=#CLASSPATH=$APP_HOME/lib/:#g' build/install/datagen/bin/datagen 9 | ./generate.sh 10 | ./binary.sh) 11 | ./gradlew :app:assembleGms 12 | -------------------------------------------------------------------------------- /build_skymap_fdroid.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | sed -i -e '/gmsCompile/d' app/build.gradle 3 | sed -i -e '/com.google.gms.google-services/d' app/build.gradle 4 | ./gradlew assembleFdroid 5 | -------------------------------------------------------------------------------- /datamodel/build.gradle: -------------------------------------------------------------------------------- 1 | //apply plugin: 'java-library' 2 | //apply plugin: 'com.google.protobuf' 3 | //apply plugin: 'idea' 4 | 5 | plugins { 6 | id 'java-library' 7 | //id 'com.android.library' version '8.7.2' 8 | id 'com.google.protobuf' version '0.9.4' 9 | } 10 | 11 | //compileSdkVersion 26 12 | 13 | dependencies { 14 | implementation 'com.google.protobuf:protobuf-javalite:3.13.0' 15 | } 16 | 17 | protobuf { 18 | protoc { 19 | // Download from repositories 20 | artifact = 'com.google.protobuf:protoc:3.13.0' 21 | } 22 | 23 | generateProtoTasks { 24 | all().each { task -> 25 | task.builtins { 26 | java { 27 | option "lite" 28 | } 29 | } 30 | } 31 | } 32 | } 33 | java { 34 | sourceCompatibility = JavaVersion.VERSION_1_8 35 | targetCompatibility = JavaVersion.VERSION_1_8 36 | } 37 | 38 | -------------------------------------------------------------------------------- /designdocs/cometlayer.md: -------------------------------------------------------------------------------- 1 | # Comet Layer 2 | To track temporary events like comets we want to have a new layer that 3 | 4 | 1 Only shows the objects between certain dates (like the meteor shower layer) 5 | 1 Can generate Ra, Dec from a table of positions. 6 | 7 | ## Requirements 8 | 1 Easy of use: astro data tends to be published as a table of dates and Ra, Dec in hms or dms. 9 | 1 Outside the date range the object should disappear 10 | 1 Flexible. The initial usecase is comets but that might change later. 11 | 12 | ## Quick design sketch 13 | We'll have a new Layer for managing the objects (initially just comet leonard and maybe the 14 | old comet from 2019). Rather than add a new enable/disable button we'll have it show along 15 | with the planets or meteors layer. 16 | 17 | -------------------------------------------------------------------------------- /designdocs/panoramas.md: -------------------------------------------------------------------------------- 1 | # Resurrect the integration with HeyWhatsThat? 2 | 3 | http://viewfinderpanoramas.org/ looks intriguing. 4 | -------------------------------------------------------------------------------- /designdocs/ux.md: -------------------------------------------------------------------------------- 1 | # Overall UX 2 | ## Random feature ideas 3 | * Do away with the initial splash screen (except maybe on first run?) 4 | * Start outside of the celestial sphere and fly forwards into it 5 | * Have different astronomical bodies at different radii - maybe this could be used to account for slight differences in parallax depending on place on Earth 6 | * Fly to other locations? Be on the moon looking back at Earth? 7 | * Touch an object for more information (obviously) 8 | * Configurable UI to account for accessibility preferences 9 | * Remove likely underused features like layers from the main UI 10 | * Can you find a more intuitive way to switch to manual mode? 11 | * Compass compensation 12 | * Camera mode 13 | * Notifications 14 | * Set/rise times 15 | * OTA updates 16 | * Real horizon 17 | * -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/full_description.txt: -------------------------------------------------------------------------------- 1 | Sky Map is a hand-held planetarium for your Android device. Use it to identify stars, planets, nebulae and more. Originally developed as Google Sky Map, it has now been donated and open sourced. 2 | 3 | Troubleshooting/FAQ 4 | 5 | The Map doesn't move/points in the wrong place 6 | Make sure you haven't switched into manual mode. Does your phone have a compass? If not, Sky Map cannot tell your orientation. Look it up here: http://www.gsmarena.com/ 7 | 8 | Try calibrating your compass by moving it in a figure of 8 motion or as described here: https://www.youtube.com/watch?v=k1EPbAapaeI. 9 | 10 | Are there any magnets or metal nearby that might interfere with the compass? 11 | 12 | Try switching off "magnetic correction" (in settings) and see if that is more accurate. 13 | 14 | Why is autolocation not supported for my phone? 15 | In Android 6 the way permissions work has changed. You need to enable the location permission setting for Sky Map as described here: https://support.google.com/googleplay/answer/6270602?p=app_permissons_m 16 | 17 | The Map is jittery 18 | Try adjusting the sensor speed and damping (in settings). We have a better solution coming soon! 19 | 20 | Do I need an internet connection? 21 | No, but some functions (like entering your location manually) won't work without one. You'll have to use the GPS or enter a latitude and longitude instead. 22 | 23 | Find us elsewhere: 24 | ⭐ GitHub: https://github.com/sky-map-team/stardroid 25 | ⭐ Facebook: https://www.facebook.com/groups/113507592330/ 26 | ⭐ Twitter: http://twitter.com/skymapdevs 27 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/featureGraphic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/featureGraphic.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/icon.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/3.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/4.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/5.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/phoneScreenshots/6.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/sevenInchScreenshots/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/sevenInchScreenshots/1.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/sevenInchScreenshots/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/fastlane/metadata/android/en-US/images/sevenInchScreenshots/2.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | Sky Map to explore the skies 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/title.txt: -------------------------------------------------------------------------------- 1 | Sky Map 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/video.txt: -------------------------------------------------------------------------------- 1 | https://www.youtube.com/watch?v=p6znyx0gjb4 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/pl/short_description.txt: -------------------------------------------------------------------------------- 1 | Mapa nieba do odkrywania nieba 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/pl/title.txt: -------------------------------------------------------------------------------- 1 | Sky Map 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.enableJetifier=true 21 | android.useAndroidX=true 22 | org.gradle.daemon=true 23 | org.gradle.jvmargs=-Xmx2048M 24 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sky-map-team/stardroid/0dad21881bda747d89699596f84a6034efc7a5aa/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- 1 | It's easiest to use the `build_skymap.sh` script in the parent directory, but if you want 2 | to understand the steps: 3 | 4 | The following procedure will regenerate the binary star data: 5 | 1. Build the utilities with `./gradlew assemble installDist` from the stardroid directory. 6 | 1. Gradle's application plugin generates the wrong classpath for the utilities. Fix it 7 | by going into `tools/build/install/datagen/bin/datagen` and removing the apk from the classpath. 8 | Leave the root installation directory `$APP_HOME/lib`. 9 | 1. Convert the star and messier data files to text protocol buffers with `./generate.sh` from the tools directory. 10 | 1. Finally run `./binary.sh` from the tools directory to convert the ascii proto bufs to binary ones (and put them in the right directory). 11 | -------------------------------------------------------------------------------- /tools/android-wait-for-emulator: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Originally written by Ralf Kistner , but placed in the public domain 4 | 5 | set +e 6 | 7 | bootanim="" 8 | failcounter=0 9 | timeout_in_sec=360 10 | 11 | until [[ "$bootanim" =~ "stopped" ]]; do 12 | bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &` 13 | if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline" 14 | || "$bootanim" =~ "running" ]]; then 15 | let "failcounter += 1" 16 | echo "Waiting for emulator to start" 17 | if [[ $failcounter -gt timeout_in_sec ]]; then 18 | echo "Timeout ($timeout_in_sec seconds) reached; failed to start emulator" 19 | exit 1 20 | fi 21 | fi 22 | sleep 1 23 | done 24 | 25 | echo "Emulator is ready" 26 | -------------------------------------------------------------------------------- /tools/binary.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ROOT=".." 4 | ROOT_TOOLS="$ROOT/tools" 5 | ROOT_APP="$ROOT/app" 6 | 7 | TOOL=build/install/datagen/bin/datagen 8 | 9 | IN_DATA_DIR=data 10 | 11 | OUT_DATA_DIR=$ROOT_APP/src/main/assets 12 | 13 | $TOOL Binary $IN_DATA_DIR/constellations.ascii 14 | mv $IN_DATA_DIR/constellations.binary $OUT_DATA_DIR 15 | 16 | $TOOL Binary $IN_DATA_DIR/stars.ascii 17 | mv $IN_DATA_DIR/stars.binary $OUT_DATA_DIR 18 | 19 | $TOOL Binary $IN_DATA_DIR/messier.ascii 20 | mv $IN_DATA_DIR/messier.binary $OUT_DATA_DIR 21 | 22 | -------------------------------------------------------------------------------- /tools/build.gradle: -------------------------------------------------------------------------------- 1 | //apply plugin: 'application' 2 | //apply plugin: 'com.google.protobuf' 3 | //apply plugin: 'idea' 4 | 5 | plugins { 6 | id 'application' 7 | id 'com.google.protobuf' version '0.9.4' 8 | } 9 | 10 | sourceSets { 11 | main { 12 | proto { 13 | // In addition to the default 'src/main/proto' 14 | srcDir '../datamodel/src/main/proto' 15 | } 16 | } 17 | } 18 | 19 | protobuf { 20 | protoc { 21 | // Download from repositories 22 | artifact = 'com.google.protobuf:protoc:3.13.0' 23 | } 24 | } 25 | 26 | dependencies { 27 | // Unlike the Android App which should only use the lite version of protos we need the full 28 | // version here as we need TextFormat which doesn't exist in the lite app. 29 | implementation 'com.google.protobuf:protobuf-java:3.13.0' 30 | implementation 'com.google.guava:guava:24.1-jre' 31 | } 32 | 33 | // Gradle fail. Creating multiple distributions in a distributions {} does not generate 34 | // multiple executable distributions with the application plugin. 35 | // So instead we create one monster that can do it all. 36 | applicationName = "datagen" 37 | mainClassName = "com.google.android.stardroid.data.Main" 38 | 39 | java { 40 | sourceCompatibility = JavaVersion.VERSION_1_8 41 | targetCompatibility = JavaVersion.VERSION_1_8 42 | } -------------------------------------------------------------------------------- /tools/generate.sh: -------------------------------------------------------------------------------- 1 | DATA_DIR=data 2 | TOOL=build/install/datagen/bin/datagen 3 | 4 | # Note, constellation data is already in proto form. 5 | $TOOL GenMessier $DATA_DIR/messier.csv $DATA_DIR/messier 6 | $TOOL GenStars $DATA_DIR/stardata_names.txt $DATA_DIR/stars 7 | -------------------------------------------------------------------------------- /tools/src/main/java/android/content/res/Resources.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package android.content.res; 16 | 17 | /** 18 | * A 'shadow' class for the Android SDK. 19 | * 20 | * @author John Taylor 21 | * 22 | */ 23 | public class Resources { 24 | public static Resources getSystem() { 25 | return new Resources(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tools/src/main/java/android/graphics/Color.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package android.graphics; 16 | 17 | /** 18 | * A 'shadow' class for the Android SDK. 19 | * 20 | * @author John Taylor 21 | * 22 | */ 23 | public class Color { 24 | public static final int WHITE = 0xffffff; 25 | public static final int CYAN = 0x00FFFF; 26 | public static final int BLACK = 0x000000; 27 | } 28 | -------------------------------------------------------------------------------- /tools/src/main/java/android/util/FloatMath.java: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Google Inc. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package android.util; 16 | 17 | /** 18 | * @author Brent Bryan 19 | */ 20 | public class FloatMath { 21 | 22 | public static float cos(float x) { 23 | return (float) Math.cos(x); 24 | } 25 | 26 | public static float sin(float x) { 27 | return (float) Math.sin(x); 28 | } 29 | 30 | public static float tan(float x) { 31 | return (float) Math.tan(x); 32 | } 33 | 34 | public static float sqrt(float x) { 35 | return (float) Math.sqrt(x); 36 | } 37 | 38 | public static float floor(float x) { 39 | return (float) Math.floor(x); 40 | } 41 | 42 | public static float ceil(float x) { 43 | return (float) Math.ceil(x); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /tools/src/main/java/com/google/android/stardroid/data/Main.java: -------------------------------------------------------------------------------- 1 | package com.google.android.stardroid.data; 2 | 3 | import java.io.IOException; 4 | 5 | /** 6 | * A frontend to the the various writers, since gradle appears unable to create separate 7 | * application distributions despite documentation to the contrary. 8 | * Usage: 9 | * java com.google.android.stardroid.data.Main 10 | * 11 | * where command is one of GenStars, GenMessier, Binary 12 | * See the various writer classes for the args. 13 | */ 14 | public class Main { 15 | private enum Command { 16 | GenStars, GenMessier, Rewrite, Binary 17 | } 18 | 19 | public static void main(String[] in) throws IOException { 20 | if (in.length < 2) { 21 | throw new IllegalArgumentException( 22 | "Usage: java com.google.android.stardroid.data.Main "); 23 | } 24 | Command command = Command.valueOf(in[0]); 25 | String[] args = new String[in.length - 1]; 26 | System.arraycopy(in, 1, args, 0, in.length - 1); 27 | switch (command) { 28 | case GenStars: 29 | StellarAsciiProtoWriter.main(args); 30 | break; 31 | case GenMessier: 32 | MessierAsciiProtoWriter.main(args); 33 | break; 34 | case Binary: 35 | AsciiToBinaryProtoWriter.main(args); 36 | break; 37 | default: 38 | throw new IllegalArgumentException("Unknown command"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /troubleshooting.md: -------------------------------------------------------------------------------- 1 | # Troubleshooting/FAQ 2 | ## The Map doesn't move/points in the wrong place 3 | * Make sure you haven't switched into manual mode. 4 | * Does your phone have a compass? If not, Sky Map cannot tell your orientation. Look it up here: http://www.gsmarena.com/ 5 | * Try calibrating your compass by moving it in a figure of 8 motion or as described in https://www.youtube.com/watch?v=k1EPbAapaeI. 6 | * Are there any magnets or metal nearby that might interfere with the compass?
7 | * Try switching off "magnetic correction" (in settings) and see if that is more accurate. 8 | 9 | ## Why is autolocation not supported for my phone? 10 | * In Android 6 the way permissions work has changed. You need to enable the location permission setting for Sky Map as described in https://support.google.com/googleplay/answer/6270602?p=app_permissons_m 11 | 12 | ## The Map is jittery 13 | * If you have a phone that lacks a gyro then some jitter is to be expected. Try adjusting the sensor speed and damping (in settings). 14 | 15 | ## Do I need an internet connection? 16 | * No, but some functions (like entering your location manually) won't work without one. You'll have to use the GPS or enter a latitude and longitude instead. 17 | 18 | ## Can I help test the latest features? 19 | * Sure! Join our [beta testing program](https://play.google.com/apps/testing/com.google.android.stardroid) and get the latest version. 20 | 21 | # Find us elsewhere 22 | * ⭐ GitHub: https://github.com/sky-map-team/stardroid 23 | * ⭐ Facebook: https://www.facebook.com/groups/113507592330/ 24 | * ⭐ Twitter: http://twitter.com/skymapdevs 25 | --------------------------------------------------------------------------------