Automatic ring volume? - General Topics

Hi, searching around I found at MSDN an example application that uses a devices built-in audio sensor to determine how loud it should ring. A very smart thing to do. The implementation is very basic, the app stays on forever so it consumer power unnecessarily. I wonder if somebody has written a better utility based on this idea.
Available at: http://msdn.microsoft.com/msdnmag/issues/07/10/NoiseDetection/default.aspx

That's a cool concept! Are you actually using that kind of app right now? And if so, where did you get it from?

Related

WM 6.1 Treo800w mute microphone

Greetings,
For reasons similar to an earlier poster, I'd like to find a way to map a button to mute/unmute the mic during a cell call.
A small application was posted here: http://forum.xda-developers.com/showthread.php?t=386810 which does this.
However it does not work on the Treo800w (as well as a few others) due to the fact that it looks for text on the button, which isn't there in this model.
In any event, after exhaustive searching - their doesn't appear to be any ready-made solution for this. I'm willing to write my own, but it's not even clear to me from the msdn api docs that it's even possible to directly manipulate this? Is this type of control "protected" from the Windows portion of the phone?
The idea would be to write a tiny app to toggle it and then map it to aebutton or something similar.
This is pretty much exactly what "itsallwright" did, and I'd like it for the same reasons - it's just his approach doesn't work on the Treo800w.
Thoughts?
-C

Remote controlled lights at my room with android

I have an idea but haven't skills for realization. I wan't to control light in the room
with my LG O1. I don't care about way (wi-fi,3G,bluetooh...) but best is of course internet because you can control from far away. Can anybody do this?
Sorry if this is already here but i can't find.
that good idea.i will search for you
I agree, does sound quite interesting. I'll make sure to check back on this, and see if I can find anything on the web about it.
Elot5 said:
I have an idea but haven't skills for realization. I wan't to control light in the room
with my LG O1. I don't care about way (wi-fi,3G,bluetooh...) but best is of course internet because you can control from far away. Can anybody do this?
Sorry if this is already here but i can't find.
Click to expand...
Click to collapse
http://www.x10.com/promotions/x10_automation_new.html
that is good but i think about some litle piece of harware in the wall working with switch
I'm sure there are other solutions but you might want to check out the Hawking Home Automation Gateway. It's a web server that sits on your LAN and controls Z-wave devices like light switches, sensors, etc.
Here is Solution!
pls see the video below
Its android controlled lights and fan, a true android automation
www youtube.com/watch?v=0XIudCkTbcM

"Tasker" vs. "Easy Profiles"

I know I could survive without an automatic profiles app, but I have a lazy addiction to them. The only problem is, they devour your battery.
I discovered "Easy Profiles" on the market, and it has outstanding reviews. Can anyone who is familiar with both Tasker and EasyProfiles tell me if there is a difference in battery consumption?
I'm not talking about how you can use these apps to decrease battery drain, im talking about how much battery the actual app uses while doing what its doing (polling for location, app launches, gps, etc)
i know that in tasker you can control how often it polls for certain things, but im paranoid that it still polls for things that i have no profiles setup for, hence potentially using unnecessary battery.
can anyone give me an overview on how these apps work in terms of battery consumption, and which one seems to use less to do its thing?
PS - i realize that battery consumption is relative to what you are doing....so please describe battery consumption based on YOUR use (i.e. if you used both tasker and easyprofiles for the same exact things, but one or the other seemed to chew less battery)
Thanks ahead!!
-Top
I am also choosing between this two apps, does anyone have experiense of this two?
/Mike
Perhaps a little late to the discussion, but I use both Tasker & EasyProfiles..
I originally used Tasker to control my profiles, but as rich as Tasker is in features I just wasn't happy with it as a profile app..
I tried quite a few profile apps and wasn't overjoyed with any of them - In my case, I wanted the option of profiles being triggered by cell tower id only and EP was the only prog I could find that gave that option. Installed the trial and purchased the full version the next day since it was exactly what I was after.
I've dialled back what I use Tasker for, but I still use it (in conjunction with EasyProfiles).
If your main focus is on profiles, then I'd go with EasyProfiles (it does a lot more than just profiles and it's kind of a mini-Tasker)
If your main focus is on automation, then I'd go with Tasker.
Both Tasker and EasyProfiles are extremely configurable which has the downside of meaning that both have a bit of a learning curve to get around. Tasker has online resources to help with that (doco, the wiki which includes sample tasks), whereas with EasyProfiles you only have the documentation listed on the website.
Personally if I had to pick one or the other, my focus is more on getting the profile functions that I miss from ye olde Nokia smartphone days so I'd choose EP as it does profiles really well, plus has a crapload of additional features that go well beyond your typical profile app.
Full disclosure: I'm a beta tester for EasyProfiles
Thanks
/Mike
Hi,
I started to use EasyProfiles two weeks ago (free trial period) and will get the pro version now.
I am also a bit paranoid about battery consumption indeed, and sure, it will drain battery on certain observation actions. I think that's obvious.
But what I liked about EP ist the fact, that it has in deep explanations how certain events are triggeres based on the battery consumption. You have a lot of settings to manually interfere with the duration and repetition period of battery draining processed.
E.g. you can set how often to check (switch on/off) Bluetooth for a headset or a car.
Or how often to check location and how (GSM sender based or WLAN or GPS based)
Also it has in the latest version (which I just downloaded yesterday and did not test yet) a finer model of activation rules "read-steady-go" where you can define rules which test on the first hand only for e.g. beeing in one profile (no extra battery), testing for another event befor testing for the real "fireing" event.
Thus allowing to choose a pre event which does not need battery and do the reguarly check for e.g. Bluetooth only if needed.
It's not that easy to configure everything but I like it and have built up quite a decision tree for leavong home, checking for car, reach work etc.
Using "hidden" intermediate profiles you can fine tune your battery consumption for event checking a lot.
I still see some increase in battery usage, but it from my feeling in the range from what I would expect from the regular checks I installed.
The bluetooth checks do need a lot of battery of course
I admit that I have no experience whatsofar from Tasker.
Hope that helps a bit
Cheers
derFrutz
I never liked EasyProfiles, Tasker, Locale, Llama Profile -Yes I know I tried a lot of different sound apps.
With those aps I had to reset my HTC Desire X many times. :crying:
The one I love is Smart Volume Control+
I hasn't interfered with the working of my phone at all. Just compare their reviews to the others. More people are happier with them.
Grey199318 said:
I never liked EasyProfiles, Tasker, Locale, Llama Profile -Yes I know I tried a lot of different sound apps.
With those aps I had to reset my HTC Desire X many times. :crying:
The one I love is Smart Volume Control+
I hasn't interfered with the working of my phone at all. Just compare their reviews to the others. More people are happier with them.
Click to expand...
Click to collapse
How long have you been using Smart Volume Control+? Is it easy to use? I know some of the other audio managers have a learning curve with them.
Kaibosh said:
Perhaps a little late to the discussion, but I use both Tasker & EasyProfiles..
I originally used Tasker to control my profiles, but as rich as Tasker is in features I just wasn't happy with it as a profile app..
I tried quite a few profile apps and wasn't overjoyed with any of them - In my case, I wanted the option of profiles being triggered by cell tower id only and EP was the only prog I could find that gave that option. Installed the trial and purchased the full version the next day since it was exactly what I was after.
I've dialled back what I use Tasker for, but I still use it (in conjunction with EasyProfiles).
If your main focus is on profiles, then I'd go with EasyProfiles (it does a lot more than just profiles and it's kind of a mini-Tasker)
If your main focus is on automation, then I'd go with Tasker.
Both Tasker and EasyProfiles are extremely configurable which has the downside of meaning that both have a bit of a learning curve to get around. Tasker has online resources to help with that (doco, the wiki which includes sample tasks), whereas with EasyProfiles you only have the documentation listed on the website.
Personally if I had to pick one or the other, my focus is more on getting the profile functions that I miss from ye olde Nokia smartphone days so I'd choose EP as it does profiles really well, plus has a crapload of additional features that go well beyond your typical profile app.
Full disclosure: I'm a beta tester for EasyProfiles
Click to expand...
Click to collapse
What happened to EasyProfiles?
jeebs98 said:
What happened to EasyProfiles?
Click to expand...
Click to collapse
No idea - dev stopped updating and it worked ok for a while but then little bits started to not work as expected as Android marched on and EP wasn't updated to follow.
Really a shame - it was a great app.

[Q]any registry tweak for sms notification?

dear devs, i was wondering if there could be any registry tweak to light up the led when sms come just like what the phones do when low battery
I guess not. It really a shame that MS couldnt implement a message, email, missed call reminder. The implemented missed call reminder only works for a few minutes after the missed call.
Agreed. The LED is actually a non-trivial battery drain, even on a short duty cycle (plus the slight increase in CPU needed to wake up and drive it) but it should be the user's choice, even if off by default.
Unfortunately, I don't think MS included any such functionality, hidden or otherwise. Doing it with homebrew might be possible, but wouldn't be easy; you'd need an app that could access SMS (or call, or whatever) activity, drive the LED state, and do it from the background long-term without crippling the battery life. Frankly, it's the ideal kind of thing for a native app... but we still haven't managed to make those work.
What you would need, in order to implement this in a homebrew app:
Access to the history/activity of the behavior you want to indicate (SMS, whatever).
Access to the LED, either through an official API to control it or by sending IOCTLs to the driver.
The ability to run long-term in the background - I don't know if this is feasible right now, though you might be able to savagely abuse the background audio decoder agent (the only official API that allows long-term third-party code execution in the background).
APIs for SMS (and I think for notification LEDs?) are on MSDN.
http://msdn.microsoft.com/en-us/library/ee498239.aspx
http://msdn.microsoft.com/en-us/library/ee481040.aspx
Those are for Windows Embedded Compact (CE7), which is not exactly the same as WP7 even after you strip away the WP7 UI and application model. Nonetheless, they've been useful references to me when developing native code in the past, and might work here.
If you're not familar with native code development, search this forum for Heathcliff74's great how-to on the subject. If nothing else, it would be worth it to find out if those APIs can be used.
GoodDayToDie said:
Agreed. The LED is actually a non-trivial battery drain, even on a short duty cycle (plus the slight increase in CPU needed to wake up and drive it) but it should be the user's choice, even if off by default.
Unfortunately, I don't think MS included any such functionality, hidden or otherwise. Doing it with homebrew might be possible, but wouldn't be easy; you'd need an app that could access SMS (or call, or whatever) activity, drive the LED state, and do it from the background long-term without crippling the battery life. Frankly, it's the ideal kind of thing for a native app... but we still haven't managed to make those work.
What you would need, in order to implement this in a homebrew app:
Access to the history/activity of the behavior you want to indicate (SMS, whatever).
Access to the LED, either through an official API to control it or by sending IOCTLs to the driver.
The ability to run long-term in the background - I don't know if this is feasible right now, though you might be able to savagely abuse the background audio decoder agent (the only official API that allows long-term third-party code execution in the background).
APIs for SMS (and I think for notification LEDs?) are on MSDN.
http://msdn.microsoft.com/en-us/library/ee498239.aspx
http://msdn.microsoft.com/en-us/library/ee481040.aspx
Those are for Windows Embedded Compact (CE7), which is not exactly the same as WP7 even after you strip away the WP7 UI and application model. Nonetheless, they've been useful references to me when developing native code in the past, and might work here.
If you're not familar with native code development, search this forum for Heathcliff74's great how-to on the subject. If nothing else, it would be worth it to find out if those APIs can be used.
Click to expand...
Click to collapse
Thx. Is's very kind and patient of you tell me so much about that.
on my hTc 7 pro the green led blinks on sms and missed calls. but only for 5 minutes than it goes off... i would like to have it on till i look on the screen what is the notification... that would be cool. but i haven't found any tips how to tweak that.
recently i look in the registry and found a /notification/ led path. that could be to the path of the green and red led. and there is some things like "blackout time" custom timer... etc. but i don't understand the timing they are in binary code written and i'm not sure if this is for the LED on top of the handset. i found this registra on windows mobile devices too. (and there it is for the blinking led)
The LED on the handset is certianly the "notification LED" if you phone has one (not all do). It lights up or blinks to "notify" you of certain things (missed calls, low battery, charging complete, etc.)
There may be some registry values that can control its behavior. Otherwise, I'd suggest trying with the native APIs. I'd like to help with this but you'll have to wait quite a while if you want me to do so; I've got a lot that I'm working on right now.
Moved to WP7 Q&A​
This is a development section, it is not for questions. As highlighted in the read before posting stick​

[APP] Auto brightness from ambiance light meter

Hi all,
I am still annoyed by the fact that the MTCX units do not have a light sensor and do not adjust brightness according to light ambiance. Of course I am using dsa's autobrightness script that adjusts the brightness depending on the time of the day, but this solution is not optimal as it does not take into account tunnels, garages, cloudy days etc.
Well, I have found this:
http://www.yoctopuce.com/EN/products/usb-environmental-sensors/yocto-light-v3
It is a light meter that can be connected via usb to the head unit. The idea is to place the device somehwere in the car, connect it to the head unit and then using an android app we can automatically adjust the brightness. Voilá.
Problem:
I can't program in Android. It does not seem difficult because the product comes with an API and libraries and can be coded in all types of languages (c#, python, java, android, etc.) and it even comes with examples. So, someone with some coding skills can easily implement this (yes, I am looking for help).
PS: probably a cheaper option can be built using arduino
-Update-
It seems it can even be called from linux. So it could be called from dsa's script without the need to install/develop any app.
Please let us know if you have inserted this successful
Verstuurd vanaf mijn ZUK Z2121 met Tapatalk
I am looking forward for this!
I cannot find dsa autobrightness script on xda... do you have a link please? For now hal9k_ rom don't work with the canbus headlight detection and it's annoying to manually set the brightness each night/day. At least if sunrise/sunset data can be read from GPS to set the brightness that could be much better than now!

Categories

Resources