Skip to content

About

Small projects for asking at Stackoverflow

Topics

Resources

Stars

36 stars

Watchers

6 watching

Forks

Latest commit

 

History

602 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-questions

The files are public domain - unless there is a different note (by their respective authors) on the top of some files.

Maps

ComposeMap

Kotlin/Compose example wrapping OpenMapView in a reusable OpenStreetMap composable and moving its camera when the selected place changes.

ComposeMap screenshot

ComposeOnlyMap

Kotlin/Compose example displaying OpenMapView without an XML layout or explicit User-Agent configuration.

ComposeOnlyMap screenshot

CurvedLine

Compose map comparing a straight line, a geodesic, and a Bezier arc between two draggable markers.

CurvedLine screenshot

CustomMarkerIcon

Java map example displaying bus-stop markers with a custom round drawable anchored at its center.

CustomMarkerIcon screenshot

CustomZoom

Java map example with custom buttons that animate zoom while built-in zoom controls and zoom gestures are disabled.

CustomZoom screenshot

DarkModeMap

Compose map preserving its camera and a user-drawn polygon when switching between light and dark mode.

DarkModeMap screenshot

DottedTrack

Java map example drawing the same GPX track as a solid, dashed, or dotted polyline.

DottedTrack screenshot

DraggableMarker

Kotlin map example with a draggable marker using a custom icon.

DraggableMarker screenshot

DragPolyline

Java map example reshaping a polyline by dragging markers at its vertices.

DragPolyline screenshot

DrivingRoute

Android Automotive route planner using Compose, OpenMapView, and the public OSRM backend to route between two tapped locations.

DrivingRoute screenshot

FitAllMarkers

Java map example fitting the camera to a collection of markers with newLatLngBounds.

FitAllMarkers screenshot

FitRoute

Java map example fitting a route with newLatLngBounds before the map has completed layout.

FitRoute screenshot

InfoWindowClick

Java map example opening a dialog when a marker's info window is tapped.

InfoWindowClick screenshot

LabelMarker

Compose map example drawing a hollow pin with a rounded two-line label that can change at runtime.

LabelMarker screenshot

LaunchMaps

Java example launching an installed map application with a geo URI containing a labeled coordinate.

LaunchMaps screenshot

LiveMarker

Java map example moving one drawable marker to the device's live location and centering the camera on the first fix.

LiveMarker screenshot

MapInScroll

Java form with an OpenMapView inside a ScrollView, allowing map drags to pan while form drags scroll the page.

MapInScroll screenshot

MapInTabs

Compose navigation-tab example preserving a map's camera when switching to another tab and back.

MapInTabs screenshot

MapSnapshot

Compose map example saving a map image containing a running track as run.png.

MapSnapshot screenshot

MovingMarker

Compose map example animating a navigation arrow along a predefined route while the camera follows it.

MovingMarker screenshot

MyMarker

Legacy Google Maps example adding markers for Hamburg and Kiel, including a custom icon.

MyMarker screenshot

NavigationOffset

Java map example placing the current-location marker near the bottom of a heading-up map using camera bearing and map padding.

NavigationOffset screenshot

NoOverlayClick

Java map example comparing normal overlay clicks with shapes that pass taps through and a marker that consumes its clicks.

NoOverlayClick screenshot

OverlayAlpha

Java map example adjusting the transparency of a topographic tile overlay.

OverlayAlpha screenshot

PickLocation

Java map form filling longitude and latitude fields from a tap on OpenMapView.

PickLocation screenshot

RemoveMarkers

Java map example removing a single marker by tapping it or clearing all markers with a button.

RemoveMarkers screenshot

ScalingMarker

Java map example showing a clickable ground overlay and circle whose sizes are specified in meters.

ScalingMarker screenshot

SimpleMapStyle

Kotlin map example switching between OpenMapView map styles without an API key.

SimpleMapStyle screenshot

TabRowMap

Compose example keeping an OpenMapView and its camera state beneath a TabRow when switching tabs.

TabRowMap screenshot

TwoPointLine

Java/XML map example drawing a red polyline between two fixed Berlin coordinates and fitting both endpoints in view.

TwoPointLine screenshot

Vehicles

Droidcon 2019 challenge sample fetching vehicle positions, storing them in Room, and showing them on Google Maps.

Vehicles screenshot

WorldWrap

Java map example repeating the world horizontally while preventing vertical repetition.

WorldWrap screenshot

ZeroSetupMap

Kotlin map example displaying OpenStreetMap tiles without storage permissions or explicit cache initialization.

ZeroSetupMap screenshot

ZoomToLocation

Java map example moving the camera to the device's location.

ZoomToLocation screenshot

Word

MyBars

Custom word-game board with a separate tile rack, draggable letter tiles, and board panning and zooming.

MyBars screenshot

MyDecoder

Word-game board experiment decoding individual letter images from sprite sheets with BitmapRegionDecoder.

MyDecoder screenshot

MyDecoder2

Variant of the sprite-sheet word board that caches scaled letter bitmaps for small tiles and enlarged drag previews.

MyDecoder2 screenshot

MyMask

Canvas experiment drawing a bitmap overlay on a word-game board.

MyMask screenshot

MyTiles

Custom word board with draggable letter tiles, grid snapping, and corner masks that respond to neighboring tiles.

MyTiles screenshot

MyTiles2

Word-board variant combining grid-snapped tile dragging with constrained scrolling, flinging, and zooming.

MyTiles2 screenshot

MyViewPager

Navigation-drawer example selecting games with separate Moves, Game, and Chat pages.

MyViewPager screenshot

PinchZoom

Custom board view demonstrating focal-point zooming, panning, and flinging with a transformation matrix.

PinchZoom screenshot

TopPlayers

Word-game leaderboard loading player rankings and statistics into a list backed by Room and LiveData.

TopPlayers screenshot

WordGame

Dialog examples for choosing a letter, selecting tiles to swap, and entering a word.

WordGame screenshot

QR Codes and NFC

NFC2BT

Unfinished experiment exchanging Bluetooth addresses and ECDH public keys over NFC for out-of-band pairing.

NFC2BT screenshot

NFCStudentTracking

NFC student-transport example reading tag data to maintain a group of students and display it in a list.

NFCStudentTracking screenshot

QR_BT_Pairing

Bluetooth device-list example scanning a QR code for an address and asking to pair with the matching device.

QR_BT_Pairing screenshot

QREncoder

Java example generating a fixed QR code with ZXing and displaying it in an ImageView.

QREncoder screenshot

QRScanner

Java example launching ZXing Barcode Scanner and displaying a scanned code or cancellation result.

QRScanner screenshot

RoundedQRCode

Java example generating a rounded QR code from entered text using drawing code adapted from Telegram.

RoundedQRCode screenshot

ZXingTestActivity

ZXing test application exercising Barcode Scanner intents, result handling, and barcode benchmarks.

ZXingTestActivity screenshot

UI

BottomSheet1

Material example showing persistent and modal bottom sheets with state-change callbacks.

BottomSheet1 screenshot

DialogCountDown

Dialog example updating its Cancel button with a countdown before automatically dismissing.

DialogCountDown screenshot

DragAndDraw

Custom drawing-view example creating translucent rectangles from touch drags alongside sample letter tiles.

DragAndDraw screenshot

FastAdapterScrollingIssue

Reproduction project combining a FastAdapter game list with filtering, timestamp sorting, and DiffUtil updates.

FastAdapterScrollingIssue screenshot

InteractiveChart

Custom chart-view example demonstrating animated zoom, scrolling, flinging, and edge effects.

InteractiveChart screenshot

MyActionBar

Legacy framework ActionBar example showing an indeterminate progress indicator while the Activity is resumed.

MyActionBar screenshot

MyCoordinator

Collapsing-toolbar example with a palette-colored header, RecyclerView, and animated floating action button.

MyCoordinator screenshot

MyList

Fragment-based list picker preserving the selected item index in SharedPreferences.

MyList screenshot

MyPrefs

Preference-screen example with checkboxes, text fields, sliders, and a custom number-picker dialog.

MyPrefs screenshot

MyScroll

ListView experiment appending one item per second and clearing the list with a button or double-tap.

MyScroll screenshot

MyStripe

Word-board experiment drawing draggable letter tiles from regions of horizontal sprite strips.

MyStripe screenshot

NaviFab

Navigation-drawer example combining a circular profile image, game entries, and account fragments.

NaviFab screenshot

NavigationDrawerExample

Two-sided navigation-drawer example with a planet list on the left and music actions on the right.

NavigationDrawerExample screenshot

Planets

RecyclerView example displaying planets with star icons and click feedback.

Planets screenshot

RotatedList

Fragment-navigation example opening an account-provider list with a circular profile image and click feedback.

RotatedList screenshot

Test

Minimal custom View drawing an eight-by-eight checkerboard.

Test screenshot

TestAbs

Legacy AbsoluteLayout experiment positioning and dragging custom letter-tile child views.

TestAbs screenshot

TestScroll

Custom board-view experiment using canvas translation and scaling for scrolling, flinging, and zooming.

TestScroll screenshot

TestScroll2

Board-view experiment combining a transformation matrix, tile dragging, and an enlarged drag preview.

TestScroll2 screenshot

TestScroll3

Custom board-view experiment combining View scrolling, inertial flinging, and focal-point scaling.

TestScroll3 screenshot

ValidatePrefs

Preference-validation example checking an address, username, and password before saving changes.

ValidatePrefs screenshot

Authentication and Messaging

GoogleAuth

Multi-provider sign-in example combining Google, Facebook, VK, and Odnoklassniki account flows with local user data.

GoogleAuth screenshot

HmsSample

Huawei Mobile Services sample with screens for Huawei ID, push messaging, social features, purchases, and games.

HmsSample screenshot

HuaweiPush

Huawei Push Kit example retrieving a push token and displaying it in the app.

HuaweiPush screenshot

MyLogin

Fragment-based social-login experiment with provider screens and an animated login button.

MyLogin screenshot

MyNotification

Notification-action example simulating commands to open a nearby car or flash its lights.

MyNotification screenshot

PingMe

Notification sample scheduling a reminder with editable text and snooze and dismiss actions.

PingMe screenshot

SampleLoginWithAmazonAppForAndroid

Login with Amazon sample requesting profile access and displaying the signed-in user's details.

SampleLoginWithAmazonAppForAndroid screenshot

Misc

AndroidBooks

Book-list and description example adapting fragment navigation to the available screen layout.

AndroidBooks screenshot

CriminalIntent

Fragment-based crime-log exercise with a list, editable crime details, dates, and solved flags.

CriminalIntent screenshot

flutter_app

Flutter starter application incrementing an on-screen counter with a floating action button.

flutter_app screenshot

GeoQuiz

True-or-false geography quiz with next-question navigation and a separate answer-reveal screen.

GeoQuiz screenshot

HelloMoon

Fragment layout example showing the moon-landing image with Play and Stop controls.

HelloMoon screenshot

MagicApp

Compose engineering-menu demo with live connectivity information and configurable HTTP, WebSocket, and MQTT diagnostics.

MagicApp screenshot

SwipeBooks

ViewPager example displaying three swipeable placeholder sections using fragments.

SwipeBooks screenshot


StackOverflow

My Android-related questions at StackOverflow

About

Small projects for asking at Stackoverflow

Topics

Resources

Stars

36 stars

Watchers

6 watching

Forks

Used by

Contributors

Languages