yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Flyview:
Yea that isn't necessary. LeanData is already a service and is built so that it can withstand being killed and recreated. The problem comes with KitKat where if the system kills a service, it no longer restarts (shows 0 processes in Running Services) like it should and did in other versions of Android. This is why you can't swipe the app away from the recent apps list. If the system is low on memory the system can also kill the service and then it fails to restart. I'm going to add an option for a persistent notification.
[Android Apps and Games] RobboW:
I think forcing it to close connections even if they are being used could be a problem. What if it's auto updating something, doing an OTA or similar?
[Android Apps and Games] Flyview:
Screen would be on for this wouldn't it? Nothing catastrophic could happen, I'm sure manufacturers know internet could cut out at any time for their updates.
[Android Apps and Games] macia10:
Great work there :D I'm waiting for force off option. Its the only thing I miss in this app :)

Btw for how long the sync works when using the option to wake for sync?
[Android Apps and Games] Flyview:
Bluetooth fix finally coming! I found a bug (Bluetooth being disabled when it is connected).
[Android Apps and Games] WhiteEVO:
Great job! Can't wait!
[Android Apps and Games] paul c:
Hi Flyview, the configuration which caused the phone signal to toggle, was in fact a "connection manager" in my AOKP ROM: it switches to 2G when connected to a wifi network. 3G generally, but more so with the Nexus4 is quite a drain... I switched the connection manager off, as a result the phone does not toggle, and also the lag to reconnect to wifi goes down to about 5 seconds, from 10 when it had to manage the 2G transition.

---------- Post added at 12:37 PM ---------- Previous post was at 12:18 PM ----------

Over the weekend - before the last release, I had noticed that if I remain within the range of my wifi network, the phone will wake up and connect (first to the network data connection, then) to wifi.

However, if I leave the range of the wifi network, and the phone connects periodically to the network data connection, when I return to the wifi network, it still only connects to the network data connection. When I look at the wifi network, in settings it is "on" but greyed out, and when I enter into wifi settings itself, there is a message saying "turning wifi on", which never actually completes. The only way to recover the wifi service is to reboot.

This issue, I think, it 4.x related, since Juice Defender stopped working for me when I changed to JellyBean - and I tried DS Battery Saver, and I had the same problem. Others on the DS Battery Saver xda thread also mentioned it, without a solution being found (at least until I stopped using it).

I suspect it's related to either the phone or wifi sleep state, since if I record a logcat it doesn't happen....

With the last release, even on my wifi network, when the phone wakes up again, it only uses network data, and wifi is "turning on" without actually completing the turning on.

(N4 KitKat, ROM Android Ice Cold Project, Hellscore kernel. Lean data settings: all options selected apart from manage BT, disconnect after 1 minute, reconnect every 10 minutes. Wifi advanced settings: "keep wifi on during sleep: always", auto wifi band, "wifi optimisation: off", using a fixed IP since this I found this reduces wakelocks)
[Android Apps and Games] Flyview:
Interesting. The only time I remember WiFi getting stuck "turning on" was years ago on my Motorola Milestone! I'm afraid it sounds like a phone issue to me. It is working fine on my 4.4.2 Nexus 5, and in fact the majority of the users are on KitKat.
[Android Apps and Games] tmacher:
As for the 2g<->3g switching maybe you can look at this xposed module http://xdaforums.com/nexus-4/themes-apps/app-intelli3g-2g-3g-4g-toggle-battery-t2580234
[Android Apps and Games] sergej_7:
the problem is when i use audials radio with leandroid, after turning the screen off the radio stream keeps running, if i enable intelli3g it still switches to 2g even if the radio stream is running in the background and i set it to not interrupt downloads, will try to ask the developer maybe i will achieve my wish combination to have best of both worlds :laugh:
[Android Apps and Games] lparcshinoda:
Could be possible some switch in the notification (maybe as expandable content)?
[Android Apps and Games] Flyview:
Ya, I thought of that too. Anything is possible. I will try.

Sent from my Nexus 5
[Android Apps and Games] fatspirit:
[IMG="To infinity and beyond!"]http://www.enjoyart.com/library/theater_film_music/disney/large/buzzlightyear.jpg[/IMG]
[Android Apps and Games] Flyview:
Does intelli3G run on all devices?

EDIT: No, it doesn't, it requires xposed and 4.1 +.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
LeanDroid is almost at 50k downloads (49 768)! Can't wait to see 50k in the Google Play store (as opposed to 10k). Keep spreading the word and thank you for all the good feedback it's had so far!
[Android Apps and Games] Darke5tShad0w:
Congrats on that many downloads. My friends and I couldn't live without your app :)
[Android Apps and Games] tenghc:
Hi Dev,

Can you add different enabling interval at selected time? Because the only option that the app have is disable the connection at selected period. As example, I wish I could have different interval while i'm sleeping than no connection at all while sleeping.

Anyway, you can ignore my suggestion because this is your project.

The app itself so far is the best functioning app! Keep up the good work dev!
[Android Apps and Games] makkie88:
at my nexus 5, sometimes when Wifi turns off by Leandroid it will not turn on again, of will not reconnect, (cannnot even turn wifi of and on again) the Phone needs a reboot before it works again.

is it a common problem? can i track or log anything for you?
[Android Apps and Games] Darke5tShad0w:
You can try disabling leandroid and activating "keep wifi on during sleep" to never and see if that produces the same issue.
[Android Apps and Games] Flyview:
You mean different interval for the "Periodically re-enable"? I'm trying not to overly complicate the app. Don't worry, the periodic re-enabling doesn't use too much battery. Making this interval longer while you sleep won't have much of an effect on battery. Plus, if you set the exception to end half an hour before you wake up, you should still wake up to all your notifications since a periodic re-enabling will be triggered right before you wake up.

Really? I thought this was long fixed. I have LD enabled constantly on my Nexus 5 and have never seen this, even when it was a bug on other phones (like the Nexus 4). Are you on the latest version?
[Android Apps and Games] Flyview:
New beta uploaded:

2.3.0b

-Added ability to disable cellular radio (airplane mode) on KitKat ONLY, requires root!

-Fix for disable alarm not being set when only GPS needs to be disabled

-Added Malay translation
[Android Apps and Games] krazie1:
[MENTION=2584205]Flyview[/MENTION] how would we keep data connected when listening to Pandora/Spotify & screen is off, my data turns off after 7 min?

EDIT: Nvm I'm searching the thread

EDIT 2: What data limit would you recommend when streaming Pandora/Spotify?
[Android Apps and Games] krazie1:
I still can't figure out the Pandora stopping during screen off issue, so what exactly should the Minutes be set to & the Data Limit set to?
[Android Apps and Games] Flyview:
So you're having issues where the "streaming" is stopped? What is your disable interval time, 7 minutes? Do you have "except if active" checked (limit shouldn't matter too much, unless you set it to over 10kB/s).

Basically, you want to allow a long enough time for LD to catch activity once the screen goes off. The way some of these "streaming" services work is that they don't actually stream at all, they download the whole song. So if the whole song is downloaded while the screen is still on, then you turn it off, LD doesn't see any activity, LD shuts connections off, then Pandora tries to download the next song and it can't. So you want to set the disable time to just over the length of your average song (assuming they download an entire song at once). The limit refers to the average transfer in kB/s while the screen was off above which LD should not disable WiFi/Data. Song streaming is about 24kB/s (for 192kbps song), so if you set it to <10kB/s you should be safe. Makes sense?
[Android Apps and Games] halifage:
[MENTION=2584205]Flyview[/MENTION] Hi. Sorry if this question was already asked but what happens if you someone tries to call you on viber or Skype while phone is idle with screen off? Does leandroid push these through? Thanks
[Android Apps and Games] Flyview:
Nope, there's no way it can detect them coming in with no internet. You'd have to leave Wi-Fi or data un-checked.

Sent from my Nexus 5
[Android Apps and Games] TrueFriend-cz:
Thank you very much for airplane mode. You software is best planner on the world.
[Android Apps and Games] Flyview:
It's not complete yet, still in beta. I would also like to add an airplane mode schedule in addition to grouping "cellular radio" along with the other connections. Also note, the current option isn't full airplane mode (just cellular radio), if you do not select to disable WiFi, it won't turn WiFi off ;)

I think the next full update won't include it though, but I'll update another beta with it after 2.3.0 comes out.
[Android Apps and Games] Flyview:
2.3.0 and 2.4.0b have just been published!

2.3.0 (October 5, 2014)

-New custom notification with toggle switch

-Reduced memory use when using notification!

-Do not periodically re-enable GPS (useless, causes Google to actually use it during internet re-connectivity)

-Fixed freeze if went to "Except" screen too quickly on slow internet connection

-Fix for disable alarm not being set when only GPS needs to be disabled

-Added Malay translation

-Subtle layout changes

2.4.0b

-Added ability to disable cellular radio (airplane mode) on KitKat ONLY, requires root!
[Android Apps and Games] Flyview:
Is the newest 2.4.0b still working to disable cellular radio on your device? I just realized it isn't working for me.
[Android Apps and Games] ExSport:
[MENTION=2584205]Flyview[/MENTION]: What about the possibility to disable BT in case it is connected but idle? (e.g. listening music via BT headset/earphones)

Useful in case you will play music for e.g. 60min before sleep (with automatic stop function) so BT and also earphones are automatically disabled (when disconnected) at time music stopped playing so mobile and also earphones will not be discharged?

Many thanks!
[Android Apps and Games] Flyview:
This has been suggested before. I'm not sure how easy it is to determine if music is playing through Bluetooth.

Sent from my Nexus 5
[Android Apps and Games] ExSport:
Yeah, I suppose it was by me:)

Hopefully it will be possible.

Thx
[Android Apps and Games] makkie88:
with wifi turned off during sleep i don't have that issue.

yes, i'm running the last version, also last android version 4.4.4

whats your specific wifi stting? (at android settings) (keep wifi on during sleep, google location service, wifi optimalisation)
[Android Apps and Games] Flyview:
Pretty strange considering we have the same phones.

Here are my advanced Wi-Fi settings.

Sent from my Nexus 5
[Android Apps and Games] TrueFriend-cz:
After reset phone and install new ver.app 2.4xx have problem with registration. Program is unregistered. How i can reregistration?
[Android Apps and Games] Flyview:
It should just work. Are you signed in to Google Play? Have working internet connection?

Sent from my Nexus 5
[Android Apps and Games] TrueFriend-cz:
Yes :) i have two accounts on Android. Account1 has been primary and Account2 for registration SW only (its old account from migration, all sync is disabled). If i install from GPlay as Account2, or from local apk from backup problem stay.

Legend:

Account1: primary account, sync on, no joined beta program.

Account2: all sync disabled, joined to beta program, only for licencing sw.
[Android Apps and Games] Flyview:
You have to install it with the same account selected in Google play as the one you bought it with.

Sent from my Nexus 5
[Android Apps and Games] TrueFriend-cz:
It is. Account1: primary account, sync on, no joined beta program.

Account2: all sync disabled, joined to beta program, only for licencing sw.

I download from Account2.

From Account1 i can only stable version.

Do you can check my registration account (by mail from GPlay)? I'm not sure if I'm joined to the beta program the right account.
[Android Apps and Games] Flyview:
I'm confused. This should have nothing to do with beta. Which account did you initially purchase premium unlock with?
[Android Apps and Games] TrueFriend-cz:
Sorry, i checked. Yes it is right. From Account2 is for buying sw and payed from this.
[Android Apps and Games] Flyview:
I'm not sure what will work. The in-app-billing library is choosing the wrong account to check. I would uninstall LD, clear data on Google Play store, open Google Play Store, set account to account 2 (or whichever you purchased with), download and re-install LD.
[Android Apps and Games] TrueFriend-cz:
Ok, for testing. I install rom+gapps, wizard setup account and use system but add Account2 as first, Account1 as second. After install you beta 2.4.0b.
[Android Apps and Games] tech_girl:
I used to have a LeanDroid version not sure of the version number. I havent been following your development as I jumped over to iOS and now am back on Android.

I remembered that there was an option when screen is turned on, the cellular radio and wifi would turn on and if no wifi is available, it would turn off wifi.

For the current version, I dont find this feature any more. Which version was that? Thanks.
[Android Apps and Games] Flyview:
Hi there,

That could never have been a feature as I have never wanted to interfere with what the user left connected, once the screen comes back on. Everything that was disabled by LD is re-enabled. Welcome back, it's gotten a lot better.

Sent from my Nexus 5
[Android Apps and Games] makkie88:
this night it happend again:

wifi turned on but "lost" the preferd networks, and could not connect to a found one. after reboot it "found" the preferd networks again and automaticly reconnected..

--

Now i turned off the Wifi optimalisation.. maybe that setting conflicts?

also Avoid bad connections and scanning Always available is turned on at my Phone.

I will keep you posted
[Android Apps and Games] TrueFriend-cz:
Test for licensing ended. Problem stayed. Maybe problem with Google Play for support testing channel and licensing services.

If i install Leandroid 2.3 from Account1 and run then license ok, after upgrading to 2.4.0b from Account2 and run then license ok.
[Android Apps and Games] fatspirit:
If you don't really need these options, then switch them off. Maybe that would help.
[Android Apps and Games] makkie88:
it failed again with "wifi optimalisation" turned off

now turned off

'"scanning Always available"

Only "avoid poor connections" is turned on

Keep you posted
[Android Apps and Games] Flyview:
You realize if "scanning always available" is checked, WiFi never turns off right? Whether with LD or without. Thanks for running these tests!
[Android Apps and Games] kala123:
Maybe add an option to turn of WiFi tehering(hotspot) when there is no connection in Hotspot anymore
[Android Apps and Games] Flyview:
If WiFi itself turns off, there's no need to turn the hotspot off, it should turn off itself with the WiFi. Does that make sense?
[Android Apps and Games] abhishekSPS:
:good:

hi i had ur app on my gs4 really like ur app

now i have got moto g dual sim

just wanted to ask if it works on dual sim phones as well
[Android Apps and Games] fatspirit:
1. Overquoting is bad

2. See Note section of the overquoted post.
[Android Apps and Games] makkie88:
no i did not realise, but now it seems logic, thanks! This seems to work for me!

(is maybe a good one for "tips" in the app? for other stupid people like me; or a button to disable "scanning always available")
[Android Apps and Games] Flyview:
Good idea, I'll see if I can toggle it off programmatically. Believe me you haven't been the only one.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
It may or it may not work, or it might work only for one SIM, give it a shot. It depends on the manufacturer's implementation. Let me know!

Sent from my Nexus 5
[Android Apps and Games] mrgigabyte2002:
hi i am liking your app very much

i would like to ask a question about buying pro version i see its 2.99

is that the price for all of the pro features and when you add new paid features

do we need to paid more or are they included for the one time 2.99

i am a little confused in the play store this is what i see

In-app Products

$0.99 - $9.11 per item

i have no problem paying 2.99 i think That's fair

thanks a happy user
[Android Apps and Games] Darke5tShad0w:
It is for all the current pro features.

New features that have been added over time we have not had to pay more for but im not the developer so I can not answer for the future.
[Android Apps and Games] Flyview:
Hey, the price is a one time charge for all current and future premium options! The price on Google Play is picking up the entire range of in app purchases which include the $1-10 donations.

Sent from my Nexus 5
[Android Apps and Games] mrgigabyte2002:
Thanks for the quick response

I'll be buying it today
[Android Apps and Games] kirtandoshi:
Lean droid stops working after some time. Assistance needed.

Hello all,

I have the pro version of leandroid running on my Exynos Galaxy Note 3.

Up until a few days back, everything was running fine. Then i downloaded and installed Unbounce Xposed module and stopped a few wakelocks which were apparently safe to unbounce.. The wakelocks I unbounced are :

Syncloopwakelock

Icing

Nfcservice:mrouting wakelock

Nlpwakelock

AudioMix

StartingAlert Service

Nlpcollector wakelock

AudioIn

Location Manager service

GPS location provider

FBclientConnManager

Com.appyet.wake_lock_tag

com.quoord.tapatalkpro

*sync*/com.google.android.

*sync*/org.mozilla.firefox_beta.db.browser/org.mozilla.firefox_beta_fxaccount/eM_ADDR

Apart from This, i am using Greenify and Recent apps cleaner Xposed module also. Leandroid has been excluded from being greenified or killed by both these apps.

however, i notice my wifi stays on after turning the screen off sometimes. I don't have "Always keep wifi on for scanning" checked either.

So what might be causing this behaviour from Leandroid?

Appreciate any help and advice i can get.

TIA

Kirtan Doshi
[Android Apps and Games] Flyview:
Hi Kirtan,

I have never messed with xposed like that so it's hard for me to speculate. Can you confirm that things start working again consistently without it?

Sent from my Nexus 5
[Android Apps and Games] kirtandoshi:
I'll remove unbounce and see if that works. get back to you in a couple of hours.

Thanks for the reply! :)
[Android Apps and Games] kirtandoshi:
Ok.. I found out the problem. It was my stupidity. :o

I had set it to disconnect wifi only if the speed was less than 5kb/s as my internet connection at my workplace is really really bad.

since the last few days apparently, i am getting more than 5kb/s all the time...so it was doing what it was supposed to do and not disconnecting the wifi if something was being downloaded...like my RSS feeds or app updates..

set it to 50kb/s and now it connects and disconnects fine every time...

sorry for the trouble.

thanks!
[Android Apps and Games] Flyview:
Interesting, that's a lot of background transfer.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
New beta is up, please let me know if your settings are reset by any chance (they shouldn't be).
[Android Apps and Games] Darke5tShad0w:
Only setting that changed for me was the show notification one, i had to reenable it
[Android Apps and Games] Flyview:
Weird, an update from one version to the other with notification enabled worked for me.
[Android Apps and Games] Darke5tShad0w:
Its the only time it has happened for me but the rest of the settings stayed the same.
[Android Apps and Games] Flyview:
Well, the real issue might be hidden...

The reason is the beta now uses 2 sharedPrefs files, one for the main process and one for the process used by the service. It's possible now your service has the wrong values and you wouldn't know. Can you browse to /data/data/com.teqtic.leandata/shared_prefs and send me or upload the 2 xml files?
[Android Apps and Games] Darke5tShad0w:
Here you go

https://www.dropbox.com/s/gwc9biwh3fzlvad/Leandata.rar?dl=0
[Android Apps and Games] Flyview:
2.4.0 Beta 5 is up.

Some new stuff in the notification, like which connections you've chosen and the total time spent with something disabled by LD.

It still has a bug where if you change a setting from the activity, the time gets temporarily reset to 0 until you restart the service or LD disables/re-enables.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
Updated this time with no issues.

Thanks for the new fetures the total time and what its set to disable in the notification is good.
[Android Apps and Games] zingzongzang:
Just curious how I could download this newest beta?
[Android Apps and Games] Flyview:
To join the Beta tester group:

1) Join this group first: https://plus.google.com/communities/109843847633844615363

2) Then, opt-in here: https://play.google.com/apps/testing/com.teqtic.leandata

You will then receive the beta updates directly through the Play store. Please keep in mind these beta versions will often have bugs!
[Android Apps and Games] Darke5tShad0w:
[MENTION=2584205]Flyview[/MENTION]

My wifi and data is no longer disabled with the newest beta. I have provided a catlog but not sure if its any good as theres nothing with the app name that i can find.

I have tried to restart, disable/reenable options and start and stop the service basically everything short of reinstalling the app.

https://www.dropbox.com/s/nh1bce1yyrotokn/cat.txt?dl=0
[Android Apps and Games] Flyview:
Yea there's no logging. Are you sure your connections weren't active? I didn't change anything having to do with that from b5 to b6.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
Yer i just saw there was another update. It was with b4 and better b5. I have noticed it seems to work after the first restart then not after that.

Yes im sure, i have verified with a ping test as soon as the screen is unlocked.
[Android Apps and Games] Flyview:
Sorry I'm a bit confused. Can you run me through your testing step by step? Everything is working fine for me. Thanks for the testing btw.
[Android Apps and Games] mrgigabyte2002:
immediate disconnection

Hi Flyview

loving your app, i do want to asked for one thing to be changed through

i really like on the app i was using before yours was that it had immediate disconnection

i understand what you said in other post but i would like to at less have the option , then if someone wants to use that they can . i also early in the day join your google plus beta program and i have a droid maxx so when it gets updated to L i will be using betas to help out also

could you please think about immediate disconnection i really miss having that option

thanks for your time
[Android Apps and Games] Flyview:
I'll think if it's possible, but really I've been avoiding it because the app can run into bugs if I allow a time of 0. The disconnects are not instantaneous. What happens if you turn the screen off (kicking off the disconnects), but then you turn it right back on (and don't have a lock screen)? Things could get mixed up. Also, the option "except if active" would no longer work, since it needs some time from screen off to figure out if there's any activity. I know it might seem simple, but it's really not.