How To: Auto-Start Your Favorite Music Player When Plugging Headphones into a Galaxy S4
Like many smartphones nowadays, your Samsung Galaxy S4 comes bundled with a headset for you to listen to music, watch videos without disturbing others, and even make phone calls. I personally only use it for music, whether it's Play Music, Pandora, or streaming from YouTube.If you're like me and the only reason you'd plug your headset into your GS4 is to listen to music, wouldn't it be nice to have your music player automatically pop up once you do so? Well, you can accomplish that by following along with this softModder guide! Please enable JavaScript to watch this video.
Step 1: Download & Install LlamaWe'll be using an app called Llama - Location Profiles, available for free on the Google Play Store. In a previous softModder guide, I covered the basics of setting up Llama, how it works, and gave some examples of what kind of automation can be accomplished. If you haven't already read through that guide, check it out so you can get a sense of how to use Llama.
Step 2: Create a New EventHead to the Events tab, and tap on the plus (+) sign at the very bottom to create a new event. It's always a good idea to name your events so you know what they do, so tap on Event name and group and give it a name.
Step 3: Add a ConditionLlama is based around "if, then" logic; if a certain condition is met, then a particular action will occur. Let's apply that to what we're trying to do with this softModder tutorial. The "if, then" statement we'll be trying to execute is:If a headset is plugged in, then a music app will launch.Let's start with the "if" part. Tap on the Add Condition button, select Headset Connected/Disconnected, and then Wired Headset Connected. That sets us up for wired headset usage, but if you want to try this out with Bluetooth headphones instead, you can choose Bluetooth Device Connected, then select your Bluetooth headset from there. Your Bluetooth headset will need to have been previously paired with your GS4, otherwise Llama won't detect it. Don't forget to have Bluetooth toggled on!
Step 4: Add an ActionNow let's work on the "then" part of our if, then statement. Hit the Add Action button, then choose Run Application. Select your choice of music app from the list; I'll be selecting Google's Play Music, but third-party music apps like Apollo will work just fine.Your event page should look something like this:
Step 5: Test the Event to Make Sure It WorksGrab your GS4's headset and plug it into the jack at the top of your phone. Your music app should automatically start up, ready for you to listen to some tunes!
Step 6: Fine-Tuning the Conditions (Optional)Occasionally, you might want to use your headset for things other than listening to music, like making a phone call, or watching Netflix or YouTube videos. In those cases, you probably wouldn't want the music player popping up and interrupting when you plug your headset in.
Preventing Your Player from Interrupting CallsYou can prevent this from happening by adding more conditions. Since we don't want the event to fire if we plug in our headset in the middle of a phone call, tap on Add Condition from the event's page, and select Call state. Make sure the box for Not in a call is the only one checked, then tap OK. Now you won't have to worry about your music app popping up in the middle of a call.
Preventing Your Player from Interrupting VideosHow about if you're watching some Netflix or YouTube videos and want to use your headset instead of the phone's speaker? We don't want our music app interrupting video playback, so let's add another condition.Hit the Add Condition button and select Active application. Select the app from the list (I'll choose Netflix for this example), and under Status, make sure it's toggled to App stopped or in background. Hit the OK button to finalize everything, and now the event will only fire if Netflix isn't running. You can do the exact same thing for YouTube or any other app you might be using your headset with.Want to see more Llama tutorials? Let us know in the comments! If you've come up with some of your own automated Llama tasks, we'd love to see those, too.
How to Enable Debugging Menus in Select Google Apps Full Tutorial: Subscribe to Gadget Hacks: In this tutorial, I will be showing you how to enable the hidden debugging menus that are built into the Google apps that are already installed on your phone.
How To: Enable the Hidden 4G LTE Feature on Your Google Nexus 4
Need to know how to put your Apple iPod Touch or iPhone into DFU recovery mode? It's easy! So easy, in fact, that this home-computing how-to can present a complete, step-by-step overview of the process in about four minutes!
How to Put iPhone, iPad and iPod Touch into DFU Mode
Read receipts, the small confirmation that lets you know your friends on Facebook Messenger have seen your message(s), are supposed to be a good thing for everyone. But they can also be a great
How to View All Messages at Once on Facebook, Without
Android 5.0 Lollipop comes with a cadre of features that let you take better control of the notifications you see on your phone—and set times for when you don't want to be inundated with
How to Manage, Customize, and Block Notifications in Android
06 BMW X5, w/nav., bluetooth, on board computer, 16x9 screen. Voice commands work with telephone functions but not with - Answered by a verified BMW Mechanic We use cookies to give you the best possible experience on our website.
New to BMW - Using Voice Commands [Archive] - Bimmerfest
By using mouse gestures, you can execute common commands (like opening new tab, go back/forward, reload tab, etc) quickly without the need to reach for the toolbar/menu or even the keyboard. In this post I will show you how you can use mouse gestures in Google Chrome, Mozilla Firefox and Opera. Google Chrome
How to Open the Same Set of Web Pages Every Time You Start
How to use Snapchat on Mac - Macworld UK
In this article, Cloudwards.net shows you how to use Xbox cloud storage, allowing you to play your games wherever and whenever you want. It also acts as a pretty handy backup in case your console
odrive - Sync all cloud storage in one place
How to read Kindle books on an Android tablet / phone. With Kindle app installed, we can easily read Kindle books on our Android tablets and smartphones, like Samsung Galaxy/S3, Google Nexus 4 / 7 and HTC One, together with considerable free Kindle books and downloaded books (Mobi / PDF) from torrent sites. 1.
Amazon Kindle Lite - 2MB. Read millions of eBooks - Google Play
Mapplets are small applications that run within Google Maps rather than being hosted on a third-party web site. Learning to Use the Google Maps API To add panels, special controls, and customized views to Google Maps, the Google Maps API is needed.
5 Ways to Use Google Maps - wikiHow
A lot of people ask us the best way to do screen recording on your Android devices. In this piece, we'll show you the best apps to do it and other ways!
Record Android Lollipop Screen (No Root) - YouTube
So, follow all the steps carefully and you will be able to Downgrade your Zenfone Max Pro M2 from Android Pie To Oreo. List Of Problems In Pie Update. Most of the Android Pie features that you have seen in other smartphones like Digital Wellbeing, Battery Manager and Gestures that you will not get in this update.
How to Show Battery Percentage in the Status Bar on Android
Galaxy S8 Oreo Update: Lock Screen Clock Now Matches Wallpaper Color How To: Get the Samsung Galaxy Note 5's 'Screen Off Memo' Feature on Older Note Devices How To: Make App Shortcuts on Your Galaxy Note 2's Lock Screen Adapt to Your Routine
Lockscreen Clock changes color to match wallpaper on Oreo
Use Continuity to connect your Mac, iPhone, iPad, iPod touch, and Apple Watch Move seamlessly between your devices with Handoff, Universal Clipboard, iPhone Cellular Calls, SMS/MMS messaging, Instant Hotspot, Continuity Camera, AirDrop, Apple Pay, and Auto Unlock.
Continuity for iPhone, iPad, and Mac: The ultimate guide | iMore
0 comments:
Post a Comment