Coder Social home page Coder Social logo

murad1992 / idea-intent-sender-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vfarafonov/idea-intent-sender-plugin

0.0 1.0 0.0 140 KB

Idea/AndroidStudio plugin for common operation that typically performed via adb shell

Java 100.00%

idea-intent-sender-plugin's Introduction

IntentSender

======== Plugin allows you to send intents with specified data and extras to android devices or emulators with adb command "broadcast", "startactivity", "startservice". Typical plugin use-cases:

  1. Broadcast receivers testing (including intent filters testing for custom data schemes, mime-types and so on)
  2. Starting activities which are deep withing apps flow (even not exported ones)
  3. Launching services from IDE
  4. Testing receivers, activities and services with different intent extras
  5. ...

!!Note: starting not exported activities may not work on some devices (basically it does not work on some Samsung devices)

Installation

  • Download plugin *.zip file
  • Open plugin manager (File -> Settings -> Plugins (on the left pane) or by typing "plugin" in find action field (Help -> Find Action)). Also to open settings you can use ctrl+alt+S (Win) and to open find action field use ctrl+shift+A.
  • Click "Install plugin from disk...", select downloaded file and click install button
  • Restart IDE (will be prompted automatically)

Usage

To open plugin window click on "Intent sender" button on the right side of IDE or open it from tool windows menu (View -> Tool Windows or from the icon on the bottom left corner of the IDE). Specify intent parameters, select component if needed, add extras and flags, and then just click on one of the send intent buttons. That's it. To restore previously sent commands you can use button right near "Intent parameters" section header

If you are adding any of the array extras, type items with comma as a separator and do not place space symbols between items

Limitations

For now it is not possible to attach parcelable objects as extras but I am working on it...

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

idea-intent-sender-plugin's People

Contributors

fo2rist avatar

Watchers

Murad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.