AndroidUninstall


Source link: https://github.com/JeroenMols/AndroidUninstall

AndroidUninstall

Batch uninstall Android apps using this very convenient script. Just supply a package name (or part of it) and the script will take care of the uninstallation.

Very useful when:

  • You pick a shared device and want to clean it from all your domains apps (e.g. jmols)
  • You want to uninstall both the app and test apk at the same time
  • You want to uninstall an apk for all users

Usage

Simply invoke the script and supply (part of) a package name as an argument

./rmapps 'jmols' 

The script will list all matching packages and prompt to confirm the action (y/n)

Sample output of the script:

Jeroens-MacBook-Pro:android_uninstall jmols$ ./rmapps.sh jmols  Found 6 matching apps:
  com.jmolsmobile.babydosis
  com.jmols.wi_filetransfer
  com.jmolsmobile.calleridmanager
  com.jmolsmobile.brittenjeroen
  com.jmolsmobile.jmmj
  com.jmolsmobile.landscapevideocapture_sample  Are you sure you want to uninstall these? (y/n) n  Did not uninstall anything 

Installation

Make sure the script is executable:

sudo chmod a+x ./rmapps.sh 

This script requires adb to work and hence the Android SDK should be set up correctly in your PATH. To verify if that is the case, type adb version in your terminal. If this doesn't do anything, add the following lines to your .bashrc, .bash_profile or .zshrc:

export PATH=$PATH:<path to Android SDK>/platform-tools export PATH=$PATH:<path to Android SDK>/tools 

Optionally create an alias for the script in your your .bashrc, .bash_profile or .zshrc:

alias rmapps='<path from ~>/rmapps.sh' 

Next steps

  • Mechanism to uninstall more than 10 apps at once (limitation is now there as a safety)
  • Ruby bindings and gem for easier installation
  • Distribute via Homebrew

Resources

Android library allowing to preserve instance of any object across orientation changes.

Android Library for auto-formatting money on EditText.

Restito is a tool which is inspired by mockito and functionally is diametrically opposite to the Rest Assured.

Restito provides a DSL to:

  • Mimic rest server behavior
  • Record HTTP calls to the server
  • Perform verification against happened calls

Testing and validation of REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.

A powerful, customizable and extensible ViewPager indicator framework.

Simple to use customizable Android Tooltips library based on PopupWindow. This Tooltips does not require any custom layout. It works as PopupWindow.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes