Related
Hi all,
How to switch on GPS programatically.
Thanks & Regards,
Dinesh
You can't do that other way than opening GPS settings. Security concerns.
Use SwitchPro widget, Luke
Thanks for your reply
o4kareg said:
Use SwitchPro widget, Luke
Click to expand...
Click to collapse
Hmm, are you sure it really enable/disable GPS directly? As I said I believe this isn't possible without some hacking, root access, etc. Just tried "GPS on/off" widget from the Market (because SwitchPro is paid app) and it does exactly what I said: it opens locations settings.
ok thanks for your reply.
I can Enable/Disable GPS directly. but i can't Enable/Disable GPS programatically.
dineshsubramanian said:
I can Enable/Disable GPS directly.
Click to expand...
Click to collapse
Using that SwitchPro widget?
Brut.all said:
Hmm, are you sure it really enable/disable GPS directly? As I said I believe this isn't possible without some hacking, root access, etc. Just tried "GPS on/off" widget from the Market (because SwitchPro is paid app) and it does exactly what I said: it opens locations settings.
Click to expand...
Click to collapse
I am sure, becaus I'm using this widget. Older versions just opened GPS settings, but latest one v1.6 turns GPS on/off directly.
o4kareg said:
I am sure, becaus I'm using this widget. Older versions just opened GPS settings, but latest one v1.6 turns GPS on/off directly.
Click to expand...
Click to collapse
Yes it does, doesn't appear to be using root either. It's possible it could be using an exploit though?
o4kareg said:
I am sure, becaus I'm using this widget. Older versions just opened GPS settings, but latest one v1.6 turns GPS on/off directly.
Click to expand...
Click to collapse
Maybe it requires root? Or some custom ROM? Unfortunately it's paid app and I won't pay for it just to check, how it works. I don't think it uses "clean" way to accomplish that.
Ok, it uses Power Control widget to set GPS status. This widget is a system app, so it has superpowers (can enable/disable GPS directly) and SwitchPro let him think, that someone has clicked on GPS button.
Of course this widget isn't in official Android API, it isn't integral part of Android system, so this may not work on some devices, some ROMs, may also break totally in the future. You could use same technique, but you shouldn't.
EDIT:
Ahh and seems this widget is a huge security hole. This should be fixed, I will create an issue in Android issue tracker, if there isn't one.
Brut.all said:
Ahh and seems this widget is a huge security hole. This should be fixed, I will create an issue in Android issue tracker, if there isn't one.
Click to expand...
Click to collapse
Ok, this is already in their issue tracker:
http://code.google.com/p/android/issues/detail?id=7890
Thought as much, the dev should really go back to the 'official' way IMO.
Is there still a way to do this ? Because on the issue tracker page they said it was already "fixed" (that means broken to me ).
I need to set auto turn on for GPS on a given time. Is that possible ?
grandioso said:
I need to set auto turn on for GPS on a given time. Is that possible ?
Click to expand...
Click to collapse
No. It's a feature, not a bug.
Feature of what ? Do you mean the android power management widget ?
If it's a feature, than it should still be possible to turn on GPS through it.
grandioso said:
Feature of what ? Do you mean the android power management widget ?
If it's a feature, than it should still be possible to turn on GPS through it.
Click to expand...
Click to collapse
It's safety concern. Google didn't give you a possibility to switch GPS purposely and only one reason, why you could do it, was that they made some security hole. Now they have fixed it, so you won't be able to switch GPS - at least without another bug ;-)
Hi androiest
How can google map start gps without going throught the settings activity ??
Can someone please walk me through enabling GPS on Tasker and Secure settings? I;'d like to do the Auto GPS toggling but it keeps telling me that Google locked? GPS since version 2.1? Help!!
Use titanium backup to make Tasker a system app, then it will be able to toggle gps
Sent from my HTC One XL using xda premium
Did that and it still doesn't work. Any other ideas?
gpo1956 said:
Did that and it still doesn't work. Any other ideas?
Click to expand...
Click to collapse
Sorry. I didn't actually test it when I answered your question...I know that for the Notification Toggles app, making it a system app will allow it to toggle your GPS. It seems that Tasker has a built in popup that doesn't allow GPS to be set based on your version of Android, as in it doesn't even let you attempt to see if it works. The popup does suggest downloading the "Secure Settings" plugin, link below. I have no experience with it but based on the reviews it seems to work.
https://play.google.com/store/apps/...pYmxlb2JqZWN0LnNlY3VyZXNldHRpbmdzLnBsdWdpbiJd
Edit: Just tested out Secure Settings and yeah, it works. Just download the helper app from within Secure Settings and you're good to go.
Thanks. I kept trying and trying to enable GPS and finally it let me do it. I'm rolling now!
Is there any known way to disable the CONSTANT notifications indicating that "WiFi Networks Are Available" or "You are Connected to [network name]"? These notifications are completely useless, because when are there ever not WiFi networks available? I also don't need a notification that I've connected to a trusted network... there is a WiFi icon for that exact purpose. Driving me nuts!
I just switched to the M8 after having a Galaxy Nexus running AOSP. On the Gnex, you could easily disable these notifications in the Advanced menu under WiFi settings. Did Verizon remove this ability for some reason?
they removed it a while back to encourage people to use wifi instead of 3/4g. As soon as we get s-off customs roms will start pouring in and they will definitely have the notification of.
btw, i'm thinking of moving from my gnex to the m8, what are your thoughts on the comparison? are you happy with the m8?
David 617 said:
they removed it a while back to encourage people to use wifi instead of 3/4g. As soon as we get s-off customs roms will start pouring in and they will definitely have the notification of.
btw, i'm thinking of moving from my gnex to the m8, what are your thoughts on the comparison? are you happy with the m8?
Click to expand...
Click to collapse
Well, this notification is "encouraging" me to just turn off WiFi altogether and just use my unlimited data plan full-time!
So far I like the M8. Sense interface definitely has a learning curve, but it does have a few nice added features like motion gestures. The M8 is lightning fast compared to the GNex!
bjamerican said:
Well, this notification is "encouraging" me to just turn off WiFi altogether and just use my unlimited data plan full-time!
So far I like the M8. Sense interface definitely has a learning curve, but it does have a few nice added features like motion gestures. The M8 is lightning fast compared to the GNex!
Click to expand...
Click to collapse
nice.
this should fix the notification problems. http://forum.xda-developers.com/showthread.php?t=1761900
---------- Post added at 10:32 PM ---------- Previous post was at 10:13 PM ----------
found the setting - http://dl.xda-developers.com/attach.../5/8/1/4/3/Screenshot_2014-03-29-21-12-24.png
"wifi_networks_availible_notfication_on" is set to '1'. flipping it to '0' will fix this.
David 617 said:
nice.
this should fix the notification problems. http://forum.xda-developers.com/showthread.php?t=1761900
---------- Post added at 10:32 PM ---------- Previous post was at 10:13 PM ----------
found the setting - http://dl.xda-developers.com/attach.../5/8/1/4/3/Screenshot_2014-03-29-21-12-24.png
"wifi_networks_availible_notfication_on" is set to '1'. flipping it to '0' will fix this.
Click to expand...
Click to collapse
Did it work for you? I can't find that string anywhere?
shojus said:
Did it work for you? I can't find that string anywhere?
Click to expand...
Click to collapse
i don't have the m8 yet, but theoretically should work.
follow my post here - http://forum.xda-developers.com/showpost.php?p=51490327&postcount=13 for general instructions to get into the settings database. then modify that value using an sqlEditor app
David 617 said:
i don't have the m8 yet, but theoretically should work.
follow my post here - http://forum.xda-developers.com/showpost.php?p=51490327&postcount=13 for general instructions to get into the settings database. then modify that value using an sqlEditor app
Click to expand...
Click to collapse
I found it and switched it to 0 and I'm still getting the notification after saving it and a reboot... I think it may be because of the temp-root method we have or else it's just not the correct setting? Oh well, it was worth a shot! Thanks!
shojus said:
I found it and switched it to 0 and I'm still getting the notification after saving it and a reboot... I think it may be because of the temp-root method we have or else it's just not the correct setting? Oh well, it was worth a shot! Thanks!
Click to expand...
Click to collapse
hmm.... there might be another setting somewhere else...
i don't think it has anything to do with the temp root. as long as the value gets changed it shouldn't matter how you were able to change it...
anyways, i'd keep poking around the settings to see if anything looks interesting.
David 617 said:
hmm.... there might be another setting somewhere else...
i don't think it has anything to do with the temp root. as long as the value gets changed it shouldn't matter how you were able to change it...
anyways, i'd keep poking around the settings to see if anything looks interesting.
Click to expand...
Click to collapse
Very true... Root method should not matter cause it's just required to edit the field. I'll mess around a little too and post back with any findings.
Thanks for the tip. I also found the setting in the "Global" section of the db. The changed setting survived after the reboot, but unfortunately it didn't disable the notifications.
I'm getting this too on the Verizon M8 - I just switched from a Galaxy S4, but I'm seriously considering returning the phone for this issue. Is there really no way to disable this without actually rooting or running a custom ROM? I cannot believe that I have to hit the clear button a dozen times a day to get rid of that annoying notification or turn off Wifi altogether. I also have the T-mobile OG One and never had this issue.
irwinm said:
I'm getting this too on the Verizon M8 - I just switched from a Galaxy S4, but I'm seriously considering returning the phone for this issue. Is there really no way to disable this without actually rooting or running a custom ROM? I cannot believe that I have to hit the clear button a dozen times a day to get rid of that annoying notification or turn off Wifi altogether. I also have the T-mobile OG One and never had this issue.
Click to expand...
Click to collapse
All Verizon phone's have started doing this. It is an added 'feature.'
Sent from my Nexus 10 using Tapatalk
David 617 said:
All Verizon phone's have started doing this. It is an added 'feature.'
Sent from my Nexus 10 using Tapatalk
Click to expand...
Click to collapse
I could turn it off in my Verizon GS4 - guess I will have to check on it in the GS5 before considering switching out again. I'm just going to turn off WiFi all the time in the meantime.
shojus said:
I found it and switched it to 0 and I'm still getting the notification after saving it and a reboot... I think it may be because of the temp-root method we have or else it's just not the correct setting? Oh well, it was worth a shot! Thanks!
Click to expand...
Click to collapse
It isn't going to work until we have a true root method. We don't have R/W access to anything but /system/xbin any changes you make aren't going to stick. Nothing can be written to any system files. Same reason we can't edit our build.prop or debloat our devices. Don't fret though, I am sure we will have a true root method available soon along with S-OFF.
bjamerican said:
Is there any known way to disable the CONSTANT notifications indicating that "WiFi Networks Are Available" or "You are Connected to [network name]"? These notifications are completely useless, because when are there ever not WiFi networks available? I also don't need a notification that I've connected to a trusted network... there is a WiFi icon for that exact purpose. Driving me nuts!
I just switched to the M8 after having a Galaxy Nexus running AOSP. On the Gnex, you could easily disable these notifications in the Advanced menu under WiFi settings. Did Verizon remove this ability for some reason?
Click to expand...
Click to collapse
The setting is there for me in the Advanced menu under Wi-Fi settings.. I unchecked it and have never seen the notification since.
xShin said:
The setting is there for me in the Advanced menu under Wi-Fi settings.. I unchecked it and have never seen the notification since.
Click to expand...
Click to collapse
What setting are you talking about? If you're talking about one to hide the notification in the Notification screen, I don't see any setting to disable that.
Let's be clear about what is there and not there - In the "advanced" menu in Wifi on the Verizon M8, there is a setting to uncheck called "notify me - when launching apps, notify me when WiFi is available" - that box is unchecked, but I still get the icon and message in the notification bar whenever I have Wifi on, but am not connected to one of my saved networks. It only prevents the notification from launching when opening apps.
However, on my M7, the setting is "Notify me when an open network is available" - on the M7 (t-mobile), when that box is unchecked, I never get a "wifi networks are available" when wifi is on (let's be honest, in LA or most major cities every square inch of the city has wifi networks available).
I don't have my Verizon GS4 handy but am pretty sure the menu option was to uncheck "notify me when wifi networks are available" because I never got those notifications.
Has anyone figured this out yet, especially since we are S-OFF now? I turned off anything that seemed like it might turn off the "Connected to" notification in either the secure or global tables but I still get it
Using NotifyClean with xposed to get rid of those annoying notifications.
filkbomb said:
Using NotifyClean with xposed to get rid of those annoying notifications.
Click to expand...
Click to collapse
+1 - this is what i did, simple to use. once it pops up, open the app, choose android system, and click on the wifi one to activate the disabling. reboot and you dont see it anymore.
I see the current thread about the recent update. But that thread is more about how to upgrade without losing root. Don't get me wrong, I'm interested of that is possible.
But I thought I'd start a thread about people's impressions of Lollipop on the S5. Pros and cons. Thanks for your input.
lol its a thread about the L update.. there currently isnt a way to upgrade without losing root so that is being worked on right now..
As far as the actual update, its a fresh change and everything they said itd be. Plain tw os lol
Sent from my SM-G900V using XDA Free mobile app
With several features of Lollipop not being included for the S5 release it feels to me like just a color change with a little different lock screen.
newmanx4 said:
With several features of Lollipop not being included for the S5 release it feels to me like just a color change with a little different lock screen.
Click to expand...
Click to collapse
Can those with the update possibly comment with which specific features are present and which are missing? I have heard rumors, seen "change logs", and seen some random posts here or there, but think it would be useful to the community to get a confirmed list of what is included and not included. If people can post in this thread of what they find or do not find, I can compile them into a simple list in this post. Thanks in advance!
I love the look of the new lock screen and want eclipse ROM to upgrade to 5.0 and have that. However, I saw that the 'trick' for the notification bar where you pull down once for notifications and twice for toggles like on nexus was not included which I'm upset about
xdnax said:
I love the look of the new lock screen and want eclipse ROM to upgrade to 5.0 and have that. However, I saw that the 'trick' for the notification bar where you pull down once for notifications and twice for toggles like on nexus was not included which I'm upset about
Click to expand...
Click to collapse
Is this left out because you can do the 2 finger pulldown to get quick toggles?
Ok guy's am I screwed since I took the Ota without preserving root?
I got the update yesterday, and so far so good. Battery life seems a tiny bit worse, but that may be because I've been putzing with the phone more. Will continue to monitor the battery life.
The Fingerprint lock screen is much better, and the fingerprint sensor seems to be more accurate, if that is possible.
With the new fingerprint screen, when I unlock, I get a short vibration (haptic feedback?- I am usually in vibrate mode). The phone did not do this before. Also, I get a vibration when I put it on the wireless charger. Again, this did not happen before. I can't figure out how to stop it, as I would prefer not to have these vibrations occur.
Other than some visual differences, these are the only issues I've come up with to date. If I could figure out how to eliminate the vibration when I unlock the phone or put it on the charger that would be great.
Anyone experiencing the GPS turning on every time you unlock the phone? for a second or so.
Kitkat is better and more stable as the daily driver.
Lollipop has more novelties but not better on performance.
Depends on what you prefer.
http://www.phonearena.com/news/7-reasons-why-Android-5.0-Lollipop-is-not-for-you-but-KitKat-probably-is_id65480
nddroidfan said:
Is this left out because you can do the 2 finger pulldown to get quick toggles?
Click to expand...
Click to collapse
This is a different quick settings menu that includes a flashlight toggle and data usage toggle among others. We did not get this feature.
---------- Post added at 11:40 AM ---------- Previous post was at 11:31 AM ----------
Features we did not get include...
Adding trusted devices in BT and NFC
Guest mode
Screen pinning
Quick settings
High contrast text mode
We did however get a knockoff game of Flappy Bird as an Easter egg.
newmanx4 said:
This is a different quick settings menu that includes a flashlight toggle and data usage toggle among others. We did not get this feature.
---------- Post added at 11:40 AM ---------- Previous post was at 11:31 AM ----------
Features we did not get include...
Adding trusted devices in BT and NFC
Guest mode
Screen pinning
Quick settings
High contrast text mode
We did however get a knockoff game of Flappy Bird as an Easter egg.
Click to expand...
Click to collapse
The one I'm most curious about is ambient display, since we have the AMOLED screen. Any sign of it?
xdnax said:
I love the look of the new lock screen and want eclipse ROM to upgrade to 5.0 and have that. However, I saw that the 'trick' for the notification bar where you pull down once for notifications and twice for toggles like on nexus was not included which I'm upset about
Click to expand...
Click to collapse
Really? I HATE that double pull-down on my Nexus 6...
---------- Post added at 11:24 AM ---------- Previous post was at 11:22 AM ----------
newmanx4 said:
This is a different quick settings menu that includes a flashlight toggle and data usage toggle among others. We did not get this feature.
---------- Post added at 11:40 AM ---------- Previous post was at 11:31 AM ----------
Features we did not get include...
Adding trusted devices in BT and NFC
Guest mode
Screen pinning
Quick settings
High contrast text mode
We did however get a knockoff game of Flappy Bird as an Easter egg.
Click to expand...
Click to collapse
Trusted devices works fine, and was included - just has to be turned on in settings, at it is off by default. I'm using it right now.
newmanx4 said:
This is a different quick settings menu that includes a flashlight toggle and data usage toggle among others. We did not get this feature.
---------- Post added at 11:40 AM ---------- Previous post was at 11:31 AM ----------
Features we did not get include...
Adding trusted devices in BT and NFC
Guest mode
Screen pinning
Quick settings
High contrast text mode
We did however get a knockoff game of Flappy Bird as an Easter egg.
Click to expand...
Click to collapse
JasonJoel said:
Really? I HATE that double pull-down on my Nexus 6...
---------- Post added at 11:24 AM ---------- Previous post was at 11:22 AM ----------
Trusted devices works fine, and was included - just has to be turned on in settings, at it is off by default. I'm using it right now.
Click to expand...
Click to collapse
+1 for the Trusted Devices, I am also using it right now with my Gear Live.
Turn it on at Settings -> Security -> Trust Agents -> Smart Lock; then back up one level and a new Smart Lock option will be available which allows you to add Trusted Devices and Trusted Places. It may not show up if a secure lock screen is not enabled.
So I got Lollipop now....and there is definitely one thing that is absolutely horrible! This is also confirmed to be wide-spread (not just S5).
Now, When you put your phone to silent/mute, you will NOT GET LED light NOTIFICATIONS. Period.
Only way to get LED light notifications is while phone is in Sound/Vibrate mode. This is severely sad and many people are expressing their opinions about this across all Lollipop devices. Using some 3rd Party App (LightFlow) as a workaround is not a real solution either.
torr310 said:
Kitkat is better and more stable as the daily driver.
Lollipop has more novelties but not better on performance.
Depends on what you prefer.
http://www.phonearena.com/news/7-re...is-not-for-you-but-KitKat-probably-is_id65480
Click to expand...
Click to collapse
and this is just someones opinion.. i for one will take L over kk anyday and performance is great imo
Sent from my SM-G900V using XDA Free mobile app
gerland said:
Ok guy's am I screwed since I took the Ota without preserving root?
Click to expand...
Click to collapse
No, you can flash a stock tar, boot to recovery, full wipe, reroot following the old ncg instructions, and then follow the guide in general on flashing the rooted rom for OA8 from nk2.
JohnKuczek said:
+1 for the Trusted Devices, I am also using it right now with my Gear Live.
Turn it on at Settings -> Security -> Trust Agents -> Smart Lock; then back up one level and a new Smart Lock option will be available which allows you to add Trusted Devices and Trusted Places. It may not show up if a secure lock screen is not enabled.
Click to expand...
Click to collapse
Glad you found that. That's not exactly where the android site said to find it.
You guys think that any devs/ROM creators will be able to add features like the new google notification panels and stuff and get rid of the TW stuff? Nitro has already created an older AOSP ROM that is brilliant so I'm curious if devs will try to emulate a ROM based off of the newest 5.0 Google
dsmendiola said:
Anyone experiencing the GPS turning on every time you unlock the phone? for a second or so.
Click to expand...
Click to collapse
Yes. I have two S5 and this happens on my wife's. Mine does not do this. So far I have not found what is causing this.
Hello,
hey guys i have proebleme from 2 days i don't see or find the data icon on toogle area of my
SG6.
thank you.
ps: it's rooted.
There already is a few threads about the issue and no fix yet.
Same trouble here
I am having the exactly same problem.
Solution: Add Mobile Data toggle by adding EXACTLY (minus the ") "MobileData;" to sqlite editdor.. Settings Storage-->SettingsDB-->search "notification" and add "MobileData;" to the two quick toggle fields
Require an SQLite Editing app such as this: https://play.google.com/store/apps/d...ware.sqleditor
All credits to @JoeFCaputo113
This worked, thanks everyone. Any clue about why this happened?
How can i fix it if i dont have root in my phone?:crying:
My Data and hotspot toggles have dissappeared as well. I made the settings.db edit a long time ago. It was there this morning but is gone now. The only thing I can think of would be the recent RAM management settings in build.prop. I will disable them now for test will respond soon
edit:
Reverting DHA made no difference. I miss my data and hotspot toggle. Someone please help.
Thoth33 said:
My Data and hotspot toggles have dissappeared as well. I made the settings.db edit a long time ago. It was there this morning but is gone now. The only thing I can think of would be the recent RAM management settings in build.prop. I will disable them now for test will respond soon
edit:
Reverting DHA made no difference. I miss my data and hotspot toggle. Someone please help.
Click to expand...
Click to collapse
Not only the data toggle but others.. :/ have a look
Missing ones are Data Mobile, Mobile Hotspot and Private Mode
Private mode gone for me too. :/ I had just got it working too. Maybe it is something we all have in common? Did you do DHA edit? Whats your model number? I am 920P
---------- Post added at 04:37 AM ---------- Previous post was at 04:13 AM ----------
Great news! I was able to fix this with Galaxy tools.
Thoth33 said:
Private mode gone for me too. :/ I had just got it working too. Maybe it is something we all have in common? Did you do DHA edit? Whats your model number? I am 920P
---------- Post added at 04:37 AM ---------- Previous post was at 04:13 AM ----------
Great news! I was able to fix this with Galaxy tools.
Click to expand...
Click to collapse
No, i didnt do anything to my phone lol.. mine is a 925I Stock:crying:
Download Galaxy Tools here
http://forum.xda-developers.com/not.../app-one-click-hotspot-enabler-menus-t2816159
Use the Enable all Quick Toggles option for toggles back.
Thoth33 said:
Download Galaxy Tools here
http://forum.xda-developers.com/not.../app-one-click-hotspot-enabler-menus-t2816159
Use the Enable all Quick Toggles option for toggles back.
Click to expand...
Click to collapse
This requires root or doesnt? bcuz i cant root without losing my warranty if required then i need a workaround lol
okay it's working with the galaxy tools now i have all and some toogles from s4 & s5 but i have the toogle were was lost thanks guys.
by the way how can i manage them if there are no usefull?
I'm also experiencing the same issue starting from this morning. I've no root. It could be an update issue.
The same happened to me a few hours ago. Stock international s6 with ota update installed.
Same on my galaxy s6 edge
Without touching anything the data toggle dissappear with few others
Rrrrrr
Epion93 said:
Hello,
hey guys i have proebleme from 2 days i don't see or find the data icon on toogle area of my
SG6.
thank you.
ps: it's rooted.
Click to expand...
Click to collapse
Rooted or not, the issue is very much real and confirmed by Samsung - http://bit.ly/s6-data-toggle
A temporary fix is available.