yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] j4velin:
it is called "ViewService" on Android 2.x but i just checked the code and found a problem with the battery update. i'll update the app soon to fix this (see beta version in the attachment)

could you try it with Superuser? never heard of that issue before and can not reproduce it with the Superuser app (havent testes SuperSU yet)

i'll do, thanks for the update

there should not be any noticeable battery drain. i dont know how to implement a screenshot feature, i guess that's something complicated as there are several dedicated apps for that

yeah, that warning is kinda scary. the accessibility service which comes with the app only uses the "typeNotificationStateChanged" feature of the accessibility options, which can not read any input. but as android doesnt distinguish between the available accessibility features, it always shows that warning. and some accessibility apps (like TalkBack) can read all text input (also credit card details) to speak them out loud. so if the android system would look at the actual code, it wouldnt need to show the warning as NT can not read any data. but again: i hope to fix the battery not updating problem in the next version. i attached the current beta to this post, so you can test if it now works without the accessibility service (might require a reboot after installation)
[Android Apps and Games] OstrichSak:
I'm tentative about messing with this as I updated Superuser on a previously rooted device and lost root amongst other headaches as a direct result. There has to be something else going on here.
[Android Apps and Games] decmk:
@j4velin

Attached beta v2.3.1 still do not work without accessibility. No running service at all.

EDIT: Enabling or disabling one random toggle icon get updated.

EDIT2: With accessibility this two is constantly running.
[Android Apps and Games] j4velin:
i guess the second one in the second image is the ViewService. It's running in the main process so that might be why it's not explicitly called "ViewService". have you rebooted your device after installing the beta?
[Android Apps and Games] decmk:
@j4velin

Yes two times
[Android Apps and Games] j4velin:
okay... i added the debug build to this post, can you install it, reboot a third time and send me the log? (filter for tag "NotificationToggle")
[Android Apps and Games] decmk:
Where is log file?

How to get?

Edit: This?

I/ActivityManager( 124): Start proc de.j4velin.notificationToggle for broadcast de.j4velin.notificationToggle/.BootReceiver: pid=663 uid=10098 gids={3001, 3002, 1006, 1015}
D/StatusBarService( 193): addNotification notification = StatusBarNotification(package=de.j4velin.notificationToggle id=140 tag=null notification=Notification(vibrate=null,sound=null,defaults=0x0,flags=0x22)), key = android.os.BinderProxy@405b5450, fullScreenIntent = null, contentIntent = PendingIntent{405b5610: android.os.BinderProxy@405b55d8}
W/PackageManager( 124): Unknown permission android.permission.MANAGE_USB in package de.j4velin.notificationToggle
I/ActivityManager( 124): No longer want de.j4velin.notificationToggle (pid 663): hidden #16
[Android Apps and Games] Dylanwerre:
great!

works great on sony xperia s , thanks man
[Android Apps and Games] mmdevelopers:
Really nice app :)
[Android Apps and Games] j4velin:
yes, that's the beginning of the log file. but it should contain way more text when using the debug build
[Android Apps and Games] decmk:
That all i get using aLogcat free.
[Android Apps and Games] Whyzor:
Really like this app, makes stock ROMs bearable after using similar CM7 feature for so long.

I noticed that mobile toggle just switched to an inactive APN, it'd be nice to have a real disable mobile data toggle when installed as root.

Right now the mobile toggle is always displayed as active so cant tell by the icon colors.
[Android Apps and Games] j4velin:
mh strange. normally even the free version should show all logcat messages. can anyone else test it?

also i've setup a little translation website for a comfortable way to localize the app. so if you want to see the app translated in your language in the next version, feel free to add a translation here: http://vps201.fra05-inx03.webhod.de/thomas/j4velin_development/translations/index.php?app=nt
[Android Apps and Games] decmk:
Check PM
[Android Apps and Games] osm0sis:
Just wanted to re-report the minor bug that the NFC shortcut doesn't close the notification pulldown to show the advanced connectivity settings like it should on non-rooted devices.
[Android Apps and Games] frmariam:
Just recently I got my very first Android device (finally migrated from WinMo) and this app is a much needed enhancement.

I still can't believe my device hasn't a decent task switcher (and I was so used to wKTask in WinMo)... Would it be possible for you to list running apps in the notification tray (making the row scrollable if the list is big)?

How about launching this app settings by holding any of the icons in any of the rows in the notification bar? Is it doable?

PS: Is it possible to edit the rows background color? I can't seem to do it...
[Android Apps and Games] phone_user:
Thanks!
[Android Apps and Games] romvahav:
Hi,

first of all thank you for the app.

Second, i have some problems with this app.

I have htc desire and my rom is r2zm 4.4 HOLO (2.3.5)

my problem is when i press on the toggles they dont do nothing or they enable other toggle, for example if i preas on wifi toggle its disable the mobile data.

I have to mention that i check the app on the accessibility and i reboot the phone.

Where am i wrong?
[Android Apps and Games] leezhang:
Downloading

I'm downloading now,will see how it works~
[Android Apps and Games] j4velin:
thanks, i'll fix that

for the task switcher: just long press your home button. it would require additional permissions to get information about currently running tasks so i dont plan to implement such a feature.

long-pressing a notification or scrollable notifications are not possible :(

but the background color is changable in the "icons & colors" section

are the actions "mirrored"? to pressing the middle works, but pressing the most right will trigger the most left? then you need to change the "left-to-right" option in the settings

spoiler: works great
[Android Apps and Games] romvahav:
J4velin, thank you, now its working!

Another question, there is option that i will long press on wifi or bluetooth and it will takes me to the menu of bluetooth/wifi?
[Android Apps and Games] decmk:
Minor bug

Small window with brightness setings do not update icon in notification if you set new brightness and close with back button
[Android Apps and Games] romvahav:
thank you.

minor bug, when I press on Lockscreen toggle its not disable the lockscreen. (this option exists on my rom)
[Android Apps and Games] j4velin:
i'll fix that

you need my other app "Delayed Lock" for this toggle

i guess that problem is related to your superuser app (you're using SuperSU?). it works fine with Superuser
[Android Apps and Games] cutmylifein2:
Awesome app hats off superb
[Android Apps and Games] blackbearblanc:
Would it be possible to implement these custom toggles as widgets to the home screens?

Dropbox stash: http://db.tt/5tTjl8VS
[Android Apps and Games] zliffer:
working great on my sgs2 ics :D
[Android Apps and Games] OstrichSak:
Guess? Well, I'll email the dev of that app then and see if it's something he can fix.
[Android Apps and Games] romvahav:
I dont know how to use this app, i try to do some option in the app with no success :/
[Android Apps and Games] Niri.M:
Couldn't thank you enough for this nifty little app. Beautiful app interface, too. Can't say the same about the icons though! (I know they can be replaced)

Two things:

1. The screen timeout menu has the text chopped off. Please see screenshot: imgur.com/gBvKL

2. Request for making the app notification icon Transparent like some other apps have implemented.

A big thank you!
[Android Apps and Games] jonstrong:
Very nice - thanks so much for this. Incredibly useful. Convenient place to stash so many toggles without having to give up any home screen real estate, and of course the Notification screen is always available from any screen. For a wish list - it would be nice to have some more control over appearance, and possibly load an entire set of icons all at once - i.e., as a theme of sorts. Whether or not that happens, though, this is an excellent app - great functionality, simple / easy to use, performs well. Thanks!
[Android Apps and Games] j4velin:
it'd be possible but the intention of the app is to replace home screen widgets, not to add more of them

you shouldnt download an app if you dont understand what it does

easy fix: just add more toggles, so the icons get smaller :D

simply select "transparent" in the settings (menu button)

with the "icon downloader for NT" app you can easily select the new icons you want, click download and they should automatically replace the ones you currently use. icon packs itself aren't a very good idea because most of the themes contain several icons for the same toggle so you're free to use the one you prefer. also not every theme contains icons for every toggle (yet)
[Android Apps and Games] Niri.M:
Thanks for the response. I wasn't aware of the "Settings" area until I looked for it really hard today! You've got it perfectly covered with not only Transparency option, but also battery percentage as well. Now that's what I call a really smart app!
[Android Apps and Games] osm0sis:
Can't wait to see how awesome Notification Toggle becomes once Jellybean 4.1 extended notification stuff gets added in :D
[Android Apps and Games] rjax:
Just what I was thinking! Seems possible that long-press functionality could be added?
[Android Apps and Games] akromatic:
hi, this app is awsome however i cant seemed to add the phone dialer to the app
[Android Apps and Games] phone_user:
This app works well on JellyBean (Galaxy Nexus JRN84D) :)
[Android Apps and Games] j4velin:
i wished they'd sell the nexus 7 in germany :(
[Android Apps and Games] ragnarokx:
The app is not showing up until Accessibility Settings in Android 4.1. How do I set it as an accessibility service to keep it on top?

Sent from my Galaxy Nexus
[Android Apps and Games] j4velin:
the attached version should appear in JB in the accessbility settings. i've also set the "priority" of the notification to "max" - not quite sure what does that, maybe you don't need the accessibility service any more? can someone test that?
[Android Apps and Games] quiro91:
I'm going to test it now
[Android Apps and Games] quiro91:
It actually appears in accessibility setting, but then it doesn't appear in the notification bar
[Android Apps and Games] chakra:
where do you load the themes?
[Android Apps and Games] Wesleyy:
looks great. thanks
[Android Apps and Games] chakra:
which one are you using the one from the play store or the one from a few posts back?
[Android Apps and Games] quiro91:
the one he posted few posts back
[Android Apps and Games] Phiber2000:
Jelly Bean Update

Now it's shown in accessibility settings under 4.1 too. Thanks!

Works like a charm again!! :good:

Sincerely

Phiber
[Android Apps and Games] j4velin:
do you have the official JB OTA update or a custom port?

you can load alternative icon by clicking on the "download alternative icons" button
[Android Apps and Games] ragnarokx:
Working great for me - Galaxy Nexus GSM 4.1 stock
[Android Apps and Games] jmart518:
Thanks, this was one of the few things I missed when I went to JB. Working great!
[Android Apps and Games] cyansmoker:
1. Thank you, thank you!

2. About to move Notification Toggle to system/ I decided to take the lazy road and use /system/app mover, which is also free (awesome!) and read "This app uses the RootTools Project"

=> OMG karma! :highfive:

+1 for open source, yay.
[Android Apps and Games] j4velin:
thank you for the library, wouldnt have made the app without it :)

also i attached a new beta to this post with two new features for jelly bean users:

- you can now set the "priority" of the notifications: maximum priority should keep the notification on top, even without accessibility service. minimum priority will remove the status bar icon and keep the notifications at the bottom.

- you can now define a "maximum toggle per line" number with the following meaning: if the notification uses its "big style" you'll see severall lines of toggles (depending on how much toggles you've set up). in the "normal style" you'll only see the first line. to get the "big style", you can move the notification to the top (either by setting its priority to max, or clear all other notifications) or use a swipe gesture to expand it
[Android Apps and Games] decmk:
When you use custom icon for some toggle from sdcard, and later you move or delete icon from sdcard, that toggle is back to default icon.

I suggest when you choice custom icon, notification toggle to make a copy in his own data folder and use from there instead of original location. Need to cache only user defined icons.

Please add language selection in menu and update translation.
[Android Apps and Games] Whyzor:
Great app, an idea for the brightness menu, is to have a way to set min and max values. I often want to just quickly adjust to dimmest room brightness, but on my device the minimum allowed is TOO dim, so it takes me a while to get it exactly. Having customizable "notches" would also help quickly adjust it to a preset.
[Android Apps and Games] ragnarokx:
Pretty slick. I turned off the accessibility service and set priority to 5, and the toggles stay at the top in Jelly Bean. Nice work!

Sent from my Galaxy Nexus
[Android Apps and Games] Hash123:
sorry for noob question but how can I set the priority I couldn't find it anywhere :eek:

other thing is there a way to remove the battery from the top instead of keeping it transparent cus it will be an empty spot in the status bar
[Android Apps and Games] j4velin:
sorry, but i dont want to do this. if the user deletes the icon, i think he might not want it to be still stored in another folder.

but if the display is too dim, how'd you find the "max" button then?^^

just click on the icon in the action bar. as said in my previous post, you can remove the icon there (on jelly bean)
[Android Apps and Games] billku:
Sorry for the stupid question, but as you can see in the pic I'm attaching, I can only load in two notifications -- a 1st and a 2nd, I get no options to add any more. They're also giant and vertical instead of horizontal . Again, I apologize if the answers to my noobish questions are elsewhere in this giant thread. but can anyone help? Is there a paid version I'm missing that allows me to add more toggles? I'm on Jelly Belly v1.7 ROM. Thanks in advance

EDIT: Don't know if I properly uploaded my image, first time I've tried to do that, sorry. Hopefully my description above can give you the gist of my problem without the pic...
[Android Apps and Games] j4velin:
attachment didnt work. aren't two rows of notifications enough? also in the latest JB preview (see my last post) you can enable the "big notification" so you can have up to 3 or 4 rows of toggles in one notification
[Android Apps and Games] billku:
My incredibly stupid bad, I thought it was only 1st and 2nd notifications, not

rows

. Thanks so much...
[Android Apps and Games] kimboinatl:
Dumb question: what location does the icon downloader download the icons to? I can't find them anywhere...
[Android Apps and Games] Whyzor:
With a lot of different phones, I've never used auto brightness, so have gotten used to 'feeling' where the max brightness button is, as long as it's in a consistent place, and requires minimum amount of touches to get access. So most of them I do a simple swipe from top to bottom, tap once, then another tap to get max brightness.

CM7 has a good implementation of swiping & dragging top edge of notification bar, but that is integrated into the ROM so probably not possible with an app like this.
[Android Apps and Games] j4velin:
should be /sdcard/Android/data/de.j4velin.notificationToggle.iconDownloader/files/ so they get deleted when uninstalling the downloader app

so what exaclty do you need? a max-brightness to min-brightness toggle?
[Android Apps and Games] rjax:
If you'd prefer not to code another brightness toggle (or re-code the current 10/25/50/100/auto to be user-configurable), he could put a shortcut to FastBright in his set of toggles: https://play.google.com/store/apps/details?id=com.schwimmer.android.togglebright (says Cupcake only, but works on my G-Nex)
[Android Apps and Games] kimboinatl:
Thanks! Also, quick suggestion - for the reboot toggle, how about a dialogue box asking if the user really wants to reboot or not (or have the option to pop one up)? I've already accidentally clicked on the reboot toggle meaning to click on something else, and it just reboots the phone right away.
[Android Apps and Games] rjax:
Good point, though for you now you could clear NT from "always" status in Superuser so that Superuser pops up a dialogue every time you hit the reboot toggle. None of my other notifications need SU, so it works great for me.
[Android Apps and Games] j4velin:
or just use the "shutdown menu" toggle ;)
[Android Apps and Games] Whyzor:
Yes, a user-configurable brightness toggle would probably be easiest and most flexible. Most of the time I'd just use a 20 / 50 setting.
[Android Apps and Games] j4velin:
i have that on my todo list

also i attached a new beta version with several improvements & fixes like ringer toggle should now also be updated when changing the ringer mode with another app or the system settings. please report if you find any issues with that version, thanks
[Android Apps and Games] decmk:
Small window with brightness setings do not update icon in notification if you set new brightness and close with back button

In leatest version is opposite
[Android Apps and Games] truthkillszz:
sorry if its a dumb question but since i started using notification toggle i dont get any expanded notifications on JB on my GNex. any idea why?
[Android Apps and Games] imreezm:
I think expanded notifications only work for the top most item. Since the toggles are always at the top, you can't see them anymore.
[Android Apps and Games] osm0sis:
No AFAIK it should work for any that support it. In the review I saw of the Nexus 7 he expanded multiple notifications at once.
[Android Apps and Games] j4velin:
as far as i know, the top notification is automatically expanded, for the other you have to expand them with your fingers (same gesture as "zoom in" in maps for example)
[Android Apps and Games] ragnarokx:
I'm using this version, and my brightness slider suddenly stopped working. When I adjust the brightness, then close the pop-up, the brightness returns to its original value. Turning on auto-brightness still works though.
[Android Apps and Games] osm0sis:
Okay maybe this is too crazy, but would it be possible to have the Shutdown menu collapse the 2nd notification if the Shutdown menu is in the 2nd notification, and the 1st notification has the "2nd notification" toggle? That way after the boot it restarts with just the 1st notification. Hmm, yeah that sounded crazy. I'd still find it handy though ;)

Edit: Okay better idea - Bootstate setting: 1st/2nd/both?
[Android Apps and Games] j4velin:
done

should be fixed

i'll think about that, but i'm pretty sure that'll confuse a lot of user who'll then complain that their notifications are always reseted...
[Android Apps and Games] ragnarokx:
Would it be possible to add a link to directly download the apk in the OP? I have mine installed in /system/app, so I don't want the Play Store installing it in /data/app

Have you considered adding a button to turn off the screen/lock the phone? I'm using a separate app now (Screen Off & Lock), but having it as a native feature would be great.
[Android Apps and Games] decmk:
v2.3.4 three bugs

Mobile network do not work if wifi is enabled and connected

Brightness dialog do not close when auto is checked even when you tap close or back, only home do the trick

Secind notification don't get removed when is deactivate

Android 2.3.3
[Android Apps and Games] osm0sis:
Hmm.. Boot state: 1st, 2nd, Both, Previous. Default to "Previous"? :D

"Previous" is the way it opperates already so having it default would avoid confusing users.
[Android Apps and Games] j4velin:
mh i think you should nevertheless be able to update through the play store. i mean, other system apps like maps etc. also can be updated though they're in /system/app

i already have a "lock now" toggle, but that also requires an additional app. i have no plans for adding this feature directly to the app as that would require granting the app device admin priviledges (and that leads to negative reviews as stupid users can not uninstall the app then)

can you verify that it really doesnt work or does it just not update the icon? because on ICS it seems to correctly toggle the setting but the CONNECTIVITY_CHANGE broadcast isn't send when still connected to the wifi network, so the app doesnt update the icon (i'll fix that)

thanks, will be fixed

couldn't reprodoce the issue, have you tried rebooting once?

okay, i'll see what i can do about that. would a checkbox "show 2nd after boot" be ok? because i dont think many people want to hide both...
[Android Apps and Games] decmk:
@j4velin

Mobile network, Just icon.

Reboot do the trick for 2-nd notify
[Android Apps and Games] msgreenf:
Where are the icons downloaded to when you use the icon downloader app?
[Android Apps and Games] ragnarokx:
Ah ok, I've actually checked the Lock Now box because I thought it would let me lock the screen. Then it said I needed the Delayed Lock app, and in the app description the ability to lock the screen in buried toward the second half of the description. I only found it after reading it again. Thanks for the clarification.
[Android Apps and Games] osm0sis:
I still like "Show on boot: 1st only, 2nd only, both, Previous" but whatever makes the most sense to you! :)
[Android Apps and Games] Felimenta97:
The app behaves extremely bad, various themes are missing icons ( you shouldn't allow half themed icons). It haves everything to be good, but it isn't. To change a single icon, you have to disable the toggles, able them again, then change. The set up, like the your apps that I tried, is confusing. A "choose theme" option is missing, as browse EVERY SINGLE ICON is extremely boring. There are other messed stuff on this app, which I can't recall exact. Fix that or you lose me as your "client".

Sent from my LT26i with Tapatalk 2
[Android Apps and Games] jonstrong:
Uh oh. Sounds serious...

Actually - Notification Toggle has been fantastic, at least in my experience. Blends so nicely with ICS on my notification screen that it feels like a built in component. Incredibly useful, and works beautifully. Trivial to set up, flexible and powerful. Sure - you might have suggestions or a wish list for new features, but there are gracious ways to ask about these from someone who has shared a valuable app with the community free of charge. Hoping your post was just flame bait, and I was naive enough to respond...:(
[Android Apps and Games] Felimenta97:
I tried to sound the less "bad" possible, but for me the app is way too much non intuitive. Look for Power Controls or MoreQuicklyPanel. Intuitive, simple and fast. No icons from users? no, but their themes are complete. I'm using ICS too. I have problems to set up custom icons ( seriously, we need to set up every single icon that is saved in the SD? Why not releasing the icons ( ALL icons in a single theme) as apks? Much simpler, no images on the SD card, a simple chooser for the themes and you are done.

Sent from my LT26i with Tapatalk 2