Getting info from notification queue to UI? - General Questions and Answers

I'm asking this here because I can't seem to register over at the Chi Tai forums.
I use pTravelAlarm as my alarmclock. It's a today plug-in so I can't get it to fit in with a lot of the nice skins that are floating around.
I was wondering if I can get one of the UI's (preferably HS++) to read from the notification queue. This way I can make my own button that displays if an alarm is set and if so at which time.
If this is possible with any of the other UI's I can look into those.

Are you sure that notification queue is the only way? Most alarm clocks i've seen also store their alarms info somewhere else, usually in the registry. Even if the data is not ready for direct use (like one DWORD 124520081124, meaning an alarm is set for 12:45, on 2008-11-24), you might try running periodically a mortscript that would transform it into usable data. Updating even once an hour should be enough. And you wouldn't really notice any performance loss. I once had a mortscript checking every 10 seconds if headphones are connected. It run a player when headphones were connected and closed it if they were disconnected. Even on a relatively slow device (HTC Wizard) i couldn't notice any additional CPU load.

Why make it harder than it is? This did the trick. Probably explains why I couldn't find any related information...

Related

Automated Radio on/offf ?

I've just got a Kaiser to replace a long line of Palm Treos.
The only app I can't seem to replace at the moment is one that turns the phone off and on at selected times - so the battery lasts longer and I don't get woken before I'm ready.
Any suggestions?
look for PTRadioScheduler
you can switch on/off the radio and BT seperately (timebased)
Comm Manager Pro (shareware) allows you to turn on/off your radio, bluetooth adapter, wi-fi and other things based upon physical location & time. It's pretty sweet, although I didn't think it was useful enough to me to pay the $19 to keep it. However, you may feel different...
http://handheld.softpedia.com/get/S...munication-Manager-Pro-CommMgrPro-37327.shtml
Looks perfect... testing now
epi,
May i suggest Pocketmax PhoneAlarm.. It has this on off thing as a profile which can be scheduled by time, or by location (calendar event).. Plus, it can repeat notification, which is what it was created for.
It's profile is very powerfull, you can control almost everything, from radios to backlight to ringtone.. It also have many nice skin too...
This one is even better.. Bandswitch
http://handheld.softpedia.com/progScreenshots/BandSwitch-Screenshot-37329.html
Thanks for all the suggestions guys...
ptRadio Scheduler does what I need, seems to work nicely in the limited testing I've done, and it's also the cheapest
... so I'll stick with that until it ****s up

Simple today plugins for backlight and volume ???

Please forgive me if this is inappropriate or the wrong forum.
I have searched low and high for two simple wm5 today plugins. But have had no luck yet. Seems I can find everthing except for something to automatically scratch my back when it itches. I didnt think it would be hard to find two simple controls.
The first plugin I would like on my phone is a simple slider to control the backlight. MVBklight is near perfect except it does not resize itself when switching screen modes. And I've never been a big fan of skins, that allways makes things seem bloated. It would also be nice if by tapping the icon on the left it would cycle through preset screen brightness levels and optionally turn the screen off.
The second plugin I have looked for is a simple volume slider. SoundToday does do the job, but is rather lacking in the interface department. There is no visual display of what the plugin is for. It is sometimes hard to tell what is what on my crowded today screen, a simple icon would be nice. Ideally that icon would cycle between preset volumes/mute/vibrate.
Any suggestions?
Have you looked at this thread for your backlight request:
http://forum.xda-developers.com/showthread.php?t=379270
Yes ... I did mention MVBklight in my original post.
Now if there was a similar plugin for the volume.
Oops...sorry. My bad. You know....one of the primary reasons why you won't fine any standalone plug-in for these two would be because they are bundled up with many other applications as standard features (ex: SPB pocket plus). I guess that meant no ones found the need to request for a standalone plug-in, atleast until now that is. Imma keep looking for something you can use. Will let you know if I find something worthwhile.

Pin Locking and Activesync

Hi all,
I tried searching but cannot find anything on this, so as my first post, here goes...
I have a Touch Diamond with official ROM (WM6.1). I want to get over the known "issue" that with the device set to pin lock after 0 minute timeout, it still locks automatically after 1 minute of idle time.
Of course, I found an answer on this forum, see, for example http://forum.xda-developers.com/showthread.php?t=291868: in the registry, set AEFrequencyType to 2 (instead of 1), which works as hoped as far as the device is concerned... it no longer auto-locks after any amount of time, but locks instead whenever it goes into standby.
The issue is this: Activesync no longer requires the pin to connect to the device and without pin can read ALL files from its memory, even if the phone is locked at the time. Setting AEFrequencyType back to 1 forces Activesync to require the pin even if it is not locked when it is plugged in to the computer. Does anyone know a way to force Activesync to require the pin... of course, I am looking for a setting on the device, not the PC, as I want to make it hard for anyone who might steal the phone (or if I lose it!) to read the data on the device.
In case anyone is wondering, I also found another workaround. Having set the pin timeout to some large time, like 30 minutes, I can then use a pin locking program, Zenyee's 'Pin Lock.exe', and create a wakeup event notification with Dotfred's Task Manager (seems very useful app for free!). This works, until I run FlexMail, which seems to intercept these notifications and prevent it from locking!! So, I have to override a soft key on the home screen to run the pin lock, then hit the power button to put the device into standby. Not too bad, but there must be a better way...!
Thanks in advance,
Martin
Just a quick follow up for anyone who may be interested. FlexMail DOES NOT intercept the wakeup events... however, because it causes a little processing to be done, it seems it can delay the device from sleeping for a while (a minute or two) whenever a full synchronisation is performed. So, the wakeup event, whilst normally quick to activate, can sometimes take a minute before becoming effective.
However, I now have a workable solution for me. Just as I said above, I set my Pin Lock timeout to something large, like 30 minutes. However, instead of relying solely on wakeup events, I have now installed Gyrator 2 (http://forum.xda-developers.com/showthread.php?t=427805) which is an excellent application for many reasons... I particularly like being able to identify the window class/title using the stylus-in event to identify the in-focus window! More importantly, for this issue, it has the option to both Pin Lock and Suspend the device whenever a certain criteria is met. For me, this is when it is held face down for a second. So, now I just do this instead of hitting the power button and I'm guaranteed to have the device Pin Locked on next wakeup. ActiveSync also requires the Pin as AEFrequencyType is the default value of 1. A perfectly workable solution.
All the best,
Martin
I strongly suggest you take this towards the Diamond section as knowledge about specific problems in specific devices are usually conversed over at that specific section.. more than here.
Thanks, but I think this is WM6/WM6.1 specific, not Diamond specific. The problem with AEFrequencyType set to 1 giving a timeout even with zero minutes is known and seems to be device independent. I just found that setting it to 2 to fix this timeout issue, as many people do, seems to prevent ActiveSync from requiring the PIN as well! Not a good result.
That said, my workaround solution is probably Diamond specific, sorry! Perhaps I should post in the original thread that I found out about the AEFrequencyType registry tweak?
All the best,
Martin

Tasker finally on the Market, automate nearly anything easily!

It's hard to describe what Tasker can do, as there's not much it can't do. I try to describe it like a high-level interface to the Android API. You can adjust hoards of Android settings programmatically based on Events (application, time, date, location, event, gesture).
Personally, I do some of the following:
Passively upload my GPS location to my website every 10m
Have the phone get fairly loud when I'm a home
Quiet when I'm at work
Nearly Muted when I'm in a meeting (matches a Calendar event)
Muted with Autosyncing disabled at Night while I sleep
Disable Rotation on my etext reader to work around a bug in the ereader which loses my position in my book when it rotates!
Make the screen brightness and sounds high when I'm running Waze (gps program) on AC power (plugged into car charger)
... more little things!
All of this is done using an easy to use GUI to build matching contexts and a task to execute when matched. There are lots of samples to start with on the website, and very easy to write your own. Basically it's a graphical programming language that anyone could use.
It's on the market as of today, and the website is here: http://tasker.dinglisch.net/
I have zero connection to the author besides an extremely happy user, decided I would post this here because he's exited beta testing and on the market now.
Here's even a few more examples of things that can be done, pasted from the website.. Still only the tip of the iceberg on things it can do:
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
application: long screen timeout in a book reader
time: screen brightness lower in the evening
location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
toggle bluetooth/wifi on/off
launch wireless settings dialog
show a menu of tasks to choose
send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
decrypt/encrypt and/or zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Vulpix said:
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Click to expand...
Click to collapse
I hadn't looked at his market version yet, but it shouldn't need validation for 14 days..
He sells it on the market and off of the market. If nothing else you could install it from his website. I'll ask on his forum, it shouldn't require purchasing to use immediately.
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Knether said:
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Click to expand...
Click to collapse
Weird, I've seen that like once when I first tried it.. You might want to get on his forums and see what he can do to help fix it, as if you're interested I don't think there's anything else out there that does anywhere close to what Tasker does.
Come to think of it, yes, I did see that maybe 2-3 times, especially when first messing around, but I haven't seen it in weeks, even though I've set up multiple profiles since then. Interesting. You could always set up some stuff, Apply, re-enter the app. At that point it's saved. If it crashes, you won't lose anything. However it'd be good to get logs from alogcat or such to figure out the crash problem.
Awesome.. tasker is too good and much better than locale and setting profiles (though UI could get a bit better)... I've been waiting for it to arrive on the market..
I guess I'm the only person who has troubles with the app.. ::sigh:: I want to love it..
I've actually been using the app for a little over two weeks, and I've found it to be indispensable! GPS drains my battery too fast, so I love coordinating tasks with calendar events in conjunction with network-based location. Not to mention auto starting GPS for specific apps and then shutting GPS back off when I exit said app. There are simply SO many uses for tasker, and its compatible with locale plug-ins.
Btw. Try using Foxy Ring's ambient noise feature to auto adjust ringer volume. It works great when constantly moving from quiet study areas into a loud common room.
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
CitizenLee said:
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
Click to expand...
Click to collapse
Sure, Tasker doesn't have a "Default" profile, when a profile ends it returns what settings it changed back to what they previously were.. So if it's H going into your night profile, switch off 3G, then when the profile is over it'll return to H. The big difference here is that most likely you're going to have to run an external program, maybe APNDroid or something, to toggle 2G/3G, as apparently it's not in the API directly and Tasker can't do it. So you have an entry task and an exit task.
Yep, I just looked for apps that can do this, they all launch the option in the menus, can't do it directly... So doing this doesn't seem (directly) possible, but maybe there is something out there.. I just glanced. http://www.cyrket.com/search?q=3g&market=android
Profile
Context: Time 00:00 to 08:00
Enter Task
Run Program APNDroid (?)
Exit Task
Run Program APNDroid (?) (to toggle it back on, since it's not a setting here)
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
psych2l said:
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
Click to expand...
Click to collapse
I kind feel sorry for Locale Tasker has it 100x over, plus it can use Locale plugins.
I haven't done much digging, but... maybe someone could help me with this one:
I have the Samsung vibrant which does not have a hardware camera button. Would there be a way to use this app to remap the power button when in the camera.app to use it as the shutter button?
Thank you
Anyone else having force closes when trying to set backgrounds for app menus? Don't dig the bland menu background that comes stock in the app.
Great app except the fact it is using 1/4th of my battery for two profiles.
UrbanMuppet said:
Great app except the fact it is using 1/4th of my battery for two profiles.
Click to expand...
Click to collapse
You have something misconfigured or you have insanely good battery usage then. I have Tasker using the GPS every 10 minutes, uploading that GPS data to my website. It reminds me every 2 minutes of missed email, phone calls, sms... It goes speakerphone if I flip it on a call. It changes profiles for home, work, work meeting, running GPS in the car... I think I have a profile to wash the dishes too, but I'm waiting on an enhancement from Pent to make that one function.
Seriously, post on his forum with the exact context and task, I bet something is done wrong.
Man I still have difficulty trying to make Tasker do simple things because I'm not really savvy with such stuff...
I have been trying to get Tasker to automagically switch keyboards based on orientation for like a few days now, no luck. I want to have Swype when in portrait mode, and then a custom HiRes keyboard in landscape...
can anyone help with this or if someone has done it already, please lend some advice...
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
ImSoHungry said:
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
Click to expand...
Click to collapse
Been trying to a place where people dump their profile examples for the inept people who can't work out half the settings, like myself
Tasker works perfectly on my phone: HTC Desire, stock ROM, official Android 2.2 update
My profiles:
Profile: Running Navigation
Context: Application: Load app Sygic
Tasks:
- Misc: GPS ON
- Audio: Set Media Volume to max
- Display: Set Brightness to 200
- Set Speakerphone to ON
Profile: Silencing Hidden Caller-ID
Context: State: Incoming Call
Tasks:
- Audio: Set Ringer Volume to 0 - if %CNUM ~ 0
- Audio: Set Vibrate to OFF - if %CNUM ~0
Note: for the second profile, you need to use at least 1.0.6 beta 5 (%CNUM bug fixed).

Post your Tasker profiles

Tasker has made my antiquated Touch Pro2 feel like a whole new device, but I've been having trouble thinking of cool stuff to do with it on my infinity. So far, it just auto-triggers wifi when I enter relevant apps, and if I used gps much, I'd trigger that similarly. It's a small time and battery saver, but it isn't like it was that hard to manage wifi before.
Anyone create any cool profiles to make the infinity better?
I've got my first kinda cool tablet profile, care of pocketables. It requires autoremote. Just finished it last night and it works like a charm.
It allows me to set 4 (or as many as I want) alarms across both my phone and infinity by entering a single time. I've added a hook with tesla led and tasker that causes my tablet's flash to come on, and I set it open by my bedside so the light is pointed at me.
I've always set multiple alarms, and it's a ton quicker now. That link has an image that lays out the handheld's side of the recipe. On the tablet side, you have to accept the passover from autoremote (your handheld-side autoremote message should be alarm =:= %Alarm), use the same variable split and base 60 checker from the handheld side and set alarm. To get the lighting, I just set up a new profile to kick on the led when the system alarm goes off.
One weakness as is is that every alarm it sets on one device is the same. Set Alarm doesn't let you customize tons of features that most alarm apps have, it just forces you to use the default set up each time. I'm planning to replace one of them with a prealarm, a softer quieter alarm not designed to get me up, just to stir me a little before the others go off. It'll have to be based in tasker though, not in the traditional alarm area due to set alarm's limits.

Categories

Resources