pcevikogullari / Androidshortcuts
Licence: mit
Example app for shortcuts
Stars: ✭ 335
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Androidshortcuts
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+1441.79%)
Mutual labels: shortcut, shortcuts
Electron Localshortcut
Add keyboard shortcuts locally to a BrowserWindow instance, without using a Menu
Stars: ✭ 366 (+9.25%)
Mutual labels: shortcut, shortcuts
executor
A powerful "short-cutter" to your console to you and your team!
Stars: ✭ 21 (-93.73%)
Mutual labels: shortcut, shortcuts
react-shortcut
Convenient React component that detects if the given key combination is pressed, and triggers a callback
Stars: ✭ 16 (-95.22%)
Mutual labels: shortcut, shortcuts
static-hands
⌨️🤯 Stop moving hands, and start code fast ⚡⚡
Stars: ✭ 36 (-89.25%)
Mutual labels: shortcut, shortcuts
Python Shortcuts
Create Siri Shortcuts with Python
Stars: ✭ 525 (+56.72%)
Mutual labels: shortcut, shortcuts
keybind
ClojureScript key bindings (shortcut) library
Stars: ✭ 85 (-74.63%)
Mutual labels: shortcut, shortcuts
quickreview-for-github
Reviewing 50+ Pull Requests a day is no fun. Automate it with keyboard shortcuts.
Stars: ✭ 28 (-91.64%)
Mutual labels: shortcuts
React Hotkeys
React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.
Stars: ✭ 279 (-16.72%)
Mutual labels: shortcut
Coffeescript Sublime Plugin
Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.
Stars: ✭ 296 (-11.64%)
Mutual labels: shortcuts
Swift Shortcuts
An iOS 14 Shortcuts creator written in Swift, inspired by SwiftUI.
Stars: ✭ 276 (-17.61%)
Mutual labels: shortcuts
gh-omnibar
[Deprecated(use github's`/` instead, you're welcome github)] Github Omnibar Extension for Firefox and Chrome
Stars: ✭ 72 (-78.51%)
Mutual labels: shortcut
shortcut-preview
A React component to preview iOS Shortcuts
Stars: ✭ 20 (-94.03%)
Mutual labels: shortcuts
Android Shortcuts
Example app for shortcuts in design library v25
Demo
Manifest
Add meta-data before </activity>
tag in Manifest.xml
<meta-data android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
Add Shortcut
To add or edit a new shotcut, go to /res/xml/shortcuts.xml :
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="shortcut1"
android:enabled="true"
android:icon="@drawable/ic_directions_run_black_24dp"
android:shortcutShortLabel="@string/shortcut1"
android:shortcutLongLabel="@string/shortcut1_long"
android:shortcutDisabledMessage="@string/shortcut1_disabled">
<intent
android:action="custom_action"
android:targetPackage="com.pamir.shortcuts"
android:targetClass="com.pamir.shortcuts.MainActivity" />
</shortcut>
</shortcuts>
Handle Actions
To handle shortcuts, just add new constant:
private final static String CUSTOM_ACTION = "custom_action";
and check the intent for custom action :
switch (getIntent().getAction()){
case CUSTOM_ACTION:
textView.setText(CUSTOM_ACTION);
break;
default:
break;
}
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].