Hi, I've developed an application using a stylus (e.g., Samsung pen).As you know, when we click a button on the stylus, "Air command" (pop-up window) appears.My goal is "Overriding the air command into my custom functions"
Notionally You cannot programmatically remove/disable this Air service (permissions) and as a system service it seems to have first dibs on the hardware events (you get them later/also and it's too late to stop Air if it is active).That being said Greenify does it so I sought out other options and found Brevent. This is totally free source code it the GitHub (AS 3), I'm playing with it right now (be aware it contains C code so NDK required if you want to build it, or see ->). Brevent Play Store
Some owners reported that air command in Galaxy Note 5 was grayed out. The cause of grayed out Galaxy Note 5 air command is usually due to some accessibility settings (Go to Accessibility and switch on Voice Assistant ?). Actually, when you enabled such accessibility settings, there were the warning message on air command. But most of time, nobody reads it.
For your own personal use you can use the 'free' app:
(Android version 6+, even without root!) Greenify to disable the Air Command Service (to disable system apps/services you need to make a small "donation" and the function is described as "experimental").
None of the above mentionned solution worked for me (Android 9 on Galaxy Tab S3). In particular I didn't succeed to disable Air Command with ADB as hotkey suggests. However this lead me to the next command in ADB shell:
Removing (without rooting) is more radical than disabling. However this is what I was actually looking for when I was driven to the present page, and I didn't find it anywhere else. So I guess it might be usefull to share it...
Samsung sunset its popular Galaxy Note lineup and brought one of its highlighting features to its top-of-the-line Galaxy S series flagship last year. The Galaxy S22 Ultra was a spiritual successor to the Galaxy Note series, featuring a built-in S Pen that unlocked various productivity features. The all-new Galaxy S23 Ultra carries the Note legacy forward and features a built-in S Pen that supports handy features like Screen Off Memo, Quick Notes, Air Actions, Screen Write, and more.
If you've just bought yourself a shiny-new Galaxy S23 Ultra and are eager to try out its S Pen, you've come to the right place. Read on to discover everything you can do with the S Pen on your Galaxy S23 Ultra.
Last year, Samsung greatly improved the S Pen experience on the Galaxy S22 Ultra. The company adopted a new Wacom integrated circuit for the S Pen and a multi-point algorithm to anticipate the direction of movement for reduced latency and improved writing performance. In addition, it introduced several new software features to help users make the most of the new and improved S Pen.
While the Galaxy S23 Ultra brings a few noteworthy improvements over its predecessor, the S Pen and its features, remain unchanged. It utilizes the same hardware and software as the S Pen from last year, and you get access to the same features. But that's not a bad thing, as the Galaxy S22 Ultra was the best phone with a stylus last year. If you have no prior experience with a Galaxy S22 Ultra, check out the following section for everything you can do with the S Pen on the Galaxy S23 Ultra.
Although Samsung introduced several new features with One UI 5.1 on the Galaxy S23 Ultra, the update doesn't include any new S Pen features. You get the same selection as previous software releases, including Air Command, Air actions, Air view, Screen off memos, Quick notes, etc.
Air Command is the pop-up menu that shows up as soon as you pull the S Pen out. It gives you quick access to all the other S Pen features. By default, it only offers a few options. However, you can select the Add button at the bottom to include other frequently used features in the Air Command menu.
Air actions let you use your S Pen as a remote to control various functions. You can use it to open apps, click pictures, play movies, and even more without touching the screen. By default, pressing and holding the S Pen button opens the camera. You can also perform various gestures in the air to go back to the previous screen, go to the home screen, open the recent menu, and trigger the Smart select or Screen write features. These gestures are fully customizable, allowing you to set them up per your preference.
You can also set up Air actions for individual apps from the S Pen settings and perform various functions by single or double pressing the S Pen button or using air gestures. For instance, you can use this feature in the Camera app to take pictures or record videos, switch cameras and camera modes, and control camera zoom levels.
The Air view feature lets you quickly preview links, Gallery albums, and calendar events by hovering your S Pen over the items. You can also hover the S Pen over the edges to scroll. The Air view pointer shows you exactly where your S Pen's hovering to make selection easier.
As its name suggests, the Screen off memo feature lets you quickly take notes without turning on the screen or unlocking your device. The feature works seamlessly and presents you with a blank canvas as soon as you pull the S Pen out when the screen is turned off. It's great for jotting down notes and offers some basic customization options. All the notes you create using this feature are saved in the Samsung Notes app as soon as you place the S Pen back in its slot.
The Screen off memo feature is great for taking a note when you're in a hurry, its lack of customization options makes it less than ideal for regular note-taking. That's where the Quick notes feature and Samsung Notes app integration come in. You can take a quick note by selecting the Create note option in the Air command pop-up. This opens a new pop-up window with a blank canvas for notes.
Unlike Screen off memos, this window gives you access to a wide range of customizations. You get to choose different pen types, set the thickness of the stroke, choose between fixed or variable thickness, and pick from a wide range of colors. The feature also includes various highlighter options to help you highlight important text, an eraser, a marquee selection tool, and undo/redo buttons. As with Screen off memos, all your quick notes are saved in the Samsung Notes app.
Smart select is a nifty tool that supercharges screenshots on the Galaxy S23 Ultra. It lets you capture rectangular, circular, or freeform screenshots of any section of the screen instead of grabbing the entire screen. You can either save and share the screenshot or perform additional edits, like removing the background, adding annotations, or creating a GIF.
Screen write is a simpler screenshot and annotation tool that allows you to quickly take a screenshot of whatever's on your screen and annotate it. For annotations, you get access to a pen tool with different colors, an eraser, and undo/redo buttons.
The Galaxy S23 Ultra comes with the Penup app preinstalled, and it seamlessly integrates with the S Pen. Using the Penup option in the Air command window, you can open the app quickly to color line drawings, find drawing tutorials, and much more. The standalone Coloring option in the Air Command menu gives you quick access to the coloring feature in the Penup app.
The AR doodle feature is a fun tool that lets you doodle in augmented reality. It recognizes faces and surfaces in the viewfinder and lets you scribble on them. The text or drawings stick to the surface and behave as if they were a part of the scene.
The Translate feature is pretty straightforward. You can use it to highlight text with the S Pen and translate it into any language that Google Translate supports. You don't even need to have the Google Translate app installed on your Galaxy S23 Ultra for this feature to work, which is an added bonus.
Glance is a multitasking feature that lets you open a small thumbnail of one app on top of another app. You can hover the S Pen over this thumbnail to return it back to its normal state. But as soon as you pull the S Pen away from the screen, the app will revert to the thumbnail. You can use this feature in any scenario where you're frequently switching between apps.
b37509886e