Related
OK..Hope this is the proper place to post this...
I am horrible at remembering to charge my phone, thus I don't keep GPS on at all time because of battery drain. However, I find it frustrating that every time I start Google maps that I have to enable the GPS. It seems to me that there should be a function built into that app which would enable the user to have it automagically enable the GPS reciever on the apps start up. To my knowledge this isn't possible but I feel it would be very useful. So, does anyone know how one would achieve this? Would it be possible to write a script that would accomplish this?
Thanks in advance for the input.
Menu button, Settings, Security & Location, set "Enable GPS satelites"
if you enable gps it wont actually turn on until you open google maps or a location based program (you will see a satellite dish at the top letting you know if it is on). the gps setting basically just tells the phone if a program requests gps location it is okay to turn the gps antenna on.
otherwise its off and battery doesn't get affected
Thanks...
Hey dk75 & averma, thanks for the posts. I should really read the fine print on some of these menu options prior to asking these questions...oops!
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
pbecks1963 said:
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
Click to expand...
Click to collapse
Try looking up "Locale" on the market. App isn't free, but most of the plugins for it are, and you can combine the functions of the plugins to do almost anything.
I use it for exactly what you're talking about myself.
Google Maps doesn't Auto-start GPS
Hi all,
I know this thread is pretty old but hoping for a reply all the same. I'm using the Galaxy S in the Uk with Google Maps & Navigation. I used to have the HTC HERO running maps & navigation and whenever I started either of those apps, the little atenna would appear to show that it was trying to find a gps position.
However, on my Galaxy S, whenever I start Maps or Navigation nothing happens. Even though I have "use wireless networks" and "use GPS satallites" both checked.
I cant imagine that technology would have taken a step back from such a useful feature and it is really irritating having to remember to disable/enable GPS (using SwitchPro home screen widget) before being able to use Maps or Navigation.
Anyone have any ideas how to fix this??
Install Tasker app and create a profile that enables GPS when you run Maps app.
tasker
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
[TUT] Enable GPS automatically for Maps
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
the power of automation
capaxdoli said:
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
Thank you for your post, I wouldn't be able to do it without you man!
I have a question. I'm using LBE security master which monitor my firewall, wifi, adware, etc. is there a way for tasker to check in LBE firewall and toggle my wifi/data when I want it? instead of creating a new profile for ON/OFF wifi. I just want it to look in my app and see what app has permission to what and allow/un-allow.
Thanks again!
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
Yes is does autostart if you want with tasker..
Verstuurd van mijn GT-I9000 met Tapatalk
You can use the "Auto-Enable GPS for Maps" application, which switches both WiFi and GPS on when you launch Maps, Navigation, Local or Latitude, and restores them to their old state (e.g. switched off) when you quit these apps.
capaxdoli said:
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
How to enable the location settings along with the GPS ON task?
In the past we were able to get to our GPS settings by opening dialer and dialing the following number. This will not call anyone - it is a code shortcut to the settings:
*#*#1472365#*#*
However, under Froyo 2.2 rooted with SU access, I am unable to get to LBSTESTMODE
I am having issues with my GPS not locking, it started after I rooted the Froyo. I was informed rooting is not what caused the problem in another thread....so been googling to fix the issue and ran into the old code above
Please advice
Regards
There is an app in the market called lbstestmode that works. The dial pad # to enter lbstestmode disappeared in jh7 and was still missing in ji6.
When I go to the market, the app is unavailable to me. I then went to the apps website and tried to get it to download using the samsung captivate browser but it kicked me back to same thing on the Apps Market
So, I am thinking is it possible somewhere in process of my upgrading and rooting the phone got locked accidently since I am new to the whole process of understanding development? (I have superuser access and ability to eliminate apps using titanium back up so its more of an elimination of issues question)
Regards
dayv said:
There is an app in the market called lbstestmode that works. The dial pad # to enter lbstestmode disappeared in jh7 and was still missing in ji6.
Click to expand...
Click to collapse
If you mean LbsTestModeLaunch, this was actually removed per Samsung's request.
As an alternative, you can download "Any Cut" from the Market, then create an activity shortcut for LbsTestMode.
aloant said:
If you mean LbsTestModeLaunch, this was actually removed per Samsung's request.
As an alternative, you can download "Any Cut" from the Market, then create an activity shortcut for LbsTestMode.
Click to expand...
Click to collapse
Thank You for your response
I was able to download the app. Would you please share or link how to create " a activity shortcut" for LbsTest Mode?
I am new to the whole process and dont want to create incidental problems for myself
Regards,
Roism said:
Thank You for your response
I was able to download the app. Would you please share or link how to create " a activity shortcut" for LbsTest Mode?
I am new to the whole process and dont want to create incidental problems for myself
Regards,
Click to expand...
Click to collapse
There seems to be 2 "Any Cut" apps - to be clear, the one I'm using is by "Jeff Hamilton."
In Any Cut, select New Shortcut, then Activity. It may take a while to load... Scroll and find LbsTestMode, then tap OK. You should now have a shortcut in your home screen.
aloant said:
There seems to be 2 "Any Cut" apps - to be clear, the one I'm using is by "Jeff Hamilton."
In Any Cut, select New Shortcut, then Activity. It may take a while to load... Scroll and find LbsTestMode, then tap OK. You should now have a shortcut in your home screen.
Click to expand...
Click to collapse
Thank you for your response. You have lit a path to enlightment for me ;-)
I found and created it. I will post my ability to resolve my GPS issue in next 24 hrs as I am now few beers down......with Oakland Raiders having a close game with San Diego Chargers.....
Regards,
So I was able to access the LbsTestMode based on instruction given and was able to fo through the following steps of "old instructions" that I was able to google......pasted below
•Step 1 -- Open menu > settings > Location & Security. Uncheck the box next to "Use Wireless Networks"
•Step 2 --follow the procedure in the "advice posted in comments above"
•Step 3 -- In the LBSTestMode menu, press “Application Settings” and change “Operation Mode” to “MS Based.”
•Step 4 -- In the LBSTestMode menu, find “SUPL/CP Settings” and change the SERVER & PORT to supl.google.com and port 7276 (DO NOT use www. in front of supl !)
•Step 5 -- Reboot your phone.
•Step 6 -- Open menu > settings > Location & Security. Check the box next to "Use Wireless Networks"
After follwing the steps above still no go? I used an app called GPS test to verify my location
Please advice
Regards,
Turn off SUPL Secure Socket as well. I am using AGPS Mode Control Plane. I've used both, this is where I've set it of late. Also, run the Get Position Test and see if it can lock on a position. Try to do this where you'll get a strong signal from many satellites (i.e., outside). Then leave LbsTestMode running, hit Home and open Maps. See if it can find your location. It should locate you assuming you got a good lock in LBSTestMode.
I've been openingLBSTestMode first and I leave it running in the background and then open Navigation. I haven't yet determined whether this has an actual benefit, is just a habit I don't want to break, or my own superstition, but that's what I do. There was discussion that some of the LbsTestMode settings don't persist after closing LbsTestMode, so this is one way to make sure the settings remain active.
The code in froyo is *#*#3214789650#*#*
this code doesn't seem to be disseminated too widely on the forums, spread the word
Thanks you all who responded on my issue. My issue has now been resolved
I was able to update my location and GPS is working fine
Regards
mobius911 said:
Turn off SUPL Secure Socket as well. I am using AGPS Mode Control Plane. I've used both, this is where I've set it of late. Also, run the Get Position Test and see if it can lock on a position. Try to do this where you'll get a strong signal from many satellites (i.e., outside). Then leave LbsTestMode running, hit Home and open Maps. See if it can find your location. It should locate you assuming you got a good lock in LBSTestMode.
I've been openingLBSTestMode first and I leave it running in the background and then open Navigation. I haven't yet determined whether this has an actual benefit, is just a habit I don't want to break, or my own superstition, but that's what I do. There was discussion that some of the LbsTestMode settings don't persist after closing LbsTestMode, so this is one way to make sure the settings remain active.
Click to expand...
Click to collapse
Hey thanks a lot this really worked well for me. I had just forced the update using mini Kies and still no luck with accurate GPS location but after I followed the steps outlined in lbstestmodelaunch and what you added I found my location was accurate to within a few meters.
The code in froyo is *#*#3214789650#*#*
this code doesn't seem to be disseminated too widely on the forums, spread the word
Spread the word, my GPS with your settings is accurate from 50 meters.. and it locks in 5 secs
The code in froyo is *#*#3214789650#*#*
this code doesn't seem to be disseminated too widely on the forums, spread the word
Original settings:
Operation Mode: Standalone
SERVER: www.spirent-lcs.com
PORT: 7275
oriveradel said:
The code in froyo is *#*#3214789650#*#*
this code doesn't seem to be disseminated too widely on the forums, spread the word
Click to expand...
Click to collapse
Actually, this works on my stock Eclair 2.1.
Working!
m7ia said:
The code in froyo is *#*#3214789650#*#*
this code doesn't seem to be disseminated too widely on the forums, spread the word
Click to expand...
Click to collapse
FWIW - the above didn't work in my 2.2'd Galaxy S, nor did the older code. I eventually got the Any Cut app (great!) and followed the instructions.
For the last 2 weeks, since the 2.2 update, I was basically unable to get any GPS lock. I did manage once - and it took 15 minutes, with 8 to 10 satellites available.
Now, with 2 or 3, I'm getting a lock in a few seconds.
If the main problem is that the web location setting for info is just flat-out wrong, why doesn't T-Mob just issue a fix for that? It seems very strange to me that this would continue to be an issue months after the rollout began.
Umm, there is SGS Tools in the Themes &Apps section that will allow access to it.
Sent from my GT-I9000 using XDA App
After this change, Google Maps = total crash???
So I did the change, and thought things were good. But about 3 out of 4 times, when trying to start Google Maps, it freezes, then the screen goes completely black, and there is a vibration-buzz, a pause, and two more buzzes. The phone appears totally dead. Only pulling the battery wakes it up.
To be clear, I changed the URL and port, and disabled the secure socket mode, as described in this thread. There was also and update of google maps received, which claims to have installed successfully.
So now GPS is great, but the main app I use it with is defunct.
LBSTESTMODE Not On Phone!
Before you say I know this is Samsung Captivate but I have no where else to post this.
I have a Samsung Galaxy Apollo i5801 on Orange UK and I do not seem to have the LBSTESTMODE menu when I create a activity via anycut or ADW launcher. I type in the LBSTESTMODE number on the dialler and nothing comes up, I did find however I had something called "Service mode" when I tried to launch LBSTESTMODE however this application crashed and said "android.something.something has crashed"
Please help me my I would really like to fix my GPS!
Info:
Carrier: Orange UK
Device: Samsung Galaxy Apollo i5801
Operating System: Android 2.2 Froyo
Baseband Version: I5801BVJP1
Kernel Version: 2.6.32.9 [email protected] #1
Build Number: FROYO.BVJPE
Hope That Helps!
the error i get is "please enable my location source in system settings" in google maps.
I have already done the "Google location services fix (formerly, Twitter client recommendations?)"
any other suggestions?
Thanks
Chris
Spanel said:
the error i get is "please enable my location source in system settings" in google maps.
I have already done the "Google location services fix (formerly, Twitter client recommendations?)"
any other suggestions?
Thanks
Chris
Click to expand...
Click to collapse
AFAICT all that does is fix dependencies - it definitely doesn't activate locations. You are still missing NetworkLocation.apk, among other things. I am trying to figure it out; it might require pushing a more rhobust settings.apk.
I am going to start digging around in the nook source to see if I can make sense of how they castrated settings. I think that might be the best way to attack this problem.
Sent from my NOOKcolor using XDA app
ok thanks! keep this thread updated with your findings.
thanks again!
Chris
A side effect I just found of following the instructions to get the Market working here- http://nookdevs.com/Enable_the_Android_Market
is that Network Location is working.
When I run maps I have the indicator for where I am.
I will be testing how accurate this is tomorrow- I have a long drive to do and will tether to my Droid with gps running.
With luck, the droid will relay location data to the nook over the network.
Pass or fail, I will post the results once I know.
Good to hear, but you're probably getting a position via WiFi and GPS data can't be passed on via tethering AFAIK so you can't get it off the Droid.
I know that the GPS data can't be passed on per se and that I am getting network location data via wifi- 100% agreement.
My hope, and no testing yet to verify, is that if the Droid knows its location by GPS it will pass it along as a Network Location since it is providing Network Services so to speak.
I have no documentation saying this will happen, just pure speculation and wishful thinking.
OK - that is nice guys, but Spanel (and include me as well) have run the location fix and we still get the error: ""please enable my location source in system settings".
I have most everything working and running: rooted, Market, maps installed and working - but for whatever reason, maps does not display my location - just the aforementioned error message when I do.
Note: I also followed http://nookdevs.com/NookColor_Install_missing_google_geolocate_library, completed it with no errors - but still, my wifi - location is not popping up.
rogerdugans said:
A side effect I just found of following the instructions to get the Market working here- http://nookdevs.com/Enable_the_Android_Market
is that Network Location is working.
When I run maps I have the indicator for where I am.
I will be testing how accurate this is tomorrow- I have a long drive to do and will tether to my Droid with gps running.
With luck, the droid will relay location data to the nook over the network.
Pass or fail, I will post the results once I know.
Click to expand...
Click to collapse
Strange, as I followed it as well but I do not.
Sent from my NOOKcolor using XDA
rad131304 said:
Strange, as I followed it as well but I do not.
Sent from my NOOKcolor using XDA
Click to expand...
Click to collapse
Th8is might be a side effect of when performing the initial Android setup portion of the process, the first question asks info regarding location, etc. I unchecked these options (knowing I dont have GPS) and am thinking this may be where it is being "enabled."
Just a thought.
norkoastal said:
Th8is might be a side effect of when performing the initial Android setup portion of the process, the first question asks info regarding location, etc. I unchecked these options (knowing I dont have GPS) and am thinking this may be where it is being "enabled."
Just a thought.
Click to expand...
Click to collapse
Nork - are you saying that you are, in fact, getting a wifi-location fix on your device?
So does anyone have WiFi location up and running ? In Maps, I get the "please enable location" popup and even with "NookColor Tools" (http://forum.xda-developers.com/showthread.php?t=868366) that shows a ton of hidden settings I don't have location either.
The Autonooter author suggested I install NetworkLocation.apk to fix that, but I still get "Please enable a MyLocation source in system settings, anyone ?
webvan said:
The Autonooter author suggested I install NetworkLocation.apk to fix that, but I still get "Please enable a MyLocation source in system settings, anyone ?
Click to expand...
Click to collapse
From what I've seen, that is normal. I just skipped that screen. I am getting a wifi location fix though which is very cool.
Yes Autonooter activates WiFi location, not the scripts though for some reason.
I JUST got my wifi to work in maps -- figured it out after a bunch of frustrated digging -- by editing the com.android.settings_preferences.xml and adding the line
<boolean name="location_wifi" value="true" />
(I did it in the text editing option in the Root Explorer App after making the system folder R/W, but if your use your favorite editor [command-line or otherwise] at will)
since that xml file, for me, only had a "location_gps"="false argument."
Granted I had also replaced the Settings.apk with a 2.1 build 2 stock one and pushed a stock NetworkLocation.apk, neither of which, by my tests, would make maps zero in on my wifi-based location. Going to restore the NookSettings app and see if this holds.
EDIT: Yes. editing com.android.settings_preferences.xml seems to do the trick. Mileage varies, perhaps, as they say.
EDIT2: That file WAS in /data/data/com.android.settings/shared_prefs/ but it seems to have disappeared since I pushed back the NC Settings.apk -- though while I had the stock 2.1 settings.apk installed, the xml file was there, and Google Maps did use my wifi to locate my position. Now that I've pushed back Settings.apk, Maps still finds my location via wifi. Freaky, quirky, but if you want to be able to use the wifi-location finder feature, this is how I got mine to work:
1. Installed a stock NetworkLocations.apk from a 2.1 build,
2. Renamed Settings.apk -> Settings.old
3. ADB installed stock 2.1 settings.apk
4. Enabled wifi location, which now has an option to "set my location"
5. tested Maps application, no dice.
5. edited the XML file as above -- /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml
6. tested on maps, success!
7. then removed the 2.1 stock Settings.apk.
8. Renamed Settings.old -> Settings.apk.
I'm sure there is a muuuuuuch easier way to do this, but I'm a total noob. Anybody else have any success?
(The stock Android 2.1 Settings.apk crashed too frequently, anyways, and is annoyingly unreadable with the NC skinning).
I think the process I outlined here will do it for ya...
All you need to do is change the location_provider_allowed field in the secure table in settings.db to network.
Sent from my LogicPD Zoom2 using Tapatalk
fortuno01 Can this be done through Android Commander? Where is the settings.db file, ie which folder?
Also can someone post a clean working NetworkLocation.apk file. I see many on the web.
Finally got it working! Its a festivus miracle!
Alright, so after some playing around, I finally got this working. I used steps similar to above on a win 7 PC. Its all based on the /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml file. But you wont have one until you install this apk.
Step one. Download and install attached NetworkLocation.apk with ADB.
Step two. Use android commander (Google it, its free) and navigate to the file.
Note when you first run AC, it will ask which os you are using. I say I dont know, mostly because I'm lazy. Its 2.1 of course.
Step three. Pull the .xml file to desktop and open with notepad.
Step four. Add this as the last line in this file. <boolean name="location_wifi" value="true" />
Step five. Save and Close
Step six. Drag and drop into right panel of android commander where original file was. AC will ask you if you want to place on the right panel. Yes, you do.
Step seven. Exit adb.
Step eight. REBOOT. Dont try before a reboot *it wont work*
Step nine. Please thank me if this works for you.
Merry Christmas.
Where do you get the stock 2.1 apk OS files? (I got your attachment). I have the SDK installed are they in there somewhere or can I pull them from the android developers site somewhere? Thanks.
Hi,
I was wondering if it was possible to tether the wifi based location data to the gear (running null) from a phone. I know it is possible to tether the GPS data (see http://forum.xda-developers.com/showthread.php?p=47857358#post47857358), but this will require a lot of power on the phone. Wifi needs a lot less power and works for most purposes good enough in big city with a lot of wifi access points.
skyworxx said:
Hi,
I was wondering if it was possible to tether the wifi based location data to the gear (running null) from a phone. I know it is possible to tether the GPS data (see http://forum.xda-developers.com/showthread.php?p=47857358#post47857358), but this will require a lot of power on the phone. Wifi needs a lot less power and works for most purposes good enough in big city with a lot of wifi access points.
Click to expand...
Click to collapse
did you find an answer???
I am also interested with this,
thanks
Hi,
I am also interrested in having my location available on the gear without having to drain the battery using gps or have to start/stop the gps tether on both phone and gear when I need it. So having done some android development I tried to put together a small app that enables you to use three modes for location tethering, off, wifi/cell or gps. The wifi/cell updates every 5 minutes if the location has moved 100 meters or more. The setting can be changed on the phone or on the gear. I have tested it on my stock S4 and gear with null_13 so it may not work in other situations and as it is my first test I do not guarantee it will work in all situations or that it will not crash your devices.
The app must be installed on both phone and gear, it is signed with my debug certificate so you must enable app install from untrusted sources.
This is my first contribution to the community so I hope I have done it in the right way.
Regards
Martin
Get the app from http://forum.xda-developers.com/showpost.php?p=48333080&postcount=5
link is not working
mohlsson said:
Hi,
I am also interrested in having my location available on the gear without having to drain the battery using gps or have to start/stop the gps tether on both phone and gear when I need it. So having done some android development I tried to put together a small app that enables you to use three modes for location tethering, off, wifi/cell or gps. The wifi/cell updates every 5 minutes if the location has moved 100 meters or more. The setting can be changed on the phone or on the gear. I have tested it on my stock S4 and gear with null_13 so it may not work in other situations and as it is my first test I do not guarantee it will work in all situations or that it will not crash your devices.
The app must be installed on both phone and gear, it is signed with my debug certificate so you must enable app install from untrusted sources.
This is my first contribution to the community so I hope I have done it in the right way.
Regards
Martin
Click to expand...
Click to collapse
link is not working.... can't download
Uploaded to github
I hope this works for everyone interested, the project is now on github. As a new user here I cannot post direct links so here goes
Screenshot:
raw.github.com/Mohlsson/GearLocationBridge/master/device-2013-12-08-162923.png
Install and run the apk on both gear and phone
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
/Martin
I was able to get it installed and was able to select connection method but neither worked in google maps to pull my location.
well done
works for me, get location now on Gear without GPS.... great for Google Now / Search / Weather etc
Thanks
I must have something else going on. I can't get the "old" manual way of Share GPS to work either. It used to work but now it doesn't. I know this is off topic but I'm having trouble with Autoremote BT as well. I'm working in another thread to get it working but since both don't seem to be working, they must be related to my BT connection but for the life of me I can't figure out what. Everything else seems to work great, I get notifications, the stock weather app updates correctly, and other items like mini gallery and pedometer work.
Feeling lost and confused.
triplerider said:
I must have something else going on. I can't get the "old" manual way of Share GPS to work either. It used to work but now it doesn't. I know this is off topic but I'm having trouble with Autoremote BT as well. I'm working in another thread to get it working but since both don't seem to be working, they must be related to my BT connection but for the life of me I can't figure out what. Everything else seems to work great, I get notifications, the stock weather app updates correctly, and other items like mini gallery and pedometer work.
Feeling lost and confused.
Click to expand...
Click to collapse
Let see if we can help you getting my app to work by first looking at the app status. What does the title in my app say on the phone and on the gear (sorry to ask, you did install it on both right?) when you run it? If it says "Gear connected" and "Phone connected" BT communications work. If it says "Waiting for connection" there are problems opening the BT connection. If it says "Restarting" the connection has been made and then lost.
/Martin
mohlsson said:
Let see if we can help you getting my app to work by first looking at the app status. What does the title in my app say on the phone and on the gear (sorry to ask, you did install it on both right?) when you run it? If it says "Gear connected" and "Phone connected" BT communications work. If it says "Waiting for connection" there are problems opening the BT connection. If it says "Restarting" the connection has been made and then lost.
/Martin
Click to expand...
Click to collapse
They both said connected and as I would make different selections it would change on the other device. But no actual location service on the gear (as mentioned, the previously working Sharegps app also isn't working but also shows connected).
triplerider said:
They both said connected and as I would make different selections it would change on the other device. But no actual location service on the gear (as mentioned, the previously working Sharegps app also isn't working but also shows connected).
Click to expand...
Click to collapse
Ok, good! Next check that I can think of is that mock locations is allowed in developer settings on the gear and Use GPS is checked i the phone settings.
/Martin
mohlsson said:
Ok, good! Next check that I can think of is that mock locations is allowed in developer settings on the gear and Use GPS is checked i the phone settings.
/Martin
Click to expand...
Click to collapse
Checked these things again thinking maybe one of them got unchecked but sadly they are correct and still no joy.
Sent from my SPH-L720 using Tapatalk
mohlsson said:
I hope this works for everyone interested, the project is now on github. As a new user here I cannot post direct links so here goes
Screenshot:
raw.github.com/Mohlsson/GearLocationBridge/master/device-2013-12-08-162923.png
Install and run the apk on both gear and phone
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
/Martin
Click to expand...
Click to collapse
Very Interesting. Installed and working!
Edit: NOT Working, Still has ShareGPS running. Once that was turned off Gear no longer gets location, Withing Maps it says "Waiting for location" when I try and get it. All other settings are correct.
Edit: A restart of both devices has fixed the issue. (But needed to wait for the app to update)
Would be nice if we could have it update our location at specific intervals.
New version of GearLocationBridge
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin
mohlsson said:
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin
Click to expand...
Click to collapse
Great job bud, you should get your hands stuck into a tasker plugin !
Thank you fOmey, good idea to make it a Tasker plugin. I took a google crash course on how to make a plugin so there is a new version on github that should work with Tasker. I haven't used Tasker myself so I have only done some simple testing creating a task and triggering it.
mohlsson said:
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin
Click to expand...
Click to collapse
Looks like this needs to be updated for ML1 firmware, could you take a look?
or its just me. Using null_18 full system ui.
Tried reinstalling same thing "GearLocationBridge has stopped"
almulder1092 said:
Looks like this needs to be updated for ML1 firmware, could you take a look?
or its just me. Using null_18 full system ui.
Tried reinstalling same thing "GearLocationBridge has stopped"
Click to expand...
Click to collapse
al i found i think i got it go to developer options on the gear and enable mock locations. zfarishta
red rocket said:
al i found i think i got it go to developer options on the gear and enable mock locations. zfarishta
Click to expand...
Click to collapse
No that was already turned on. I could not figure it out, So i just tried a full reset again. now it works. ODD not sure what is different this time around, but not going to complain.
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
You can probably unpair (from both the phone and sync) and then repair and when you repair just deny the MAP access request.
Also, you should be able to turn off new message download in Sync
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
boosting1bar said:
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
Click to expand...
Click to collapse
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Yeah that's exactly what I'm getting in my 14 Raptor. Terrible, I guess I have to disable it every time I get in the car now.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
dtg7 said:
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
Click to expand...
Click to collapse
Great idea, however I just tried it with no avail.
I just thought of something as well... my fiance has a '13 Focus SE with the base stereo, and she has the same model phone as me (VZW X Dev). Her SYNC doesn't alert her to new messages, but my truck with the same SYNC setup did, but I figured my truck had a more recent version of SYNC. I dunno, all I know is it's annoying as hell and I'd like to find a more permanent solution. Especially since I'm contemplating on buying the Droid Turbo in the future and I'm sure it will do the same thing.
triton302 said:
Great idea, however I just tried it with no avail.
Click to expand...
Click to collapse
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
dtg7 said:
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
Click to expand...
Click to collapse
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
boosting1bar said:
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
Click to expand...
Click to collapse
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
https://play.google.com/store/apps/details?id=cn.wq.disableservice
good luck.
dtg7 said:
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
good luck.
Click to expand...
Click to collapse
Thanks so much! Option 2 is exactly what I've been looking for! Option 1 doesn't work for me because I use Trigger and have conditional BT on/off and that would just recreate the same problem lol.
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
triton302 said:
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
Click to expand...
Click to collapse
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
boosting1bar said:
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
Click to expand...
Click to collapse
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of profile).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Roger, I'm off work today so I'll try these out here shortly.
EDIT: From what I recall, if you have a recent version of MFT, there are no options whatsoever for MAP, in phone or system settings. I'll double check.
EDITING EDIT: #2 doesn't work.
dtg7 said:
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of protocol).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Click to expand...
Click to collapse
I think we have a winner! #3 works perfectly.
I tested it with the phone unlocked and locked, rebooting the phone, toggling bluetooth on and off, turning the car on and off... seems to work every time. As long as you turn off just the SMS/MMS options, you can still have it send and receive calls and allow the device to remain unlocked while connected.
Ahhhh...... Success feels good...
Xposed is pretty amazing... It gives us a fighting chance lol.
if only they'd installed Xposed on Skynet things might have turned out differently...
dtg7 said:
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
Click to expand...
Click to collapse
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
You're welcome!
boosting1bar said:
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
Click to expand...
Click to collapse
How did you get this yo work? I am on a cm12 Rom also with the same issue.
Did all the above, but anytime I start the Bluetooth afterwards, it just reactivates the "Read / Write sms messages permission all over again nd im back to square 1.
Sorry to bump an old thread. But its still yhe same issue I am dealing with.