Hi,
Is there any program or any way to catch user idle time, i,e., get the value of the idle timer counter for wm5/6 system?
Thanks!
For exapmle: uptimemeter or aebuttonplus
sthoeft said:
For exapmle: uptimemeter or aebuttonplus
Click to expand...
Click to collapse
-----
Thank you.
The above two softwares only show the uptime from the last softreset. What I mean is the counter the system uses to monitor users' activities and decides to switch off the backlight or suspend the device.
Hi there,
i searched for something like that, too.
If you can develop with C i can send you a library for that
Related
When I used a blackberry, it had an "auto-turnoff" function that would turn off the device from say 2am to 7am.
Is there a way to do this for windows mobile? CT scheduler looks promising but is for smartphones only.
Are there slick ways to already do this?
I know about setting an appointment and using an automatic profile, but I would prefer something less... dependent on my remembering to set my profile before I got to bed.
Thanks in advance for any help!
try this
it does what u wish.
Thanks! I have it loaded and will try it out. Few questions:
Does it need to remain in memory or can I close it?
Does it work with CDMA phones?
I will probably figure them out sooner or later.
krishan2207 said:
it does what u wish.
Click to expand...
Click to collapse
When I tried this app on my QTek 8500 (StrTrk) running WM6.1 Clean, it produced an error relating to Forms. Maybe it wasn't meant for WM6 or something. Does anyone know of a different, preferrablly free, program that I can use to set my phone to switch on/off the "phone" feature at certain times?
SPB Mobile Phone. It has it's own profile settings. You can choose to run it automatically on any specific time. It is not free though but very useful. It has a today plug-in with all the necessary icons to control the system.
Imagine...
You come back home (or arrive at work), your device connect to WiFi. Then, automatically, your device sends/receives emails, your weather program updates, xtra downloads it's data, whatever you set it up for. Now, I have to do it all myself, to avoid charges.
A few programs do it automatically when connected to WiFi but not enough of them. I would love to have it done for me. An application that would start predefined programs (such as xtra) and trigger certain events (user defined) upon connection to WiFi.
Is it possible? Anyone smart enough out there?
sabestian said:
Imagine...
You come back home (or arrive at work), your device connect to WiFi. Then, automatically, your device sends/receives emails, your weather program updates, xtra downloads it's data, whatever you set it up for. Now, I have to do it all myself, to avoid charges.
A few programs do it automatically when connected to WiFi but not enough of them. I would love to have it done for me. An application that would start predefined programs (such as xtra) and trigger certain events (user defined) upon connection to WiFi.
Is it possible? Anyone smart enough out there?
Click to expand...
Click to collapse
see this link or this link
ThreadMoved
@ nir36
I certainly don't want to "get myself in trouble" or do anything resulting in "Disciplinary Action" against me... I am a law obeying citizen, well, most of the time. Could you please move this thread Q&A to get me out of this pickle, please? Sorry for causing trouble.
@ Hammerz
Thanks for these. WifiLocations is a cool program but it does the opposite thing to what I thought about, actually. CommMgrPro... I will have to look into it closer but it seems to be an overkill and still not doing what is needed.
It should be: WiFi connecting should start predefined applications and or trigger certain actions within them. It should be universal, any location, any network. The point of it is to download as much needed data from the net to our devices as possible whenever the opportunity arises. For free, automatically and exactly what we need.
sabestian said:
@ nir36
I certainly don't want to "get myself in trouble" or do anything resulting in "Disciplinary Action" against me... I am a law obeying citizen, well, most of the time. Could you please move this thread Q&A to get me out of this pickle, please? Sorry for causing trouble.
@ Hammerz
Thanks for these. WifiLocations is a cool program but it does the opposite thing to what I thought about, actually. CommMgrPro... I will have to look into it closer but it seems to be an overkill and still not doing what is needed.
It should be: WiFi connecting should start predefined applications and or trigger certain actions within them. It should be universal, any location, any network. The point of it is to download as much needed data from the net to our devices as possible whenever the opportunity arises. For free, automatically and exactly what we need.
Click to expand...
Click to collapse
lol dude.. don't make fun of me
this is a regular format we use.
nir36 said:
lol dude.. don't make fun of me
this is a regular format we use.
Click to expand...
Click to collapse
Don't worry, I am far from a trouble maker. A few smileys haven't killed anyone yet! All the best.
Bumpity bump for the thread question/idea! I hate remembering to do it all, maybe I'm lazy, I don't know. And I always forget to update something. I should perhaps scribble a list of "to do on wifi connection" things on a yellow posted note and tape it to my device...
Hi everybody !
After a year of lurking, i've published my first app !
It's called Tick! and it's a simple timer but i've worked hard on making it easy to launch.
Since there is no wheel selector on the sdk, I've developed one to set the number of minutes wanted. With three clicks, you can launch a timer to remaind you that your pastas or your eggs are ready !
Your comments are welcome !
Since I'm new on the forum, I'm currently not allowed to post external links, so if you want to try it, search for Tick! on the market or SlideMe. I will put images, links and QR-Code as soon as i will be allowed !
RabugenTom
Nice app. Any plans on releasing the source
Any chance for an APK for those of us without data?
Nice
Good Work Buddy works perfectly on Xperia X10i
Thanks for the replies ! I've added the apk posted on the market.
I'm working on an improved version !
Agreed, Great work RabugenTom. Love the custom wheel selection.
Have to admit, though, I'm dying to have multiple timers. I'm not sure off the top of my head how they would fit in with your snazzy countdown timeline, but I'm sure it could be done.
+1 for release of the source
Love the app... Mightve been nice if it worked with 30sec increments as well but that might just be me, and there are other more robust timer apps for when you need that i guess.
One thing I noticed though... If the app is open and showing on the screen (IE - not in the background while working on something else or on one of the home screens), Tapping the app notification (in the notifications pane) will "reopen" the apps interface, and this can be done multiple times.
Basically you end up with multiple instances of the same timer... So if youre looking to go back to whatever was open before - home screen or other - by pressing the back button, youll just close the last instance you "opened" via the notification, taking you back to the previous instance of that same timer, and so on until you reach the first one that was opened when you started the app.
It doesnt seem to affect the functionality of the app in any way that ive seen, but it is rather odd.
Sort of like tapping the notification calls on the wrong "show" function, opening a new window rather than un-hiding the original.
Thanks for the feedbacks !
I'm working on an improved version with pause mode, multiple timers and 30s increments. I will maybe release the source later, after a lot of cleaning !
For the notifications, it's the behavior of android which works by intents. Theses are sort of messages send to applications. Intents depends on something they call Context. This is very powerful since you can launch (or do whatever you want to) an application in different ways, and the behavior of the application can depend on the intent. For example, when you launch an application from the launcher on the home screen, you actually send an intent to the application.
In the Tick! case, when you click on the notification, you send an intent to bring back to foreground (if hidden) or relaunch (if closed) the application GUI (which is different from the counting "engine" which is a background process called Service). The intent sent from the notification is different from the one you used to launch it, thats why it relaunch the GUI because the system thinks it is a different context (which is the case).
You can try it : launch from the launcher, launch a timer, go back to the home screen. Now, the GUI is no more in foreground. If you open the notification bar an click on the notification it will relaunch the GUI as expected, and if you continue to click on it again, it will do nothing (as expected). That's because the second time you launched the app, you did it by sending an intent from the notificiation bar, which is different from the one from the launcher.
Now, i don't find this behavior very annoying, and I don't want to write 100 lines of code to handle differents cases! A trivial solution may exist, but I'm too novice with Android to look at it. If someone knows this easy solution, it will be a pleasure to implement it !
Very nice timer. However I have found two problems:
1. When selecting the notification tone, "Default" plays my ringtone when previewing, but when used for real it plays the default notification sound instead.
2. I used Tick for a five minute countdown several hours ago, and afterwards I exited the program and cleared the notification, but it still prevented my phone from sleeping all these hours, draining the battery severely. I had to use a process killer to get my phone to sleep.
Do you really need to keep the phone from sleeping, even during the countdown? A timer is just an alarm with a countdown, and alarms work even when the phone is sleeping. You just have to update the progress every time the phone wakes up. Right?
Hi,
1-I will look on the notification problem. It is quite strange since it always worked for me. Note that the parameter are set for the notification at the launch of the counter. Every change you make will affect only new countdowns. When you exit the app, it always save the last parameters, even made during a countdown, and restore them at a relaunch. So it is strange, and since i've improved again the counting engine, I hope this will be solved in the coming release.
2-You're right, I've found conditions when the wake-lock is not released at the end of the countdown. It's set now. However, the wake-lock requested is partial and does only concern the CPU, not the screen. I've tested again your version on my unplugged G2 and it behave just well.
The CPU is required to fire an alarm even in sleep mode. Thats because i don't use the alarm service of the device which only check every new minute if there is something to do.
And when it's in sleep mode, only a tiny service is counting. The GUI is stopped and it's memory given back.
May I ask what model of phone you use?
RabugenTom said:
May I ask what model of phone you use?
Click to expand...
Click to collapse
I'm using an HTC Desire.
I've just added here (and on the market) the version 1.3 which resolves a lot of issues (for exemple, the service exits as soon as it's no more used, thanks to bugmenever) and adds a pause mode (long click on the button)
RabugenTom said:
Now, i don't find this behavior very annoying, and I don't want to write 100 lines of code to handle differents cases! A trivial solution may exist, but I'm too novice with Android to look at it. If someone knows this easy solution, it will be a pleasure to implement it !
Click to expand...
Click to collapse
im fairly certain there is something simple out there to handle this, but as opposed to you being novice with android, i have 0 experience programming for it. and youre right, its not THAT annoying, and certainly not worth most your work time at this point.
Happy to hear about all those plans though! look forward to seeing them in action
keep up the good work!
Hey guys, I got tasker a long while ago and only really gave it a chance a few days ago and I think I have the basics down
I feel like I'm doing things inefficiently, and I can't work out what the variables tab is for. My current proudest achievements are wifi on when home auto of when away, not using gps, and when headset plugged in volume up phone silent=off ect
I'm currently using 4 profiles crammed into a project just for turning mobile data on and off during work hours excluding my dinner hour, surely I'm doing this wrong?
I also have no idea how to set multiple contexts, eg, tasks based on the month, day and time all at once in one profile?
Any advice would be greatly appreciated by a lowly noob
Sent from my GT-N7000 using xda app-developers app
I also have no idea how to set multiple contexts, eg, tasks based on the month, day and time all at once in one profile?
Click to expand...
Click to collapse
first, make a profile with one context (maybe based on day in your case?). when it's done, long press on context and you will get an option to add new context (here you may want to add time). Same method applies for adding multiple tasks to one profile.
The task will be performed when all conditions are true.
Hi,
The guys at androidcentral suggested I ask you guys for help so here we go.
I have created an app (purely for personal use) which can be started and stopped by the user but otherwise has no user interaction. It monitors accellerometer and gps data, reacting to certain events, and communicates with the user only via SMS. It is currently running on an Alcatel 5003D (cheap and cheerful) which is permanently powered so the battery is always at 100%.
The problem is that after a few days (about 3) the app dies - I am guessing that Android kills it. How can I prevent this from happening? From what I have read the existence of a foreground process should do the trick. Can I have a process which does nothing or do I need to reconfigure the current app workload so that the foreground process does some useful work? Or is there another solution?
I am an experienced software engineer but my Android knowledge is limited to what I have taught myself in the past year. I started tinkering with Android at the start of the pandemic partly to produce something useful and partly out of interest, so I guess you have to say that I definitely fall into the amateur category - at least as far as Android is concerned. So, lots of learning/understanding still to do. I don't need explanations in words of one syllable but it might be better not to assume I understand all the terminology.
Regards.
Create an Android service that runs the Android app in question.
Look also here:
Android Services with Examples - Tutlane
Android services with examples. In android services are used to perform long-running operations in the background like playing music, etc. android service methods, android skeleton service
www.tutlane.com
jwoegerbauer said:
Create an Android service that runs the Android app in question.
Look also here:
Android Services with Examples - Tutlane
Android services with examples. In android services are used to perform long-running operations in the background like playing music, etc. android service methods, android skeleton service
www.tutlane.com
Click to expand...
Click to collapse
Hi,
Thanks for the link - looks like a bunch of useful info there. I'll go away and have a play. When I have something that works (or maybe doesn't) I'll let you know.
Regards.
tcs1752890 said:
Hi,
Thanks for the link - looks like a bunch of useful info there. I'll go away and have a play. When I have something that works (or maybe doesn't) I'll let you know.
Regards.
Click to expand...
Click to collapse
Hi All,
Well, I finally managed to produce an app which runs exactly as required with no user input - all I/O being via SMS. This runs beautifully for about 3-4 weeks, pinging me with a status via SMS daily, then throws up a message on screen which says "User interface not responding". The app is suspended at this point waiting for someone to tap "wait" or "stop". It seems to be a variable time the app runs before doing this - somewhere around 4-6 weeks.
Just as you think you have it licked Android stamps all over you again in its size 12 boots!
Any suggestions on how to subdue this beast?
Regards.