yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] boobiestar:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

Thx for response. It is correct that I have configured Wifi to stay on when connected to white listed a/p. I understand now the sequence of the rules.

The first issue is because my screen off time is 1 minute, but my screen lock time is 15 minutes. So the first time I take my phone I have to unlock the screen everything is working fine. But after 10 minutes of not using my phone the screen is off, but not locked. When I then turn the screen on, Wifi is not turned on. Maybe it is possible to check the code that when the screen is not locked and turned on, the wifi is turned on. Otherwise I have to use the screen on option, but than Wifi is also turned on when receiving notifications as you mentioned.

The following issue I discovered tomorrow that when I restart my phone BWOF recognized it as "manual turning off wifi" in the on-screen log and checked the option disabling all processing in the preferences. When my phone is restarted Wifi toggle is just on and Wifi normal working, but not handled by BWOF. I have to unchecked the option disabling all processing. I have checked disable and enable when user turns wifi on/off.

Last issue at this moment. When wifi is turned off by BWOF because a/p is not whitelisted, when I then manually turn the wifi toggle on, BWOF takes no care of wifi. BWOF doesn't check for whitelisted a/p at that moment. Till I turn the screen off and on (unlocking) BWOF works normal.

Maybe something I wrong use. If you need some extra explanations let me know. Before I used JD, but that gave other problems so I am trying your app now, and still loving it. :D

Verstuurd van mijn GT-I9300 met Tapatalk
[Android Apps and Games] chamonix:
That's what "on screen on" is for. If you want to have a wifi timeout (pref in BWOF) smaller than your screen lock timeout you can not use "on

screen onlock": either you lower your screen lock timeout, or higher the timeout for wifi off in BWOF or use "screen on" instead of "screen unlock"

What you describe if as it is designed: the widget enables/disables the processing of BWOF but does not trigger any action.

Reading your comment I feel that it could be a good dea to change that in order to make the bahavior more intuitive and trigger a "Wifi on" event when the processing is enabled from the toggle. I added issue #95 for that.
[Android Apps and Games] boobiestar:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

Thx for the response. I see that there is one delay time option for checking wifi status. I use it at 30s for starting wifi and making a connection with an a/p. Is it possible to add an option to set the delay time for turning wifi off when screen is turned off? Because it use the same delay time, but is also maximum of 2 minutes and I want to differ between the two time frames.

An other possible option (I prefer) is: Turn wifi off when screen is locked. Now the only option is: Turn wifi off when screen is off. For turning wifi on there are also 2 options.

I think that you didn't understand the above issue. I don't use the widget till now. I'll take a look at the widget.

But the issue is that after the complete restart of my phone in pref of BWOF the option "Disable" is checked (I didn't check it :confused: ). So "Start on boot" option is checked but BWOF don't work. I have first to uncheck the "Disable" option after restarted my phone before BWOF is getting to work :confused:.

Verstuurd van mijn GT-I9300 met Tapatalk
[Android Apps and Games] boobiestar:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

I have used the BWOF widget. When I disable the widget in the on-screen log the message appear: Processing disabled: user turned wifi off. But wifi isn't disabled and is still working.

As you can see the last 4 lines I toggle the widget off and on two times. There is also no processing after turning wifi on (Wifi isn't been off as I said before).

If the widget only disables /enables processing then the messages are not correct for the part "user turned wifi on/off" .

Verstuurd van mijn GT-I9300 met Tapatalk

---------- Post added at 10:23 PM ---------- Previous post was at 09:48 PM ----------

I have a question about the options in the preferences. Why should I check the option "Off when screen off" when there are also Rules for leaving wifi on when screen goes off? After ending e.g. Wakelock and network traffic wifi also turns off I think?

In which sequence the rules will be executed?

Verstuurd van mijn GT-I9300 met Tapatalk
[Android Apps and Games] patsmike:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

Chamonix, bwof is working amazingly! Do you have any plans for the future of this app?
[Android Apps and Games] chamonix:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

Well immediate plans are documented as feature requests in post #1. For mid and long term it can be whatever you want it to be. I am open to requests that you can submit here or on github (I can consolidate). So if you have ideas / wishes be my guest ;)
[Android Apps and Games] gaich:
I suggest Russian translation. The one you have in values-ru folder has nothing to do with today`s version.:laugh:

Here is the up-to-date one:

strings.xml

readme.html
[Android Apps and Games] ilya404:
Like BWOF very much. Though I have a question:

Is it possible to let Wifi trigger on for a few minutes while it's asleep so for instance once in 2hours wifi turns on so the phone can check for emails and such when there is no data connection?

Great app though! :)
[Android Apps and Games] chamonix:
Unfortunately that would make no sense as there is no way for other apps to know about Wifi being on in certain timeframes as Android does not provide that time of central control (unfortunately). Due to this lack of control I see that feature as negative in terms of battery as it would cause more consuption due to additional wakeups
[Android Apps and Games] gandharv.aiims:
Hi... I have been using better wifi on/off for a few days on my Nexus 4 device with franco.kernel. Although it is working as described above (turning wifi on/off when I lock/unlock the phone) but the phone keeps loosing wifi connection to white listed SSIDs own it's own every 5 min or so. Besides after installing the app I am not able to connect to the networks at all using a static ip address. Please look into the problem.
[Android Apps and Games] Pkt_Lnt:
Post a log so your problems can be found.
[Android Apps and Games] jhuff83:
Would be nice if there was a setting to where when you turn the screen back on the popup that says "connected to wifi network xxxx" could be disabled. This is annoying when it's having to reconnect. One of the rom devs said that it has something to do with a smali edit.
[Android Apps and Games] chamonix:
I am not sure that I understand what you are taking about If the message is correct then there is no such message shown by BWOF
[Android Apps and Games] Flash23:
Ive been looking for an app like this that will automatically toggle when im in wifi range to automatically disconnect/connect... Got a question, I use 2 difference networks depending on what side of the house im in... Would this app be able to switch between the 2 networks and pick up the better wifi signal?
[Android Apps and Games] chamonix:
Re: [APP][2.1+][23 Jan - 1.3.0.2] Better Wifi on/off

Yes you can whitelist both ssids and have bwof select the strongest one at connect time by ticking 'connect to strongest ap' in the advanced preferences
[Android Apps and Games] jhuff83:
I believe it's going to be an actual android smali edit. Whenever you turn wifi on and connect to a network, it pops up at the bottom showing what network you are connected to. I would like an option to be able to disable that popup. Not sure it could be done w/this app.
[Android Apps and Games] chamonix:
I was puzzled because I thought you were talking about a popup created from this app. If you are talking about a popup coming from Android that is certainly nothing that an app can do. Please take this to your device's q&a thread
[Android Apps and Games] chamonix:
Release

First RC for 2.0 is up
[Android Apps and Games] Thomas_BA:
Will test it and give feedabck.
[Android Apps and Games] jhuff83:
This might work well now with the automate it program. Will be able to have the program disabled when not connected to certain cells to turn wifi on. Sweet.
[Android Apps and Games] nogo8888:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

Congrats for 10k DL.

Thanks for rc2.0
[Android Apps and Games] Mr.AFK:
AW: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

How does the "Agent" works?

I don't find another widget or how?

Thx for 2.0rc1

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] chamonix:
Can you elaborate a bit. I don't understand your question
[Android Apps and Games] Mr.AFK:
AW: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

Sorry, my english is rosty :D

"Agent" was my Word for the statusbar... UX thing of the changelog.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] chamonix:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

The actionbar has no functionality by itself, it is the bar at the top of the main screen. The change in the latest version was to apply the newer look of android to older android versions in order to provide a more modern look. This does not deliver any features, just eye candy
[Android Apps and Games] patsmike:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

I purchased and installed the donate version, but its not removing ads. Tried it with both 1.3 and 2.0

Both times I followed instructions and installed the donate version after the free version

---------- Post added at 04:40 PM ---------- Previous post was at 04:38 PM ----------

Also, 2.0rc1 is giving me force closes when I go into settings right from a fresh install
[Android Apps and Games] jhuff83:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

There a way to make the program wait before toggling wifi on when the screen is unlocked. I'm trying to use this in conjunction with automate it based on cell tower id's
[Android Apps and Games] _olgun_:
I'm about to try.
[Android Apps and Games] chamonix:
Could you send me a logcat saved from the app after starting BWOF?
[Android Apps and Games] chamonix:
Could you describe the use case more precisely? What would the sequence and the interaction betwen BWOF and automate it look like?
[Android Apps and Games] jhuff83:
Well right now I want the wifi to go off when the screen goes off which this program does. When the screen goes on, I would like to see the program wait to turn wifi on based on my Cell ID location. Basically I have Cell ID locations for my residence, using automate it program and when the phone knows I'm within that cell ID location, wifi enables. Not sure if this program could incorporate that. If so, I would not have to worry about wifi kicking on when I'm not within the desired cell id locations. If I'm at work (not within cell id location) better wifi would not turn on wifi at all when screen was unlocked. I think if that feature was somehow worked into this program it would be fantastic.

I was running better wifi with the settings of turning wifi on when screen went off and running automate it to enable wifi when connected to certain cell id locations. I think better wifi is overriding automate it due to the wifi being enabled when the screen is unlocked.

I hope this post didn't confuse you.
[Android Apps and Games] chamonix:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

That seems an interesting use case.

I see two solutions depending on when automate it kicks in and that depends on how you implemented the wifi management:

- automate it detects the cell and disables bwof using its locale/Tasker plugin: in that case wifi will not be turned on on screen on

- automate it only processes the cell when the screen goes on and in that case we indeed have a race condition (latest wins)

In both cases to solve the problem we need to find a way to synchronize both. Does automate it support locale / Tasker variables ?

Btw there is a feature request for cell id support in bwof but still the integration is a good idea to pursue. I will have a look into Tasker vars and see if I can come up with something
[Android Apps and Games] jhuff83:
Re: [APP][2.1+][29 Mar - 2.0RC1] Better Wifi on/off

I will ask in the automate it thread. I would also love to see the cell id implemented with this and would love to test it out for you guys.
[Android Apps and Games] chamonix:
Release

New RC is up featuring app whitelist to keep Wifi on when certain apps are running (e.g. for streaming apps). As I can't test much I'd like to head from you guys who use streaming apps doing lots of buffering (please make sure to disable wakelock and bandwidth detection when testing)
[Android Apps and Games] peped94:
why when i press on ssid whitelist, i cant see anything . it has an option OK and cancel only .
[Android Apps and Games] chamonix:
Re: [APP][2.1+][01 Apr - 2.0RC2] Better Wifi on/off

Then you haven't configured any access points in android settings yet
[Android Apps and Games] peped94:
how to do that and what does SSID means if i enable it ? sorry for noob question
[Android Apps and Games] chamonix:
Re: [APP][2.1+][01 Apr - 2.0RC2] Better Wifi on/off

The SSID is the unique Id of a wlan access point. Bwof allows you to define the whitelist from the configured access points. Those are the ones that you have connected to in 'android settings - wifi' .
[Android Apps and Games] peped94:
can anyone explain to me what does "disable when user turn off wifi" and "enable when user turns on wifi" ? very confusing:confused:
[Android Apps and Games] patsmike:
Re: [APP][2.1+][01 Apr - 2.0RC2] Better Wifi on/off

I love the idea but its not working - I can't select apps from the whitelist... As soon as I select them and scroll up/down they become unchecked again
[Android Apps and Games] p107r0:
Odp: [APP][2.1+][01 Apr - 2.0RC2] Better Wifi on/off

With both options enabled:

- when you manually turn wifi off, the app will not attempt to turn it on

- when you manually turn wifi on, the app will resume working
[Android Apps and Games] chamonix:
2.0RC3

New version is up: fixed app whitelist and introduces cell location awareness for optionally only turning on wifi when the cell id is known.

Feel free to add your ideas on how we could use the location awareness for optimizing BWOF
[Android Apps and Games] chamonix:
You could post a logcat, it contains the same info and more.

What I'd be interested in:

I assume the case you talk about is at 11:08. Have you enabled Wifi to stay on only if a connection could be established (means your phone has a valid IP) and if yes, did the phone get one (logcat will tell us that). Please also tell me what version you are on.

I have added an issue as it seems that not all actions are in the on-screen log.

Edit: that's issue #5 on github
[Android Apps and Games] alexinna:
1. Yes I was referring to 11:08.

2. "Have you enabled Wifi to stay on only if a connection could be established ..." Yes

3. I can't re-create the same situation. v. 0.2

4. logcat for working case attached

My understanding that I don't need Llama any more to manage Wi-Fi On at Home and Off if not. This app will do it for me every time I lock/unlock the screen. In my case I'm only using Wi-Fi at home so no need to check it anywhere else but it's not possible yet until cell location will be implemented. Is this a correct understanding?
[Android Apps and Games] yokozuna:
Thank you for the awesome app! I use y5 https://play.google.com/store/apps/details?id=pl.polidea.y5 now but the author stopped the development a year ago. I do hope your app will switch WiFi off when I will go out of the range of my router and switch the module on when I will be back.
[Android Apps and Games] chamonix:
The list of planned features is in the first post, please feel free to request more features if you feel that something is missing.
[Android Apps and Games] chamonix:
I am taking v0.3 for a test run during the day and will submit in the evening.
[Android Apps and Games] chamonix:
Release 0.3

Next version is up. Please check changelog in post #1
[Android Apps and Games] chamonix:
I had an FC this morning with 0.3 when unplugging and the screen was off. Logcat is taken, working on a fix
[Android Apps and Games] chamonix:
Release 0.3.1

Sorry for the delay guys, it has been a busy day at work. Changelog is in post #1
[Android Apps and Games] yhrn:
Sweet!

Just installed and will give more feedback later. The one thing I know already is that the planned "whitelist AP" feature is a must for me. My home wifi is very battery friendly and I want several scheduled things to happen during the night, e.g. sync Titanium Backup to Dropbox, even if the phone is not plugged in.
[Android Apps and Games] Edwrib:
I want unplugged WiFi lock too.

Sent from my Galaxy Nexus
[Android Apps and Games] chamonix:
Sorry, could you elaborate a little?
[Android Apps and Games] Edwrib:
I would like to keep my WiFi running faster as possible, without need to be plugged in charger.

Normally I do this with any other app that have wifi-lock, like unified remote, I keep them running while I need WiFi fast with screen off:
[Android Apps and Games] chamonix:
I will need to investigate on that. I don't understand what a wifi lock can be or how it can be different from a wakelock: either the phone is prevented from sleeping and that is a wakelock or it sleeps and then the cpu is stopped so there is no way any data tranfer can occur. Of course I could add a wakelock to stick even if the phone is unplugged but then I wonder what even should turn if off.
[Android Apps and Games] lordgoata:
Isn't that just the WiFi Sleep Never setting in the WiFi prefs ? me confused...
[Android Apps and Games] Edwrib:
No, they are already set to always keep on.
[Android Apps and Games] Edwrib:
Look into this: http://developer.android.com/reference/android/net/wifi/WifiManager.WifiLock.html
[Android Apps and Games] Edwrib:
Have some topics about WiFi low power issues, like this: http://xdaforums.com/showthread.php?t=1672512

In post 9 they say that code of wifi have changed since honeycomb...
[Android Apps and Games] chamonix:
Today is a good day, I learned something!

Let me wrap my head around the concept and I will post some suggestions aon how we could use this to start the discussion about that feature (here or in issue #8 on github)
[Android Apps and Games] chamonix:
Ok I got it. It makes sense and I will change the wakelock I use currently

PowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, some-name);

to a Wifilock.

I understand it will be released whenever Wifi is turned off or if the user releases it (I need a botton for that).

Now it brings me to this feature request: https://github.com/asksven/BetterWifiOnOff/issues/2

It would be great if I could detect if there is another WifiLock before turning off Wifi but at least the public API does not allow that. On the other hand looking at http://grepcode.com/file/repository.../4.0.4_r1.2/android/net/wifi/WifiManager.java

I found a member mActiveLockCount that is incremented/decremented when creating/releasing locks. I love reflections and it shouldn't be that hard to read out that private member and decide to set an alarm for checking again and not turn off Wifi straight away. Doing so and assuming the app needing Wifi sticks to the conventions and holds a Wifi lock it won't be interrupted by BetterWifiOnOff.

I hope this makes sense :)
[Android Apps and Games] Edwrib:
Make sense and anxious to test :)
[Android Apps and Games] Christiancs1969:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Will try looks good

s2rootbox......
[Android Apps and Games] Thomas_BA:
This is a nice new feature. Will check that out.
[Android Apps and Games] patsmike:
I'm trying out the app whitelist feature on RC3. It worked wonderfully using the Play Store and several other apps, but still doesn't work with others. For example: Pandora Radio and the stock "Downloads" app - I try to select these 2 apps in the whitelist menu, but as soon as I do, I scroll up and down so that they leave the view of the screen and they somehow become unchecked again.
[Android Apps and Games] jhuff83:
Awesome update. I enabled the cell id locations for when the screen goes on or is unlocked. I haven't seen anything logged yet though. Does this take some time? Also, when on the main screen, when I drag down to refresh I'm getting a force close.
[Android Apps and Games] peped94:
so, better tick turn on when user turn on wifi right ? or both of them ?
[Android Apps and Games] chamonix:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Can you please post a logcat of those actions? I suspect something special in the package names
[Android Apps and Games] chamonix:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Can you please post a logcat of the FC?

To enable location logging you must tick the proper settings in prefs location. If should start logging the next time screen is turned on
[Android Apps and Games] saliharda:
Ynt: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Thanks for widget

Evo 3D GSM cihazımdan Tapatalk 2 ile gönderildi
[Android Apps and Games] jhuff83:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

I have all settings checked for cell id and it's not logging them at all. Unable to post the log right now due to being on Tapatalk.
[Android Apps and Games] p107r0:
Odp: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

The best usage scenario is to have both options ticked - this way if you decide to turn wifi off manually (e.g. for the night reading) then it will stay off (BWOF will be inactive) until you turn it on again (and only then BWOF will resume working)
[Android Apps and Games] inFECT:
Bug report: Force close on pull down to refresh (at the main log ofc)

Logfile: http://pastebin.com/GBcs5QJK

System info: Android 2.3.7 on BWOF 2.0RC3
[Android Apps and Games] jhuff83:
Same for me. Here is my debug. Also, cell id's are not populating still. https://www.dropbox.com/s/r8kvs3ri1oaev63/betterwifionoff-2013-04-02_064127234.txt
[Android Apps and Games] chamonix:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

I would say it depends whether you have the need to override bwof decisions. I never use any access point ad-hoc as I have a portable hotspot so I don't need to disable it's rules
[Android Apps and Games] patsmike:
Sure thing, here it is
[Android Apps and Games] Mr.AFK:
i've got an bwof log with 1,87MByte?
[Android Apps and Games] chamonix:
Where is the question?
[Android Apps and Games] Christiancs1969:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Done its job perfect today thanks. Its staying ;)

s2rootbox......
[Android Apps and Games] jhuff83:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

Noticed that when on only when known cid is enabled I was also getting force closes.
[Android Apps and Games] mookan:
Re: [APP][2.1+][01 Apr - 2.0RC3] Better Wifi on/off

I would say it is best to have both enabled.

Nice to manually disable wifi when going out or when you are at a place without wifi and then enable when you for example get home.
[Android Apps and Games] chamonix:
Expect an update in a few...
[Android Apps and Games] chamonix:
New version is up with fixed related to the database; those should also fix the issues with cell data not being collected (working fine here).

If the problem persist please post a logcat
[Android Apps and Games] jhuff83:
Still getting a ton of force closes with the new release. Cell ID location still not populating. Logcat attached.

https://www.dropbox.com/s/p57cwie0hr0agiq/betterwifionoff-2013-04-02_175858609.txt
[Android Apps and Games] Thomas_BA:
Working fine here. Collecting in the moment Tower ID and tagging them. later will enable the CID feature for testing

Question, when clearing the Tower log will tagged CIDs be lost or are they stored internal? Just looking if it cab be cleared. ;)