Android :: Proximity Alerts Not Fired
Oct 5, 2010
I'm trying to configure proximity alerts that will be feed from a Database and webservice provider; but I have a problem configuring a simple proximity alert for testing. I manage to create the alert but it never gets fired, I'm only trying in the emulator for now and donīt know if I need some extra code to trigger the alerts. I've read somewhere that the GPS provider to disabled so the network provider can be used in order to trigger the alerts on the emulator.
My code looks like this:...................
View 3 Replies
Nov 3, 2009
SDK: 1.6 Firmware Version: 1.5
I am trying to get an alert when I get to my home. But, it looks like I am not receiving the message. Googled around quite a bit, but to no avail. I am able to get the LocationListener to display my current location. But, proximityAlerts are not working. The problem might be with the setting up and receiving the broadcast messages.
Following is my code...
View 2 Replies
View Related
Aug 5, 2009
Can anyone post some sample code or point me to a tutorial on usage of GPS proximity alerts with PendingIntent?
View 2 Replies
View Related
Jul 19, 2010
Our app starts out with a tab activity. But, before the user can get into the tab activity to do work, we have to check to see if they're logged in. This login is required for all activities within the tab activity. So, instead of having this security check within all the activities, we created our own abstract "activity" and have the tab activities extending our custom activity. Our "security check" (just see if they have a login key and login token in Preferences) is put within the onResume() of the Abstract activity. If either of these checks come back false, we fire off the login activity and use dialog's within that screen.
(We're doing this because we don't want the user to be able to see the data on the tabs if they're not logged in, so this login activity is a black background with dialogs for username/password). The issue is, the onResume() of the abstract activity is being called numerous times, and starts the Login Activity multiple times. We've tried setting the "singleInstance" and singleTask flags on the xml for the login activity, but the activity ends up calling onActivityResult before it is even displayed on the screen.
View 2 Replies
View Related
Mar 19, 2010
I have an already built application and I want to add a feature that has to be started when a call ends.
How can I achieve that?
I thought that declaring in my manifest something like this
CODE:............
Could be enough, but what kind of intent I have to put on the filter?
Looking in the documentation I found only the intents that detects when a call is started.
View 2 Replies
View Related
Oct 16, 2010
I need to capture the absolute positions of some ImageViews to use as drop targets. I can't seem to find what event I need to put my code in to read the screen and get the Left(), Top() .. positions. I do not want monitor the inflation of each individual view. There must be some sort of onScreenFinsihed type of event, but I can't find it. onMeasure and onDraw seem to fire at the start of their work, I need to know when they are done.
View 1 Replies
View Related
May 10, 2010
Is there an intent that is fired when a user unlocks their screen? I want my app to adjust the brightness when the screen turns on, but the problem im running into is that the screen on intent is fired on the lock screen and it does not adjust the display on that screen.
View 1 Replies
View Related
Apr 15, 2010
In my desperation with trying to get LiveFolders working, I have tried the following in my LiveFolder ContentProvider:Which, in all normalness, should launch the Browser and display the Google homepage when clicking on an item in the LiveFolder. But it doesn't. It gives a Application is not installed on your phone error. No, I'm not defining a base intent for my LiveFolder.logcat says:I/ActivityManager( 74): Starting activity: Intent { act=android.intent.action.VIEW dat=Intent { act=android.intent.action.VIEW dat=http://www.google.com/ } flg=0x10000000 }It seems it embeds the Intent I give it in the data section of the actually fired Intent. Why is it doing this? I'm really starting to believe it's a platform bug.update: I have filed an issue and removed the LiveFolders feature. I will include it in my app when I'll get a response either here or there that clarifies this thing. If I get the time I think I'll upload a demo app to that issue. Update: I have received a notification that the bounty is expiring in 3 days. No one wants it? Update 04/25/2010: I have updated the issue on the Android project and uploaded a test application. It would be nice if someone could test this application on a device, maybe it's such a subtle problem that it only appears on the emulator.
View 2 Replies
View Related
Jun 3, 2010
I know how to setup an alarm to fire repeatedly, but the alarm stops firing after my application is killed.
How do I make sure the alarm continues to fire as it was setup?
View 2 Replies
View Related
Jun 29, 2010
Is there an app that will automatically trigger the loudspeaker when the phone isn't next to my head? Then revert to normal once the proximity sensor sees it's at my ear again?
View 7 Replies
View Related
Mar 4, 2009
I wrote a simple app that uses proximity alerts and after installing it on my G1 found that battery life have been halved at least. It's so bad that phone needs to be recharged mid-day or it completely dies by 9pm. There is no polling of any kind - just proximity alerts (3 of them). I tried with GPS turned off (using network triangulation for coarse GPS location) but battery life is still abysmal. Is there a general solution to improve battery life with proximity alerts or the whole GPS thing is a non-starter on G1s?
View 5 Replies
View Related
Jun 10, 2010
I am adding a proximity Alert with an expiration of -1 (does not expire). I am testing using an Evo. The proximity Alert fires several times after entering the location and staying inside the location. I was thinking that the proximity alert should fire once when you enter the location and fire once when you exit the location. Should the proximity alert fire multiple times after you enter the location and stay inside of the location?
View 2 Replies
View Related
Sep 21, 2009
I have an application that needs to turn on/off the screen using the proximity sensor like what most dialer applications do when a user is making a phone call. I cannot seem to find a way to turn on/off the screen at will.
View 2 Replies
View Related
Oct 19, 2010
I am trying to register to several proximity alerts. Here's an excerpt:................
View 3 Replies
View Related
Jun 14, 2010
I am trying to determine if an Android user has had a close proximity to a list of predetermined locations. I'd like to do this with the least amount of drain on the phone's battery. The two mechanisms I see for accomplishing this are proximity alerts and requesting location updates. What are the pros and cons of the two methods? Will one have less affect on the battery than the other? In either case I would guess the specific location manager used would have some affect power usage (existing Stack Overflow answer).
View 1 Replies
View Related
Jun 23, 2010
Where abouts is the sensor that detects if you are holding the phone up to your ear and dims the screen? Need to modify my wife's case (like what I did with her old iPhone case) as it doesnt turn the screen off, or if it does it doesnt turn it back on afterwards!
View 3 Replies
View Related
Jul 19, 2010
Why do we have a proximity sensor? Coming from Nokia phone, I not only don't understand it I don't like it.Can it be removed - disabled? How?
View 9 Replies
View Related
Jun 13, 2010
Is it even that big of a deal on the Hero, and is the app even useful?
View 10 Replies
View Related
May 21, 2010
I had real problems until with my phone until I loaded the proximity sensor. I had a little trouble getting it to work but when it did, it remedied the one thing that I disliked about the Hero. I loaded 2.1 yesterday and generally I like it EXCEPT I cannot get the proximity sensor app to work again. Has any one else had this issue? Suggestions?
View 14 Replies
View Related
Oct 24, 2010
Anyone still having problems with the black screen? Have downloaded and installed the ota update and if anything the problem is worse! Seems ok on incoming calls but if I make an outgoing call the screen goes blank and the only way to reactivate is to hit the power key. This is starting to sound like faulty hardware to me. I read that the ota update was supposed to sort this! Any advise would be appreciated as other than this really annoying problem the phone is great!
View 9 Replies
View Related
Jul 4, 2010
First of all, I love my Desire, but there's something bothering me that's been costing me some money and trouble: Whenever I accidentaly call someone, I press the back button thinking it hangs up the call. But then I realise it's still calling! So I try to bring up the notification bar, though whenever I try to place my finger near the top of the phone, it automatically turns of the screen. After 20 seconds of trying, I've already lost money and afterwards people call back or message me why I've been calling them. Anyone else had this problem yet?
View 3 Replies
View Related
May 25, 2010
Somehow I keep managing to hang up on calls/call other people during calls. The proximity sensor does work but i think I must inadvertently move the sensor away from the screen, activating the screen. Is there an app that requires the screen to be unlocked during a call when the screen re-activates?
View 16 Replies
View Related
Jun 28, 2010
I've searched the forums, and the xda forums and I haven't really been able to find a good answer on this If I root my phone is there an option/app that will let me disable the proximity sensor?
View 6 Replies
View Related
Aug 10, 2010
Is there any app, flag or something similar that can be used to bypass the proximity sensor in the HTC Legend? I mean something that makes the screen stay on all the time during a call, neglecting the proximity sensor, as if it is in the speaker mode (but without the speaker on, I don't like people listening my conversations.My problem is the proximity sensor not working. I purchased an unlocked Legend a month ago in the Manchester (UK) airport free shop. I live in Brazil and travel to USA frequently.The phone is under warranty, but for me is too far to send it to Europe for fixing (no maintenance for Legend in Brazil and even in USA, if I knew it I would never buy this thing.)When in a call, the screen and keys go off and there is no way to bring them back.The sensor seems to "think" that the phone is near my head all the time immediately after a call is made or received. Only way to bring the screen and keys back is soft reset even after the end of the call.I already tried all the typical solutions and I don't use any kind of cover over the device, and by comparison with one that works I am sure that there is a problem with the sensor. I just don't want to stay more than a month without the phone and spend nearly the same that I spent in the phone in transportation to send it for fixing, so if there is something just to bypass the sensor it will be much better for me.
View 1 Replies
View Related
Oct 17, 2010
"A LOT" of people with DHDs that have this problem...I don't buy it, but everyone to their own!
http://www.youtube.com/watch?v=recz23IyaJk
View 49 Replies
View Related
Mar 24, 2012
i'm having problems with my proximity sensor. in the middle of a call, the screen lights up suddenly even when i got the phone pressed hard against my ear. is there an app that can fix this issue?
View 1 Replies
View Related
Aug 12, 2010
Is there a way that a ROM could disable the proximity sensor during a call? I have a huge problem where I constantly hang up on people (usually my girlfriend) and that doesn't go very well . If its possible for the end buttonor volume button to wake the screen instead of the proximity, that would save me a lot of hassle. Is this doable, either standalone or through a rom setting?
View 1 Replies
View Related
Apr 3, 2010
It says everywhere that it does, but my screen never turns off when its close to my face. The black thing next to the earpiece should be the sensor, why doesn't it work? Does it have something to do with android 1.6 not supporting it?
View 9 Replies
View Related
Mar 20, 2010
I have been having this issue for quite some time, but just figures it was a bug in one of the BB roms I was using. Well, since then I have been through about 10 different versions of bugless beast, droid mod, and several others. My issue seems to be that when I make a phone call and put the phone next to my head, although the screen turns off, the touch is still activated.I will be in a call and I will feel the phone vibrate against my head. I usually hit the pound of star key on the phone, and as soon as buttons are pressed in a call, it seems to mute my voice to the person on the other side of the call. I have to remove the phone from my face, wait for the sensor to realize i moved my face, and have to press the backspace button till all the random characters are deleted at which point the person on the other side can hear me again. This happens to me on about 80% of my calls, and is by far the most frustrating issue I have had. Do you think I should re-install stock and bring it in? btw, I posted this in root sub-forum cause I am rooted, and wasn't sure if it was just a rom issue.
View 8 Replies
View Related
Apr 23, 2010
Is there any way to disable it? I put a body skin on it and its barely off center off but its enough to cover the sensor so when i'm in a call its constantly black and i can't do anything . I would just take the skin off and put it back on but i was stupid enough to put it over my invisible shield and im to paranoid to put any more water on my phone and wait another 24 hours. So is there anyway to disable it or do anything?
View 10 Replies
View Related