All Projects → YarikSOffice → Venom

YarikSOffice / Venom

A lightweight tool that simplifies testing of the process death scenario.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Venom

Permissionsflow
A simple library to make it easy requesting permissions in Android using Kotlin Coroutines.
Stars: ✭ 49 (-77.52%)
Mutual labels:  library, android-development, android-sdk
Awesome Android
😎 A curated list of awesome Android resources
Stars: ✭ 26 (-88.07%)
Mutual labels:  library, android-development, android-sdk
Chucker
🔎 An HTTP inspector for Android & OkHTTP (like Charles but on device)
Stars: ✭ 2,169 (+894.95%)
Mutual labels:  library, android-development, android-sdk
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (+61.93%)
Mutual labels:  library, android-development, android-sdk
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (-3.67%)
Mutual labels:  library, android-development
Docker Jenkins Android
Jenkins docker image for Android development
Stars: ✭ 35 (-83.94%)
Mutual labels:  android-development, android-sdk
Kotlin Android Scaffolding
An android project structure using kotlin and most common libraries.
Stars: ✭ 53 (-75.69%)
Mutual labels:  android-development, android-sdk
Livesmashbar
An elegant looking and easy to use informative library with LiveData integration for Android.
Stars: ✭ 107 (-50.92%)
Mutual labels:  android-development, android-sdk
Android Arsenal.com
Source to android-arsenal.herokuapp.com
Stars: ✭ 541 (+148.17%)
Mutual labels:  android-development, android-sdk
Apkscale
A Gradle plugin to measure the app size impact of Android libraries
Stars: ✭ 76 (-65.14%)
Mutual labels:  android-development, android-sdk
Chocobar
The usual Snackbar with more 🍫 and colours 🎉
Stars: ✭ 110 (-49.54%)
Mutual labels:  library, android-development
Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (-83.94%)
Mutual labels:  android-development, android-sdk
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (-47.71%)
Mutual labels:  android-development, android-sdk
Backdoor Apk
backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
Stars: ✭ 1,766 (+710.09%)
Mutual labels:  android-development, android-sdk
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+251.83%)
Mutual labels:  android-development, android-sdk
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (-51.83%)
Mutual labels:  android-development, android-sdk
Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (-25.23%)
Mutual labels:  android-development, android-sdk
Yasea
RTMP live streaming client for Android
Stars: ✭ 4,557 (+1990.37%)
Mutual labels:  android-development, android-sdk
Android Blogs
Blogs about Android
Stars: ✭ 490 (+124.77%)
Mutual labels:  android-development, android-sdk
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (-48.62%)
Mutual labels:  android-development, android-sdk

Venom

Venom is a lightweight tool that simplifies testing of the process death scenario for your android application.

Why Venom?

The Android Run Time aggressively manages its resources and occasionally terminates background applications while the user is away interacting with other apps. In such a case, all the activities are destroyed along with application scope objects and background tasks.

When the user relaunches the app, the top stack activity is restored from the saved instance state. Knowing this, your applications should always present a consistent interface and be tested against the process death scenario.

Venom makes it possible to kill the app process from the notification drawer making the testing easier and more straightforward versus the traditional ways like setting the background processes limit in Developer Options or using the stop process button in Android Studio, especially for a QA team.

Setup

The setup is pretty simple:

  1. Initialize the library in Application.onCreate:
val venom = Venom.createInstance(this)
venom.initialize()
  1. Call start/stop whenever you need:
venom.start()
// or
venom.stop()

See the sample app for an example.

Customize the notification

Use the builder to customize the notification:

val notification = NotificationConfig.Builder(this)
    .buttonCancel(R.string.venom_notification_button_cancel_override)
    .buttonKill(getString(R.string.venom_notification_button_kill_override))
    .build()   
venom.initialize(notification)

Download

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

dependencies {
    debugImplementation "com.github.YarikSOffice.Venom:venom:0.3.1"
    releaseImplementation "com.github.YarikSOffice.Venom:venom-no-op:0.3.1"
}

License

The MIT License (MIT)

Copyright 2020 Yaroslav Berezanskyi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].