yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] sebouh00:
Hi mrsatan. If it's not too much trouble for you, can you cause another crash and send me the logcat report?

Thanks.
[Android Apps and Games] lexluthor:
It's nine of that. Sending log to email address listed in play store now. Let me know what you figure out.
[Android Apps and Games] lexluthor:
Thanks for getting it working. I'll use this for a while and monitor.
[Android Apps and Games] sebouh00:
Updated to v1.1.1.

Thanks lexluthor for your help.
[Android Apps and Games] sebouh00:
It would be nice to know how you guys found the app. Any suggestions, bug reports, etc.?

I'm already working on a better version which has more features, better accuracy, and a lot more details if you'd like to know what's going on under the hood. I would like to take your opinion as well because I'm not building the app just for me. :)
[Android Apps and Games] GermainZ:
I think this is a great piece of work. Sadly, I'm already using JuiceDefender, which has this feature. But you mentioned making it more accurate, which brings this to my mind: could it (ATM/in the future) be more accurate than JuiceDefender's location feature?
[Android Apps and Games] castaway1:
Just installed and set it up! Great application keep it up dev!
[Android Apps and Games] sebouh00:
On the more accuracy note, to be honest I don't know how Juice defender does its stuff. Does it use GPS locations?

The feature I'm working on is the accuracy of the auto-connect. Currently when you're connected to a familiar cell, the app will turn WiFi on and give it a shot at connecting to a hotspot. I've added an optional feature which uses the network signal strength to make better judgments on whether to turn WiFi on or not. I've tested this quite a bit, and I'm very happy with the results. When I'm outside my house connected to the same cell, WiFi won't come on because the signal is too strong. When the app learned about that cell, it created a min/max strength boundary which it thinks your WiFi is only restricted to. This boundary gets adjusted over time.

Like I said, I'm pretty happy with the result. It does require a steeper learning curve for the app though, but you can basically take your phone, move around the house and let it learn. Something which would help you during that is a new activity which I'm putting in there, sort of like an advanced view. It will show you which cells the app has learned for the connected WiFi, and what min/max signal ranges has it assigned to them.
[Android Apps and Games] Trancicted:
I like this app very much and it does what it has to do!

The only drawback is that the notification symbol is enabled when using it in foreground mode... Why?

Avast can also run in foreground and without a notification symbol!

Verstuurd van mijn Play met Tapatalk
[Android Apps and Games] sebouh00:
Hi Trancicted. I dislike the fact that there's a notification icon linked to the foreground mode. Unfortunately, this has been done on purpose by Google because many developers were abusing the foreground option. Google decided to force a notification icon so that the user is aware that the service is running in foreground mode. Foreground mode should be used only when the service has to run for a long period of time.

Sadly there is no way to disable it (unless you're on Jelly Bean). I assure you that you will find the same scenario with all the apps. Avast actually has the option to remove the icon, but it warns you that the icon is recommended so the app can protect you better. That basically means if you remove the icon, Avast will run in background mode and has a chance of getting killed by Android.

The good news is however, Smart WiFi Toggler doesn't need to run in foreground. Android will automatically restart it after killing it. So the service lives on. :)
[Android Apps and Games] Trancicted:
Thanks for clearing this out :) I'll just have to get used to it..

Verstuurd van mijn Play met Tapatalk
[Android Apps and Games] tu3218:
So if i dont run in foreground, I know it can be killed . So basically for this to work fully, it has to run in foreground. Can it work without that but just runs the risk of being killed?
[Android Apps and Games] sebouh00:
Yes. After it gets killed it gets restarted on its own. That's why foreground mode is recommended, but not a must.
[Android Apps and Games] lexluthor:
I'm curious a little bit more about how it works under the hood.

How often is it checking cell towers? Is there a difference of what it does while screen is off vs screen on/when you turn it on?

I was 40 miles from my house most of the day today, yet I got a bunch of Started then Disabled by User messages in the log. I certainly didn't turn on wifi manually at all.

If you want to share, I'd love to hear the algorithm you are using. That would help me better understand the logic and make suggestions.
[Android Apps and Games] sebouh00:
Hi lexluthor. The "started" and "disabled" messages mean the service was restarted several times. Whenever the service starts, it gets notified of the current wifi state (as you hook onto the state listener). So this does not mean it actually turned WiFi on and off. The reason you got bunch of restarts was because Android killed the service and restarted it, being in background mode. This is the only side effect of running the service in background mode. Other than that, it will resume its normal task.

Now for the tower checks, Android actually has a neat way of doing things. You can hook on to cell location updates instead of checking the cell over and over. Problem is, on most devices this update stops when the phone goes to sleep. Android tells the RIL module that the screen is off, and most implementations of the RIL will stop sending updates until the screen comes back on. It's a way of saving battery, but it doesn't help me. :(

So when you turn the screen on, Android will notify the app of the new cell, which is where the checking takes place. I spent a month digging android source code and trying to understand why things were not acting the way I expected them to, and unfortunately I found out that there are certain limitations which I have to work with. Another example is that sometimes when the phone goes to sleep, android stops broadcasting intents. That's not helpful when you want to know if the WiFi disconnected. So you have to handle exceptions and what not to make it all work as expected by the user.

It's been a hell of an experience, I'll tell you that much. :)
[Android Apps and Games] GermainZ:
It also uses wireless location since using GPS would do the contrary of what it promises :)

I'll give your app a test (and if my phone can't run it [keeps restarting] because of my bulletproofed apps, I'll keep it in mind for my next android ^^), it's auto-detection might be better.
[Android Apps and Games] lexluthor:
Anything new here? Been using it as a replacement for Y5 for a while now and seems to be doing what it should while saving some battery. Wouldn't want to see any feature bloat, but I'm sure there's some tweaking that could be done to make it even better.
[Android Apps and Games] sebouh00:
Yes. I've been working hard on improving the core functionality in addition to adding new features. The new version is actually ready and I've been doing some extensive testing on it. I'm planing to release it in a couple of days if there are no hiccups.

I'm very excited about this one. Here's what's been added and improved:

WiFi Lock (Manual Lock, Auto-Lock/Unlock)

Efficiency Bar (WiFi efficiency monitor)

Smarter auto-connection with the help of network signal strength

Faster disconnection detection

Periodic WiFi checking while the phone is sleep

Advanced view (shows what's going on under the hood)

There are some more features and aesthetic improvements as well.

So expect a major update very soon. :)
[Android Apps and Games] sdkim89:
This is great. I haven't tried it out yet (probably wait for your next release) but I'm down to do any testing and whatnot if you need!

Sent from my Incredible S
[Android Apps and Games] lexluthor:
Looking forward to the update! Not sure what some of those mean, but hope it will be more obvious once I have the update.
[Android Apps and Games] sebouh00:
Version 2.0 is out now.

Let me know what you guys think of the improvements.
[Android Apps and Games] lexluthor:
Got the new update. Seems like some pretty good features added without bloat that doesn't belong.

But, so far, both times I left and returned to my house, the wifi never came on. I changed the cell tower strength option to weak and still no, now I have it on disabled and it looks like wifi came right on, but I was already in my house. Will have to test this further yet. What exactly does that option do? Should I delete my wifi hotspot info and start over or that shouldn't matter?

How do I know if my phone (Verizon Galaxy S III) supports reporting cell tower info without screen on? The program hasn't yet notified me that it does. Also, on that screen where I schedule it, the check box is only for deleting that profile, not for making it active? Seems to be no way to edit an existing profile? Is the profile active as long as it's on that screen? There's no way to temporarily deactivate a profile? What if you have multiple profiles there? What if the times overlap?

What's "advanced view"? I'm not sure I've found that yet.
[Android Apps and Games] sebouh00:
You don't need to delete the hotspots. The signal strength option basically limits the validity of the cell. Instead of simply saying cell X is valid, the app will also check if the signal strength is within the range of the usual strength that your phone gets from this cell when connected to the hotspot.

If your phone does support it, you should get notified soon. The app checks if the phone's cell id or signal strength change while the screen is off. It has to change at least twice before confirming.

You can select the schedule you want to delete. No editing or deactivation yet. As long as it is there, it is active. you can set as many schedules as you want. The app will automatically check for overlaps and prevent you from creating that schedule.

Advanced view can be found in the menu (3 dots on the action bar), along with the rest of the options (clear, help, tips). It shows which cell you are connected to; what's the current signal strength; what are the hotspots linked to this cell along with their signal ranges.

It's quite useful for troubleshooting. You can know from there why auto-connect didn't work.

I'm interested to know how the update works on CDMA actually. I haven't had the chance to test it. Let me know when you do some more testing. It would be useful if you can send me the logs as well.
[Android Apps and Games] lexluthor:
Looks like it connects if I have strength influence to disabled. I'll move it back to weak again and see if it still doesn't connect.

Also, not sure what the use of automatic wifi lock is. I was a mile from my home for a couple of hours today and the lock came on. When I got back home, the lock was still on, so wifi never picked up. I guess without auto lock, my phone would turn wifi on every time I turned the screen on (or per the schedule if I set that too) and would scan wifi for a bit before going back off and that might be a little hit on the battery? On the other hand, for me, it's worse to then come home and have wifi locked off.

Maybe there could be a condition where the auto lock would disable on it's own if maybe the cell tower changed or strength changed? I'm not sure exactly how you implemented it, so maybe you are doing some of that already and I may have just been connected to the same tower.
[Android Apps and Games] sebouh00:
If you were connected to a valid cell, then as you said, it would have kept turning WiFi on, predicting that you're near a hotspot. You had the signal strength influence disabled, so it was going to think the cell was valid no matter what the signal strength.

Auto-locking is exactly for these scenarios. There are two options. You can either set it to lock permanently, or just for that hotspot. The latter will auto-unlock whenever you camp onto an unknown cell or one not associated with that hotspot. In your case, if you did in fact remain on the same cell, then it didn't get unlocked on its own.
[Android Apps and Games] lexluthor:
I just tried at a 2nd hotspot. It won't turn on wifi unless I have signal strength influence to disabled.

What can I send you to help you figure it out?
[Android Apps and Games] sebouh00:
Just the log file. I'll analyze and see what's going on. Thanks.
[Android Apps and Games] lexluthor:
I just sent you the log. Just look at the time frame around 11:10 on. That's when I went out of wifi range, waited a couple of minutes for wifi to turn off and then came back in range. Signal influence was set to weak at that time.
[Android Apps and Games] sebouh00:
Thanks lexluthor for your help.

The issue turned out to be related to LTE signal strength reading from Android. I've disabled that feature only for LTE. Will hopefully sort it out soon. v2.0.1 has been uploaded to the market.
[Android Apps and Games] sebouh00:
v2.1 is out. It has an important fix for CDMA devices and some additional options.
[Android Apps and Games] sebouh00:
Hi everyone. I've published a new update (2.2) on Google Play. You can now set triggers to enable/disable WiFi and Data connections, in addition to other improvements.
[Android Apps and Games] muldy:
Is the cell towers the only way to reference the location?

So it won't work on a wi-fi only device?

Can't you use 'coarse-location'? I think it's less aggressive than a full gps point?

I can translate to Portuguese if you want!

PS: oohh Coarse is network based :P
[Android Apps and Games] sebouh00:
Yeh. That's what it does. :)

Thanks for the offer to translate. I'll PM you the required text file.
[Android Apps and Games] Jimieo:
Giving this a go... I have to leave for my campus in a few minutes. Be a good test run. :)
[Android Apps and Games] pmgreen:
Very cool, wish there was something similar for BT. Have tried other apps that are supposed to do it, but no luck
[Android Apps and Games] knielen:
I'll give it a try, looks promising.

I don't have any experience with programming, but if translating ain't that difficult I can give it a try for the dutch language
[Android Apps and Games] nagpochenpo:
whats the difference to wifi jumper ?
[Android Apps and Games] jrub:
Installed and testing right now.

Is there any chance this gets open-sourced?
[Android Apps and Games] Jonzzon9:
There's already an app that does this and WAY more, called Llama by "KebabApps". :cowboy:

Link to Google Play
[Android Apps and Games] sevag00:
That's not what this app does. Totally different.
[Android Apps and Games] 5nickers:
The only Problem is that my Screen likes to turn on when the app turns off wifi :(

Jelly Bean Users get rid off the notification Icon by turning it off in the appdetails :)
[Android Apps and Games] Erikbronx:
Thank you. i'm giving it a try. I actually paid for one, but yours seems much more promising.
[Android Apps and Games] muldy:
Wifi turns off because its a option.

Check wifi preferences (some menu in there) and choose always on.

JB can turn the notification off... but i don't know if the process dies to...
[Android Apps and Games] karol1981:
How can i disable this notification,is piss me off

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Android Apps and Games] dudeman1996:
I think one feature you should definitely add to this, is the option to set the mobile connection to 2G when connected to WiFi, and to 3G when disconnected. I do this all the time since I don't need 3G if I'm connected to WiFi and it just drains battery. Brilliant app otherwise! :)
[Android Apps and Games] Manguish:
Nice one thanks !
[Android Apps and Games] dudeman1996:
Long press on the notification, click app info, then uncheck the "show notifications" box.
[Android Apps and Games] GTDarthYoda:
Just random, He has a more updated one on his blog geared towards Jelly Bean

http://kebabapps.blogspot.com/
[Android Apps and Games] JONBOY345:
This would be so much cleaner if it ould run in persistent mode without the constant notification.
[Android Apps and Games] Jimieo:
Well the app itself appears to have worked flawlessly..

My only issue was with my college's wifi, but that was just because they have it setup so you time out after x amount of time and it's not the typical just need a password.. I have to use my student ID and pass.. Oh well, that's my school's issue. Not your app's problem. :)

I like it.
[Android Apps and Games] sebouh00:
Probably in the future, when I get bored with it. :)
[Android Apps and Games] kirerux:
Genius!! loving it so far, keep up the good work.
[Android Apps and Games] rainabba:
Thanks to the Dev/OP!
[Android Apps and Games] ayysir:
tasker compatible?
[Android Apps and Games] JONBOY345:
Thanks but I'm on Viper4G, ICS Rom.
[Android Apps and Games] sebouh00:
Turn persistent mode off. Seriously, it's okay.
[Android Apps and Games] sebouh00:
To do what exactly?
[Android Apps and Games] RaAkhenaton:
Great app

I just downloaded Smart WiFi Toggler for everyone in my family. It's a great idea--and surprisingly simple to use.

Thanks again, and I'm posting this reply as a review on the Play store site.
[Android Apps and Games] DominiCOne:
Amazing Apps

Downloaded and testing right now, seems to work perfectly :good:

btw is there a NoAds version of it?
[Android Apps and Games] sebouh00:
Do you mean a paid no-ad version? Sorry, no. Google doesn't have merchant support for my region yet, so i can't publish paid apps.
[Android Apps and Games] DominiCOne:
Ok, thanks for your quick answer anyway this is very useful

Once again :good:
[Android Apps and Games] hmida.souheil:
This is really a powerful app, I mean the idea is awesome ;) just installed it and I'm gonna try it !!!:good:
[Android Apps and Games] tido89:
multiple networks with same SSID

Hi!

I just downloaded your app and wondered, will the app assign multiple locations for an SSID? For example I have a router in my flat and another at my parents' house(different city) with the same name. Will the app work at both places?
[Android Apps and Games] sebouh00:
It will work. Both will appear as one hotspot though, so you won't be able to set a different auto-connect setting for each. The reason is that it can't differentiate them because it is not possible to know the MAC address of the router until it is connected.
[Android Apps and Games] pwvandeursen:
was about to ask locale integration when I saw this. my issue is that I work at different locations for the same company with the same SSID on all localtions. unfortunatley it does not work as good everywhere, and sometimes I just want to go to 3G instead of Wifi. with Locale I can then shut of wifi at certain locations.

does that make sense?

it could also solve the issue raised in the previous reply. different usecase, same solution... ;)

Patrick
[Android Apps and Games] Drhedphuk:
I love this app, well done..... BUT! is there any way to get Rod of the notification symbol or make invisible in the status bar?
[Android Apps and Games] sebouh00:
I got your point. It is technically possible to disable auto-connection for certain group of cells or by using the location area code (depending on how far apart the locations are). I'll make a note of this. :)
[Android Apps and Games] sebouh00:
If you're on Jelly Bean, long click on the notification, open App info and uncheck "Show notification".

If not, disable persistent mode from the app's preference. The app will still work fine.
[Android Apps and Games] Skyr:
Could you drop a comment on the required permissions? What's the reason for "full internet access" and "read phone state and identity"?
[Android Apps and Games] puked:
I could translate it to German if you like.
[Android Apps and Games] sebouh00:
Internet access is required by admob. The app has an ad banner at the top.

I believe phone state information is not necessary anymore. I must have left it there when I was first testing some stuff. I'll remove it from the next version.
[Android Apps and Games] Skyr:
Thanks for the fast reply!

Did you ever consider creating a paid version? I'd rather pay some cents for an app than having some ad network drain my (limited) bandwith or playing the cat-and-mouse game with an ad blocker...
[Android Apps and Games] Deadly:
Read few posts above in previous page.. http://xdaforums.com/showthread.php?p=34741312

he has answered it few hours ago..

@op... great work man.. will install now and see how it goes.. thanks!

**Nothing is True... Everything is Permitted**

Muffins.. muffins everywhere!
[Android Apps and Games] Skyr:
Whoops. Sorry, entered the thread at 90+ posts and just scanned over them... must have missed that one.
[Android Apps and Games] Jonzzon9:
Please point out the differents?:confused:
[Android Apps and Games] marty331:
I tried to download this for my Nexus 4 but it's not compatible. OP will you be updating this app?
[Android Apps and Games] Deadly:
Difference is.. that is a Mega functions app...

This one is totally dedicated app related to Wi-Fi... so if you have problem with this app.. then no one is forcing you to use this app...

You can choose whatever app you want to use..

Don't post other apps claiming they do way more than this app in an app development thread and discourage devs...

Every person has their own preference for apps... for ex for me.. I would like to have app which just handles my wifi instead of the app you told which will take more resources and battery as it needs to monitor more aspects of phone..

Let the op do his work... if you want use the app and be thankful... if not just G....

I seriously can't understand why people do this...:mad:

If I hurt your feelings.. sorry mate... its just not nice and very rude to mention other app in an app development thread claiming it does this... this app is still in development.. let the op do his magic... this app might become better than that app...

**Nothing is True... Everything is Permitted**

Muffins.. muffins everywhere!

PS: op... sorry for my rant.. I just felt bad... if my post was wrong.. please report it and I'm sorry..
[Android Apps and Games] Jonzzon9:
Just wanted to tip others of a similar app.

Sorry for being a **** head... :(
[Android Apps and Games] sebouh00:
It should be compatible with Nexus 4. I've can see reviews from users who are using Nexus 4.
[Android Apps and Games] zoot1:
Not available for Samsung Galaxy S3 GT-I9300 in India in the Play Store....
[Android Apps and Games] sebouh00:
I wonder why...

Anyway, here's the apk.
[Android Apps and Games] dxdisaster:
Liking this app quite a bit, but I've noticed some odd behavior.

The process itself seems to show 10-15% CPU usage with WiFi on and 2-3% usage with WiFi off at all times, even with the screen off.

Not sure if this is a bug or something else, let me know if there's anything I can do to help.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

17010 10103 18 -2 330m 43m 24m S 10.2 5.6 3:40.44 martwifitoggler
[Android Apps and Games] bjhanifin:
Your app is featured on Lifehacker.com today! :)

Does it enable data when WiFi is turned off? I leave data off all the time to conserve battery... so I am curious.
[Android Apps and Games] Karlo666:
I really dont know why to download this app when you can do same and much more whit Tasker whit minimal usage of battery????:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes:
[Android Apps and Games] Deadly:
Exactly my friend :rolleyes:

you don't know ANYTHING

Read this to know more:)

http://xdaforums.com/showthread.php?p=34751613

**Nothing is True... Everything is Permitted**

Muffins.. muffins everywhere!
[Android Apps and Games] tmello56:
Installed on Nexus 4. Went to networks to setup auto-connect but it just says 'unkown' underneath each. When I select a network the only option that comes up is to 'forget network.' The app then cycles on and off of wifi when I'm at home, which is a network I'd prefer to have it auto-connect to. Any suggestions?
[Android Apps and Games] Link_of_Hyrule:
When Wi-Fi is automatically enabled will it automatically disable Mobile Data or is that an option yet?