A collection of Android libraries for simplifying development

Related tags

Utility andromeda
Overview

Andromeda

A collection of Android libraries for simplifying development

Usage

Andromeda uses Jitpack for distribution, the following gradle dependency can be added:

In the root build.gradle file:

allprojects {
 repositories {
  ...
  maven { url 'https://jitpack.io' }
 }
}

In the project specific build.gradle file (all modules):

dependencies {
 // Tag is the release number
 implementation 'com.github.kylecorry31:andromeda:Tag'
}

In the project specific build.gradle file (specific module):

dependencies {
 // Tag is the release number
 // Module is the specific module name, it shares the folder name of the top level folders in this repo (ex. buzz)
 implementation 'com.github.kylecorry31.andromeda:Module:Tag'
}

See the releases page for the latest version.

Comments
  • Some sensors need a permission to work in fastest mode in Android 12

    Some sensors need a permission to work in fastest mode in Android 12

    I have't yet faced the issue with Trail Sense as it is still targetSdk = 30 but while switching to targetSdk = 31 please note that some of the sensor will need the permission HIGH_SAMPLING_RATE_SENSORS to work in SENSOR_DELAY_FASTEST mode or one can switch to SENSOR_DELAY_GAME anyway. My experience is except the deprecated sensor TYPE_ORIENTATION, the rest are like that and they give the following error:

        java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
    

    Which https://developer.android.com/guide/topics/sensors/sensors_overview#sensors-rate-limiting is the related part of the documentation.

    opened by ebraminio 2
  • Add lazy extension method to topic

    Add lazy extension method to topic

    Use case: I'm wrapping an existing topic and when I subscribe to the wrapper, I want to run custom start/stop logic to load a value.

    • [x] ITopic.lazyValue(onlyOnStart, valueProvider)
    opened by kylecorry31 0
  • Add torch brightness control

    Add torch brightness control

    For Android 13

    • [x] on(brightness: Float)
    • [x] canAdjustBrightness(): Boolean

    Pre-Android 13 or on devices without support, setting brightness > 0 turns the torch on, 0 turns it off.

    https://developer.android.com/reference/android/hardware/camera2/CameraManager#getTorchStrengthLevel(java.lang.String) https://developer.android.com/reference/android/hardware/camera2/CameraManager#turnOnTorchWithStrengthLevel(java.lang.String,%20int)

    opened by kylecorry31 0
  • Add PDF generator utilities

    Add PDF generator utilities

    • [x] Add pages
    • [x] Add content to pages
    • [x] Add text
    • [x] Add image
    • [x] Add geospatial metadata
    • [x] Add viewport (might not be needed / geospatial can handle that)

    Ex.

    val objects = pdf(
     page(500, 800, image(bitmap), text("Something")),
     page(500, 800, text("Hello World"))
    )
    
    opened by kylecorry31 0
  • Update android gradle

    Update android gradle

    com.android.tools.build:gradle

    The update is failing due to the maven-publish plugin. Figure out how to migrate that, or wait for a fix (if that is actually a bug with the plugin)

    opened by kylecorry31 0
Releases(5.0.0-beta26)
Owner
Kyle Corry
Application Developer / Analyst at FM Global. Mentor to FRC Team 5112.
Kyle Corry
A collection of Android build scripts for various third-party libraries and the tooling to build them

ndkports A collection of Android build scripts for various third-party libraries and the tooling to build them. If you're an Android app developer loo

reSIProcate project 0 Jan 17, 2022
Collection of source codes, utilities, templates and snippets for Android development.

Android Templates and Utilities [DEPRECATED] Android Templates and Utilities are deprecated. I started with this project in 2012. Android ecosystem ha

Petr Nohejl 1.1k Nov 30, 2022
A collection of small utility functions to make it easier to deal with some otherwise nullable APIs on Android.

requireKTX is a collection of small utility functions to make it easier to deal with some otherwise nullable APIs on Android, using the same idea as requireContext, requireArguments, and other similar Android SDK methods.

Márton Braun 82 Oct 1, 2022
FractalUtils - A collection of utility functions and classes, with an emphasis on game related utilities

A collection of utility functions and classes written in Kotlin. There is some emphasis on utilities useful for games (Geometry, Random, Time, Updating, etc).

null 2 Nov 11, 2022
ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions

ModernStorage ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions by apps dev

Google 1.1k Dec 30, 2022
Sample android setup for deploying libraries on maven central

Perfect-android-library-template This is how I prefer my android setup. This setup has a sample app and a deployable library that deploys to maven cen

Stefan Wärting 3 Dec 23, 2022
A beautiful set of predefined colors and a set of color methods to make your Android development life easier.

Colours is a port of the Colours Library for iOS made by my good friend Ben Gordon. You can find that project here. Installation Maven Central Colours

Matthew York 634 Dec 28, 2022
Speed up your Android development

Caffeine Speed up your Android development! A collection of utility classes that help make Android development faster (and safer!) Examples No more un

Percolate 414 Nov 14, 2022
Various useful utilities for Android apps development

Android Commons Various useful utilities for Android apps development. API documentation provided as Javadoc. Usage Add dependency to your build.gradl

Alex Vasilkov 112 Nov 14, 2022
KDoctor - A command-line tool that helps to set up the environment for Kotlin Multiplatform Mobile app development

KDoctor is a command-line tool that helps to set up the environment for Kotlin Multiplatform Mobile app development.

Kotlin 331 Dec 29, 2022
Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.

Secure-preferences - Deprecated Please use EncryptedSharedPreferences from androidx.security in preferenced to secure-preference. (There are no active

Scott Alexander-Bown 1.5k Dec 24, 2022
Android library which makes it easy to handle the different obstacles while calling an API (Web Service) in Android App.

API Calling Flow API Calling Flow is a Android library which can help you to simplify handling different conditions while calling an API (Web Service)

Rohit Surwase 19 Nov 9, 2021
Gesture detector framework for multitouch handling on Android, based on Android's ScaleGestureDetector

Android Gesture Detectors Framework Introduction Since I was amazed Android has a ScaleGestureDetector since API level 8 but (still) no such thing as

null 1.1k Nov 30, 2022
Use Android as Rubber Ducky against another Android device

Use Android as Rubber Ducky against another Android device

null 1.4k Jan 9, 2023
Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Shahid Iqbal 4 Nov 29, 2022
A util for setting status bar style on Android App.

StatusBarUtil A util for setting status bar style on Android App. It can work above API 19(KitKat 4.4). 中文版点我 Sample Download StatusBarUtil-Demo Chang

Jaeger 8.8k Jan 6, 2023
A logger with a small, extensible API which provides utility on top of Android's normal Log class.

This is a logger with a small, extensible API which provides utility on top of Android's normal Log class. I copy this class into all the little apps

Jake Wharton 9.8k Dec 30, 2022
Java implementation of a Disk-based LRU cache which specifically targets Android compatibility.

Disk LRU Cache A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key and a fixed number of values. Each key m

Jake Wharton 5.7k Dec 31, 2022