recently I was playing with a certain script that took my apps and shortcuts (and widgets but I didn’t add any) and…
what if there was a script that when the wheel turned 1 way it turns media volume up and turned the other way it turns media volume down….. like a volume nob on a stereo?
come to think of it I’ve been looking for a widget that allows this (yes there are some but they require that I first click the widget as opposed to just turning the damn nob) but im yet to find one that doesn’t require a click action first. most stereos I’ve seen don’t require a click action so I don’t feel I should have to click a widget first before changing the damn volume, I don’t care what Googles policy is. but that’s beside the point
the point is the wheel looks like a volume nob and I just think it would be cool if that was possible. I’m placing (originally was planning… damn swipe) it in the discussion section because I just want to know what it looks like to you and what crazy ideas everyone had in mind. perhaps someone can even craft a script that does this who knows?
]]>
< ![CDATA[
Don’t know how to set the volume from script. I like the idea though.
]]>
< ![CDATA[
I actually had this exact idea when first seeing the wheel script but I have no idea where to start on it lol. Hopefully those more knowledgeable can get it going
]]>
< ![CDATA[
I was just playing with the wheel and thought about it I kinda laughed at first then thought “wait a minute…..”
]]>
< ![CDATA[
I was thinking about this the other day – wanted use swipe up/down on my lock screen. I found this http://sudarmuthu.com/blog/adjusting-the-volume-in-android-through-code/ but unfortunately my scripting knowledge is limited though…
]]>
< ![CDATA[
I personally have thought it would be awesome. We could create a music widget almost completely with LLX and Tasker to pull some variables. Gonn have to keep an eye on this question to see where it goes for sure.
]]>
< ![CDATA[
Changing the volume level should be possible. I’ll have a look at it when I am back
]]>
< ![CDATA[
Tony Merrell-Jones my scripting knowledge is non existent. all i know is copy this here and paste it there that’s it
]]>
< ![CDATA[
Lukas Morawietz hey if it’s possible cool, anyone else have any ideas?
]]>
< ![CDATA[
Can’t make it now, but this is all you need if you know scripting (check the android reference for other flags)
var v=0;//-1,0,1 to lower, maintain, raise respectively
LL.bindClass(“android.media.AudioManager”);
var audioManager = LL.getContext().getSystemService(Context.AUDIO_SERVICE);
audioManager.adjustVolume(v, AudioManager.FLAG_PLAY_SOUND);
]]>
< ![CDATA[
TrianguloY Tried quickly from a shortcut and it works perfectly. Will try later when at home with my swipe events
]]>
< ![CDATA[
Nice. I don’t remember exactly, but I think that a wheel to change the volume could be found in some old media player skin, maybe a MPlayer one or XMMS one ?
]]>
< ![CDATA[
Pierre Hébert no matter, I was just saying that it looks like a volume nob and just wanted to see what everyone else thought, if a script is in fact possible to create a wheel of apps that turns the volume up or down on rotate then cool but alas I was only pointing this out and wanted to see what others thought.
]]>
< ![CDATA[
No problem, it was just remembering me an ancient age where kde 1.99 was the best desktop in the world, and most apps were written in C or C++, not Java nor JavaScript (agreed, that’s an off topic though).
]]>
< ![CDATA[
it’s funny you should mention that because I wish everything was in simple language where it was readable by anyone with half a brain
]]>
< ![CDATA[
That is the graal of every developer too. Imagine a system that turns a few (spoken) sentences into a useful screen… Oh my god, I would speak a bit with my computer when I woke up in the morning, then I would go outside for a ride or do other things I like for the rest of the day… Ahhhh.
]]>
< ![CDATA[
hahaha I know. you wouldn’t be so bored with codes if it was that easy
]]>