chokkarg / omnidroid

Automatically exported from code.google.com/p/omnidroid
Apache License 2.0
0 stars 0 forks source link

ability to turn on gps #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating 
system?

Please provide any additional information below.

Original issue reported on code.google.com by rob.mccu...@gmail.com on 20 May 2010 at 7:54

GoogleCodeExporter commented 8 years ago
Sorry meant to.add, is.it possible to add functionality to turn gps.on.when 
phone is charging. The 
reason I ask is when I'm in the car I use gps and need a solution to automate 
turning it on

Original comment by rob.mccu...@gmail.com on 20 May 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Rob,

I think this should be implementable.  If you're a developer, you're more than
contribute this functionality.  Otherwise we'll see if a developer can pick 
this up.

--
Drew

Original comment by case.and...@gmail.com on 26 May 2010 at 3:10

GoogleCodeExporter commented 8 years ago
Hi Team, I would like to quickly work on this.

I think there is a system event which we hid once. POWER_CONNECTED.

We can enable it.  It is fired according to me when battery is charging. I will 
make 
the changes , test it and send out a code review if this works.

Original comment by anurchan...@gmail.com on 4 Jun 2010 at 8:39

GoogleCodeExporter commented 8 years ago
Any progress on this?

Original comment by case.and...@gmail.com on 3 Jul 2010 at 6:09

GoogleCodeExporter commented 8 years ago

Original comment by case.and...@gmail.com on 3 Jul 2010 at 6:09

GoogleCodeExporter commented 8 years ago
is this issue about simply enabling gps? 
probably we need to add disable gps action as well. and this raises the 
question of having multiple events in one rule. that would make it possible to 
have rules like turn gps on when connected to power and turn it off when 
disconnected. same thing with new default rule - set phone silent during night.

Original comment by sv767%ny...@gtempaccount.com on 26 Jul 2010 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by sv767%ny...@gtempaccount.com on 26 Jul 2010 at 10:30

GoogleCodeExporter commented 8 years ago
Not sure what multiple events would have to do with it.  Wouldn't that just be 
a filter?  You mean one rule that does both things?  Power Connected -> GPS on, 
Power Disconnected -> GPS off?

If that was presented in an intuitive way that users can easily understand, 
that would be a good feature, but right now that can easily be accomplished 
with two separate rules.  Do you have thoughts on how to accomplish that in a 
easy to understand inteface for users?  I guess "add event" on the 
ActivityChooseFiltersAndActions could be simple enough.  Backend will need some 
modification too.  I think a separate issue should be made for this feature 
request.

Original comment by case.and...@gmail.com on 26 Jul 2010 at 10:54

GoogleCodeExporter commented 8 years ago
I created issue139

apparently it's not allowed to turn gps on.

Original comment by sv767%ny...@gtempaccount.com on 27 Jul 2010 at 1:03

GoogleCodeExporter commented 8 years ago
Oh, yeah, I have read that somewhere too. It used to be allowed in the old API 
version, but Google disabled it and their reasoning was that developers aren't 
suppose to enable that feature "behind the users back" as it seems to drain the 
battery quite a lot. The legit way to enable it is to forward the user to the 
settings activity and let the user turn it on...

Original comment by renc...@gmail.com on 27 Jul 2010 at 3:51

GoogleCodeExporter commented 8 years ago
yeah, I read that too.

P.S we wouldn't use this functionality behind user's back, we would use it on 
their behalf :)))))

Original comment by sv767%ny...@gtempaccount.com on 27 Jul 2010 at 4:08

GoogleCodeExporter commented 8 years ago
should we close this issue?

Original comment by sv767%ny...@gtempaccount.com on 30 Jul 2010 at 2:48

GoogleCodeExporter commented 8 years ago
I think so too. We should probably label this as Won't Fix...

Original comment by renc...@gmail.com on 30 Jul 2010 at 3:09

GoogleCodeExporter commented 8 years ago
Can we disable GPS or is that restricted too?  If we can't disable GPS, then I 
concur, otherwise I think we should add "Disable GPS" as an action.

Original comment by case.and...@gmail.com on 30 Jul 2010 at 3:25

GoogleCodeExporter commented 8 years ago
sorry, no can do.

Original comment by sv767%ny...@gtempaccount.com on 30 Jul 2010 at 3:42

GoogleCodeExporter commented 8 years ago

Original comment by sv767%ny...@gtempaccount.com on 30 Jul 2010 at 4:08