Ok... I think i need some help here. I wrote an app that would screen save and trap all the keys (even the red and green phone keys). I did this according to the following post.
http://www.xda-developers.com/forum/viewtopic.php?t=3665
Then i wrote some tapi stuff to listen for an incoming call and restart cprog.exe after the first ring. Only problem is, cprog.exe seems to need the LINEDEVSTATE_NUMCALLS (0x0800) notification or it will not log the call as missed. It can never get that notification, cause that is the first thing i can trigger off of. So... cprog.exe does not log the call as missed. If i answer the call, then it is logged...
I was hoping i could do one of the following:
1. Write the missed call to the log myself.
2. find a way to trap the keys without killing cprog.exe
3. Fake a LINEDEVSTATE_NUMCALLS (0x0800) dev state change message to cprog.exe
or worse case (which i don't like at all)
4. Keep my own call log which means i will have to write my own call log app.
or even worse still...
5. Just be happy with the screen saved, but the keys unlocked and hope that i don't make 3 hour "prank" calls of me singing along in the car to the radio on some friend's voice mail.
Any help here would be greatly appreciated. Also, if anyone needs to see the code that i used to detect the ringing and stuff... let me know... i can post it up.
thanks,
John
Being as you know you missed the call, you could just put the relevant information into the call log database.
Thanks... i didn't realize that existed, but i figured something was there like that.
Unfortunately for this app... but fortunately for everything else, i upgraded to WM2003... so now, i don't need this as much because the now the GPRS stays connected even in suspend mode (which locks the keys).
It also seems that 2003 behaves differently with respect to screen power. It seems 2003 automatically turns screen power back on in the event of a window focus change... so my app needs to be rethought now.
thanks for the help,
John
Hi John
Did you ever find how to add/insert your call into the log?
It seems that ther is no API to do it (there is an API to query the log...).
Any thoughts?
Related
I'm using an XDA2i with WM2003SE, though I thought that this would also be a poignant issue for those with XDA2's etc.
I have my device set so that when I press the power button it is effectively a keylock. The screen goes blank and doesn't respond to any input, neither do the buttons. This is a normal setting, not an external program or whatever.
However, when I receive a message or a call, the screen/buttonlock comes off allowing all manner of things to happen whilst the device is in my pocket. I must say this is particularly annoying when I have it on silent mode...
What I was wondering is if there's a way I can stop it doing this? I have found myself connected to MSN, launching applications, and various other things that have cost me time and money just because the screen/buttonlock won't stay on when I have someone contact me in any way.
So, can I prevent this happening at all?
Thanks.
earlier such was?
What?
EXACTLY the same problem
yeah i have a similar problem im looking for some software that means it wont unlock unless i press power
because im pulling my hair out over this one
does any one know of some work around?
flightmode is the only thing i can think
off
doubt there would be a big demand for that feature
anyway
as a rule people want to be notifided that their device is ringing
and want to be able to answer the call
by pressing the pickup button
one can put a password on the device if one dont wish it to
go to today screen when it wakes up ringing
oh yes i want to know its happening its just i don't want it to answer and dial 3 other people before it reaches the top of my pocket
other phones dont unlock them selves when they recieve texts
its just if i don't feel it vibrate it doesn't stay locked or lock after the ringer gives up it then remains unlocked and free to do what the pockets desire
as i said having a password on the device
is a workaround
it's also a way to keep private data safe if it's stolen
yeah fair enough i just tried that and it doesn't ask for the password once it wakes up, Oh and i certainly appreciate the help rudegar
i have been eyeing up devicelock thats on some threads but that wont install on my blueangel
what we need is, the device not to unlock because of a txt or message, and to relock after a call disconnect
that seams to be the only annoying thing about this phone other wise its great and i love the still active communities
alright i may have found soemthing
http://www.modaco.com/Key-screen-lock-PPC-t204979.html&st=60
they were developing this program due to them being equally frustrated
the guy pocketmax came up with a program called screenguard i will be testing it over the next few days
and tonight ill let you know how it goes
odd i have my password timeout at 0
and sure i can asnwer a call without putting in the password
but it never leave the password screen
and i can see the clock and sms noti icon and such
but i can never get passed the password screen
of cause the password would be useless for data proction if that was not the case
hello xda community
i'm very new to the blackstone and this is my first post here. so please bear with me if i'm asking very basic questions here.
my problem:
i carry my blackstone in my pocket all the time. and many people told me throughout the last days that they called me and that i picked up the call by accident.
since i work at customer sites mostly my phone is muted. so people call me and somehow i pickup the calls while the phone is in my pocket.
i always turn of the screen and i have the automatic lock (password protection) enabled. still when the incoming call screen comes up it looks like it is possible that calls are being picked up.
i know there is the slide which has to be moved to the left in order to pickup calls.
i have tried myself by calling my from my home phone and touching the screen and the buttons at random. and indeed the calls are being picked up. i was not able to find out how this is happening ... but it does.
so is there any setting i can change or any additional piece of software i can install to make sure calls are only answered when i want?
possible a reg key i need to change?
any help is very much appreciated
cheers
This isn't just a problem with the Blackstone; every WM phone I have had does this. I have found that a good locking program handles this quie well. I personally like S2U2 by A_C, but there are many others available. You can look in the apps forum, or check the development & hacking forum from the main menu.
The other thing to check is that you have all your notifcations set properly. I set all of mine to vibrate only. Many of them turn on the screen by default. Unfortunately this won't fix the problem on its' own though.
mwelch16 ... thank you very much for the reply
i will give it a try and see how it works for me.
so that means first of all i will have to slide that iphone type of lock and then take the call by using the regular slider?
is there any other way (without) an additional piece of software to handle this? cause after all there is the build in slider ... but somehow it's not working as it is supposed to. any enhancement to that?
thanks again
Is there a way how to disable the CALL PICKUP button which is on the left? so the first of the four buttons?
I think it's because it getting pressed while my phone is in the pocket.
thanks a lot
I use Pocket Shield - it's not free (free to try though) but it's worked well for me
tibor78 said:
mwelch16 ... thank you very much for the reply
i will give it a try and see how it works for me.
so that means first of all i will have to slide that iphone type of lock and then take the call by using the regular slider?
is there any other way (without) an additional piece of software to handle this? cause after all there is the build in slider ... but somehow it's not working as it is supposed to. any enhancement to that?
thanks again
Click to expand...
Click to collapse
No, S2U2 will unlock itself for a phone call and then lock the phone again after the call. So no need to slide to unlock and then answer your phone. It has a bunch of different settings, and yes I believe it locks the hard buttons.
thanks folks for the replies
i found all the settings i was looking for in the S2U2 options. so i'm good right now.
thanks again
You're probably answering the call by pressing the "phone" button (the very left of the four buttons on the bottom). You can either use those buttons to answer/hang up, or the on screen slider.
I've used AE Button Plus to disable the 'Answer' and 'End' hardware keys and re-mapped them to turn wifi and bluetooth off and on. This way there is no chance of hanging up on a call by mistake since you need to use the slide to answer on screen.
Similar but opposite problem
I'm having a problem along the same lines. If I get a call when the phone is in my pocket and answer it on my bluetooth headset, when the call ends the phone then rings someone else, usually the same person who is at the top of my contacts list. Not only is this damned annoying for me, it's getting a bit tedious for the person getting the unwanted calls.
Is there any way to get the phone to immediately lock as soon as a call terminates to prevent this happening? I'm assuming that once the call ends and it returns to the default contact/dial pad screen, the merest brush against the screen will be enough to start a new call.
I'm beginning to think I should have stuck with my iPhone
CreepinJesus said:
You're probably answering the call by pressing the "phone" button (the very left of the four buttons on the bottom). You can either use those buttons to answer/hang up, or the on screen slider.
Click to expand...
Click to collapse
I've the exact same problem, 3/4 of the incoming calls rejected when I get the phone out of my pocket due to End button accidentally pressed.
What did they thought when they implement the slide to answer ????
The purpose of the slide to answer is to avoid such accident, but why the hell did they keep the Answer / End buttons active ????? total non sense to me.
Will check if this AE Button + app can solve this annoying behaviour.
has anyone tried Lockmelite?
It may help - haven't used it myself though.
x 2 for PocketShield. It uses the light sensor in your phone to prevent the touchscreen from activating when the device is inside, say, a pouch, or in your pocket.
I'm using evaluation version 2.6.2.10, which as I understand it, has full functionality, except that every now and then, randomly (and IMO infrequently enough to not be annoying) before unlocking it displays a 10 second message saying that you're using an evaluation version. Note that this *never* happens during an incoming phone call. Good stuff.
Hi,
Try TouchLockPro :
http://forum.xda-developers.com/showthread.php?t=444215
Now it handle light unlock in any cases, that as solved all my issues (pocket, in cas BT,...) and fulfill all my requirements.
BR
Pocket Shield doing perfect job for me
I use AE Buttons Plus to disable the "Answer" & "End" virtual buttons. Then I used iconsoft Phonext to handle all my calling functionalities. When a call comes in, Phonext display a lock screen which you have to slide before it presents you with all the options like answer, decline, silence etc.
This way, I never accidentally pickup a call or dial a number.
I think its a software bug... Its really annoying if someone calls me and I cant accept the call My ringtone just keeps ringing and I just can stupidly look on the screen without answering :S I push the green "answer" button but the call doesnt accept. I neither can use the red "ignore" button. This problem gets solved with a reset but happends again after a short time.
Is there any solution for this´? Is there any possibility to accept the call trough the touchscreen?
Please help me I am really desperate!!!
Thanks in advanche.
Uhhmm.....i guess you know that you have to 'slide' the button to the green field if you wanna answer...not 'push' the green spot.
Anyways...you can also use the (physical) buttons of the phone to answer or disconnect.
I think you missunderstood me. I actually mean the physical buttons! They arent working anykind. Normally if I press the green "dial/answer" button the dialer application appears right? But it dont! After software resetting it does again somehow for short time. And if I get a call then I press the physical button but the call doesnt accept. It just keeps ringing further. There is no chance to accept the call. And there is no option to accept the call trough the touchscreen.
Indeed, i misunderstood..sorry!!
If the buttons didn't work at all, i would be thinking of a hardware problem, but since you can solve it for a short while with a soft reset.....i'm not so sure of that.
You still have the option of a hard reset, you could give it a shot, just to be sure(Remember to back up your stuff ).
Otherwise send it in for warranty...presuming you still have it.
Thanks for the reply!
I dont think its a hardware problem because the buttons are working again somehow after a software reset. But the problem happens again some time later
Sending it to warranty is no choice since I always got trouble with my warranty!
My old touch had an software problem and couldnt boot so i send it to the warranty and they just send it me back with no repairs claiming that the warranty gets lost if I connect my device with a computer :S
Anyway i hope there is a solution without hardware resetting
Just a thought....
Did you install any locking software which locks the device fully? It may be the one preventing you from answering calls...
HTH...
No I didnt install anything kinda like that. Is there a dialer replacement I could use instead?
I have also noticed this bug on my Jade running the official 2.32 update from HTC:
When a cal is received, the phone rings but it doesn't display who is calling (the device keeps showing the home screen). This is not happening at every call, but I can't find what is causing this behaviour (it happens even after hard reset, so no additional programs running in the background).
Any ideas how to overcome this?
When phone is in standby:
1. Incoming call
2. I answer - quiet! Time counter go on, but I can't hear caller and caller can't hear me. Push "End Call" button.
3. Screen and keys not respond! Can't be switched off. The whole phone locks up.
4. I have to remove back cover and soft reset!!!
I have Htc Rom 1.66.
Can anybody else report if they have or had this problem?
Did anybody find a solution?
My phone has been in by HTC already 3 times for repair!!! They keep sending it back saying that problem is solved, but it's not!!!
You could be having notification queue issues. Try the solution in the thread "HD2 died- or did it" and see if that works for you.
WB
I don't think its a queue issue because this happens even after a hard reset.
Could it be that some program corrupts Rom so that the problem even happens after Hard reset?
I doubt it. However it is just as likely that you may have installed a piece of software that is, how shall we say, not behaving itself properly.
If I were you I would hard reset (backup your data first) then install your contacts. If you can, use the phone for a day or so without anything else loaded and see what happens.
I would not dismiss the notification queue issue at all. Causes more hassle in winmobile than anything else I know!
Let us know how you get on.
WB
This happens even after a hard reset and no software no contacts no alarms and nothing in calendar.
I know that its not hardware problem because when I make call or if I answer call when not in standby, then phone behaves normally and doesn't lock up.
I had that problem aswell, I´m using a Danish ROM, and had Co0kiemonsters version with 20 quicklinks installed. After I removed that program it worked without any probs.
Remove all programs U have on Your phone or Re install/upgrade that´s faster than removing the progs.
Instal those programs U had before your problems started. and test what might not work with your ROM
locks during call
Mine has started doing the same thing - locking during an incoming call or I can't disconnect after making a call unless I soft resent. The only think I have added recentently is HD2 tweak
Seems that whenever I disconnect a phone call, the call log is automatically displayed. Other phones I've used return you to the home screen when disconnecting a phone call. Why would I need to view the call log after hanging up (I know who I just talked to so why would I need to see it...). I know it's easy to press the button to close the log but this is just one of those little quirks I find annoying.
Is there a setting I'm missing to return to the home screen when a call is finished?
Thanks for any help.
Stock Nexus 4 on 4.2.1
I dunno... I kinda like it staying in the phone app. And it kind of makes sense if you're disconnected and need to call back (or need to make another call and get back to that person).
I have no idea why anyone ever thought that was a good idea, but there's an app to fix that. I've used it on all my Android phones, and it works well.
ltassos said:
Seems that whenever I disconnect a phone call, the call log is automatically displayed. Other phones I've used return you to the home screen when disconnecting a phone call. Why would I need to view the call log after hanging up (I know who I just talked to so why would I need to see it...). I know it's easy to press the button to close the log but this is just one of those little quirks I find annoying.
Is there a setting I'm missing to return to the home screen when a call is finished?
Thanks for any help.
Stock Nexus 4 on 4.2.1
Click to expand...
Click to collapse
Just for info: Some Custom ROMs have a setting in the dialer app to exit after the call instead of going to the call log. I don't know why anyone would want that either...
Thanks to all for the replies. I ended up creating a Tasker profile to take it back to the home screen upon ending a phone call. (works great).
Probably in case of dropped calls? I can see that being the reason.