Yet Another Notification Widget - Android Software Development

Ok so I tried to customized my home screen and so I have hidden the status bar cause 1) It's ugly, 2) I have battery status and signal strength on the home screen.
And then I realised that's some information were missing... So here come my idea, I'm gathering informations to make a "cal widget style" home screen notification widget.
That seem a good idea to me to display the usual notification directly in a widget but it doesn't seem easy to make at all.
If you have any advice, piece of code, warning or cute girl don't hesitate...
PS: sorry for the mistakes => french dude inside ^^

In passing
I see this post maybe outdated? Im looking for a widget that will pull down the notification bar. From a tap on the set widget. Is there such an app...ANYBODY.

djyosnow said:
I see this post maybe outdated? Im looking for a widget that will pull down the notification bar. From a tap on the set widget. Is there such an app...ANYBODY.
Click to expand...
Click to collapse
not 100% what you're looking for, but if you happen to use CM-based ROM, there's quite good solution here: http://forum.xda-developers.com/showthread.php?t=1031607

Related

Notification toggle on status bar ?????

Hi there
How can I add notification shortcuts ( wifi, bluetooth,.....etc )( like that of CM7 ) to status bar on official froyo rom ?
\
\
\
Thanks in advance
one easy way to do it is to write an app that has persistant notifications that link to those settings. so you will always have a "button" in your notification tray
http://developer.android.com/reference/android/app/NotificationManager.html
Notifications can take different forms:
A persistent icon that goes in the status bar and is accessible through the launcher, (when the user selects it, a designated Intent can be launched)
---------
Let me know if you need more. I can write some sample code when i get home
killersnowman said:
Let me know if you need more. I can write some sample code when i get home
Click to expand...
Click to collapse
already done that: http://forum.xda-developers.com/showthread.php?t=1037817
Looks good, but it's nice to write this stuff your self. Not too hard, good app to learn from.
From something awesome
@killersnowman
What I was talking abt is A persistent icon on status bar.
I thought This could be easy but I was wrong, it's difficult.
If u can simplify the steps, I'll try to do it.
@j4velin
Regarding NT.apk, It's very good app But i wish it has direct access from status bar ( I mean when pressing for ex. WIFI, it opens another screen to activate WIFI )
actually it's not a problem, Just wishing
Thank U very much
I really appreciate your help
You mean like clicking the batter icon or the clock in the status bar and going to those corrosponding settings? There is no method for achieving this. If you try that now you will see that the notification tray starts to slide down.
From something awesome
I mean like the pic.
Maybe someone else knows but im pretty sure that cant be changed or added without modifying or changing the current rom. Or a home screen replacement (never used one so im not sure)..
From something awesome
OK
Thank u so much
wish you best of luck

How To Remove Lock Screen Widgets (Clock)

Hey guys I've got another question. Does anybody know how to remove the clock from the lock screen?
I've gone through Setting>My Device>Lock Screen and have everything turned off.
I've even downloaded an app called "Lockscreen Policy" which has an option to disable Widget and/or Camera, I've switched both of them off as well. I don't remember the app saying anything about needing root to work.
Really annoying that the stupid clock is covering my Lock Screen Wallpaper especially when the Notification Bar is on the Lockscreen and that has a clock on it anyway.
Thanks in advance.
imthatguy83 said:
Hey guys I've got another question. Does anybody know how to remove the clock from the lock screen?
I've gone through Setting>My Device>Lock Screen and have everything turned off.
I've even downloaded an app called "Lockscreen Policy" which has an option to disable Widget and/or Camera, I've switched both of them off as well. I don't remember the app saying anything about needing root to work.
Really annoying that the stupid clock is covering my Lock Screen Wallpaper especially when the Notification Bar is on the Lockscreen and that has a clock on it anyway.
Thanks in advance.
Click to expand...
Click to collapse
If you swipe down from the clock it will expand the widget. You can then long press it and drag it to the trash can that appears at the top of the screen.
Be aware, though, that if you do not have any widget there you will just see a screen with a big "+" sign asking you to add a new widget and once the phone locks the clock widget will reappear. The only way to get it to go away permanently is to replace it with a different widget.
Hope this helps.
gordopa1 said:
If you swipe down from the clock it will expand the widget. You can then long press it and drag it to the trash can that appears at the top of the screen.
Be aware, though, that if you do not have any widget there you will just see a screen with a big "+" sign asking you to add a new widget and once the phone locks the clock widget will reappear. The only way to get it to go away permanently is to replace it with a different widget.
Hope this helps.
Click to expand...
Click to collapse
Yea i just tried it out and see what you mean. I just don't understand the point of it being mandatory to have something. That ****s raining on my customization parade. Thanks for the input.
imthatguy83 said:
Yea i just tried it out and see what you mean. I just don't understand the point of it being mandatory to have something. That ****s raining on my customization parade. Thanks for the input.
Click to expand...
Click to collapse
You should disable the stock lockscreen all together and give WidgetLocker a try. It works really well on my wife's Note 2, and it's super customizable.
mattdm said:
You should disable the stock lockscreen all together and give WidgetLocker a try. It works really well on my wife's Note 2, and it's super customizable.
Click to expand...
Click to collapse
Awesome, thanks for the tip. I will def give this a try...
Here have some thanks!!
gordopa1 said:
If you swipe down from the clock it will expand the widget. You can then long press it and drag it to the trash can that appears at the top of the screen.
Be aware, though, that if you do not have any widget there you will just see a screen with a big "+" sign asking you to add a new widget and once the phone locks the clock widget will reappear. The only way to get it to go away permanently is to replace it with a different widget.
Hope this helps.
Click to expand...
Click to collapse
I try this and is says "unable to edit in security mode". I understand I may need to "unlock" the phone w/ the security code - but how do I get back to remove the lock screen clock if I do that? I am trying to get Dashclock Widget going, but this is blocking me.
Any thoughts?
msherman123 said:
I try this and is says "unable to edit in security mode". I understand I may need to "unlock" the phone w/ the security code - but how do I get back to remove the lock screen clock if I do that? I am trying to get Dashclock Widget going, but this is blocking me.
Any thoughts?
Click to expand...
Click to collapse
Do you have a pattern or PIN lock set? I don't think the widgets work with those.
gordopa1 said:
Do you have a pattern or PIN lock set? I don't think the widgets work with those.
Click to expand...
Click to collapse
You are correct. PIN/Pattern doesn't work with other widgets. Thanks man.
Solved it
Hi, folks -- registered just to report that I have solved this problem. Download Minimalistic Text (free), though I'm sure you already have it. Enable Multiple Widgets on the phone, then add a blank Minimalistic Text widget. Delete your clock as described above and enjoy.
even easier: Blank Lockscreen Widget (Play Store)
galaxy s4 lockscreen
This has probably already been mentioned by now but for those still strugglimg with this. Drag down the screen from were the message and clock is. Click the pen looking icon to edit delete txt and uncheck clock if that is not required. Then press save in the top right and your lock screen will be clear :good:
---------- Post added at 03:47 AM ---------- Previous post was at 03:33 AM ----------
Jandalf102 said:
even easier: Blank Lockscreen Widget (Play Store)
Click to expand...
Click to collapse
Drag down the life companion message and click edit. Delete text and uncheck clock if also not required then press save. No app or root required just needs to be edited from the lock screen. May need to disable your lock security while you edit. Hope this helps
hide lock screen clock Android 4.3
Hey guys,
I recently got a Note 3 discovered that you cannot remove the lock screen clock. Simply doesn't allow you the option to.
But I found a way to hide it using the "personal message" feature.
Turn personal message on in the lock screen options menu.
Simply uncheck the clock and date boxes and space across a single character (as it won't allow you to have no text but will allow you a space which is invisible anyways..) and then hit save.
So then the next time you go to wake up your phone the lock screen clock will be gone!
I really don't like the way you are literally forced to have a lock screen clock!?!?
I often change my lock screen and desktop wallpapers and don't like the screen to be cluttered with text I don't want to see..
I have only tested this method on my Galaxy Note 3 so I am unsure if this will work on other Android phones..
Also what I have found strangely enough is normally there would be a half to one second lag for the display to sleep when I lock the phone.
This lag seems to have all but gone now that I specified a personal message (even though its blank) and hid the clock & date. Bonus!!
Hope this helps. Apologies if this has been previously covered..
Have fun!
spanner76 said:
Hey guys,
I recently got a Note 3 discovered that you cannot remove the lock screen clock. Simply doesn't allow you the option to.
But I found a way to hide it using the "personal message" feature.
Turn personal message on in the lock screen options menu.
Simply uncheck the clock and date boxes and space across a single character (as it won't allow you to have no text but will allow you a space which is invisible anyways..) and then hit save.
So then the next time you go to wake up your phone the lock screen clock will be gone!
I really don't like the way you are literally forced to have a lock screen clock!?!?
I often change my lock screen and desktop wallpapers and don't like the screen to be cluttered with text I don't want to see..
I have only tested this method on my Galaxy Note 3 so I am unsure if this will work on other Android phones..
Also what I have found strangely enough is normally there would be a half to one second lag for the display to sleep when I lock the phone.
This lag seems to have all but gone now that I specified a personal message (even though its blank) and hid the clock & date. Bonus!!
Hope this helps. Apologies if this has been previously covered..
Have fun!
Click to expand...
Click to collapse
Thanks so much for this now if I can just find away for it not to show that you have a text message on the lock screen things will be great.
FIxed.
Hay guys.
Sorry for the late reply. But I found a way to remove everything on lockscreen...
Date, time and also the unlock icon and rings.
But for now to remove clock simply allow lockscreen widgets then download zooper widget and replace your stock clock widget with an blank zooper widget.
Hope i helped.
[Rooted Phone] I found this xposed module and it's working fine http://repo.xposed.info/module/com.ssrdroide.lockscreenclockmods

[ROM] or [MOD] for [VZW] Humble Requests

First off...many thanks to ALL you devs who have already contributed and will contribute in the future. Your work is necessary as phone manufacturers ship less than perfect handsets. You guys truly make these products sooooo much better.
From what I've been gathering...a number of folks would like some of these ideas listed added to this wonderful phone. Donations shall be in order of course for all the hard work.
- The ability to hide the ever present location "bullseye" Icon
- Replace the battey icon with a custom one (I always thought that multicolored round one with the percent in the middle was coooooollll), or shrinking the stock percentage and placing it on top the battery.
- Bottom speaker gain control
- knock off works if you tap the empty area of the home-screen in a 3rd party launcher (the stock ui sees it as one big app, which is why it won't work unless you double tap the top status bar.)
- Keeping the top status bar and the lower nav buttons transparent in 3rd party launchers (the stock ui again sees it as one big app, rendering the bars opaque)
- Black or gray theme for settings menu....the white is a bit harsh.
- Double tapping the home nav button brings up LG Voice Mate...or that voice control LG app thingy.
Hide the brightness and volume sliders in the notification panel please!
Geekybiker said:
Hide the brightness and volume sliders in the notification panel please!
Click to expand...
Click to collapse
Hmmm...I have this done already on my stock unrooted verizon handset.
I forgot how I did it lol
IB4TL
Sent from my LG-D800 using Tapatalk 4
Rinzler said:
Hmmm...I have this done already on my stock unrooted verizon handset.
I forgot how I did it lol
Click to expand...
Click to collapse
The VZW model never had them in the first place.
This is a request thread and should go in Q/A or general.
Thank you!
Namtaru said:
The VZW model never had them in the first place.
Click to expand...
Click to collapse
Ahhhh
scrosler said:
This is a request thread and should go in Q/A or general.
Thank you!
Click to expand...
Click to collapse
Apologies...can a mod make the appropriate move.
Rinzler said:
Ahhhh
Apologies...can a mod make the appropriate move.
Click to expand...
Click to collapse
They will soon.
No worries.
I'm working on these atm..
but I have F320 Systemui..
no one sent me the Verizon of At&t systemui.apk..
And for the 1% Battery MOD, Framework.res & Lge.res is also required..
EDIT: My friend here, djkinetic sent me those files.. I cannot see or test anything..so i will send it to him for testing. But not everything at once, one by one slowly..
How about removal of the AM/PM please and location icon (as was mentioned)
What kind of bottom speaker control are you asking for?
I support the dark settings theme.
At least you can change the navbar to be black instead of white, and the settings menu to be tabbed instead of one gigantic list. I was worried during initial reviews when they said you couldn't change those.
I'd like to add - ability to customize navbar to add other button types, or at least the customization of the navbar hold-n-drag options (currently holds voice search, Google Now, and something else).
spitzaf said:
What kind of bottom speaker control are you asking for?
I support the dark settings theme.
At least you can change the navbar to be black instead of white, and the settings menu to be tabbed instead of one gigantic list. I was worried during initial reviews when they said you couldn't change those.
I'd like to add - ability to customize navbar to add other button types, or at least the customization of the navbar hold-n-drag options (currently holds voice search, Google Now, and something else).
Click to expand...
Click to collapse
I want to be able to turn up the speaker volume.
Certainly donations are in order
Here are a few requests....
- white or ICS blue status bar with no gps icon, add center clock, battery with percentage in the middle
- recents button in the nav bar - remove menu
- no more wifi connected to in notification drop down
- louder notification sounds
OR CM10 with knock knock
jmill75 said:
OR CM10 with knock knock
Click to expand...
Click to collapse
+1
All in good time. The beauty of a flagship device is very highly likely CM support.
AOSP please
How about a permanent Back, Home, Multitask, Menu button layout in AOSP style with a semi transparent background on the homescreen...
Of course, I'd prefer complete AOSP.
jmill75 said:
Certainly donations are in order
Here are a few requests....
- white or ICS blue status bar with no gps icon, add center clock, battery with percentage in the middle
- recents button in the nav bar - remove menu
- no more wifi connected to in notification drop down
- louder notification sounds
OR CM10 with knock knock
Click to expand...
Click to collapse
Sitting here streaming Slacker radio, dawned on me:
customizable knock patterns! like 2 knocks for skipping a track, change wake up to 3 knocks, etc.
- knock off works if you tap the empty area of the home-screen in a 3rd party launcher (the stock ui sees it as one big app, which is why it won't work unless you double tap the top status bar.)
Click to expand...
Click to collapse
Just use Nova gesture double tap + tasker task to lock the screen.
Viper76269 said:
AOSP please
Click to expand...
Click to collapse
Why buy the G2 if all you want is AOSP? You might as well have waited for the N5.. I don't understand why people buy a phone that has some pretty cool features, only to flash AOSP and lose most of it... I get that a lot of what the G2 does can be built into AOSP with different apps but i guess I'm the only one who buys the phone for the experience that was intended by the manufacturer.
Ok guys, was able to make many things and tested them too! Need to fix a few things. Its 4 am here,by 11am i will make a new thread in themes section

[Q] remove battery indicator bar above the notification bar

I have been trying to remove this battery status indicator above the notification bar. I just flashed chromi-x and cannot figure out what I changed to make this bar appear (orange/red dashed bar in the attached image), I really don't like how it looks and would like it gone. Does anyone know what I did to make this show up?
fermionic said:
I have been trying to remove this battery status indicator above the notification bar. I just flashed chromi-x and cannot figure out what I changed to make this bar appear (orange/red dashed bar in the attached image), I really don't like how it looks and would like it gone. Does anyone know what I did to make this show up?
Click to expand...
Click to collapse
Finally found it in the android tuner app. I honestly thought flashing cromi-x would have a greater impact on the tablet than it has, maybe it will take some time for me to discover its full potential.
fermionic said:
Finally found it in the android tuner app. I honestly thought flashing cromi-x would have a greater impact on the tablet than it has, maybe it will take some time for me to discover its full potential.
Click to expand...
Click to collapse
It should have been in settings as well. In PAC-man its under Pacman->battery->battery bar. Idk about Cromi-x

Share Lockscreen screenshot

Hi peeps. Could anyone share there lockscreen screenshots here? See mine. It has that irreplaceable white status bar which looks really awkward ;( Consider that I've done so many things already to make it transparent except rooting.
All ok
Basic lockscreen with a cloud that cloud that moves with the gyroscope
How do you edit the lock screen? Want to change my background and clock widget to match my home screen -- sorry im coming from an apple so im new to android os
gyxter said:
Hi peeps. Could anyone share there lockscreen screenshots here? See mine. It has that irreplaceable white status bar which looks really awkward ;( Consider that I've done so many things already to make it transparent except rooting.
Click to expand...
Click to collapse
Can someone tell me, how I can add a weather widget on my lock screen?
Found this polygon wallpaper. The colors look really nice on my gold edge.
flamingoezz said:
How do you edit the lock screen? Want to change my background and clock widget to match my home screen -- sorry im coming from an apple so im new to android os
Click to expand...
Click to collapse
There's a lot of apps you can download that changes the lookscreen and adds customizability
https://play.google.com/store/apps/details?id=com.cmcm.locker&hl=en
https://play.google.com/store/apps/details?id=mobi.appplus.hilocker&hl=en
https://play.google.com/store/apps/details?id=com.achep.acdisplay
do any of these work with fingerprint scanner? CM says it does, but i don't see the option in their menu -- just pattern or password.
starfighter1106 said:
There's a lot of apps you can download that changes the lookscreen and adds customizability
https://play.google.com/store/apps/details?id=com.cmcm.locker&hl=en
https://play.google.com/store/apps/details?id=mobi.appplus.hilocker&hl=en
https://play.google.com/store/apps/details?id=com.achep.acdisplay
Click to expand...
Click to collapse
Guys, can I hijack this thread to ask if your backlight is on when you use a pure black wallpaper as your lock screen wallpaper?
My blacks are pure black when I open my screensaver in the gallery (if i tap the screen to remove the UI, I can't see the screen at all in a dark room) and it's the same for most screens except for the lock screen. In the lock screen it almost appears gray or it appears like it's affected by backlight bleeding. Just wanted to find out if it's a software bug (since it's almost like the Night Clock bug) or if it's a defect with my phone. I also cleared my cache with no success.
Also, how do you take a screenshot of the lock screen?
flamingoezz said:
do any of these work with fingerprint scanner? CM says it does, but i don't see the option in their menu -- just pattern or password.
Click to expand...
Click to collapse
Not sure if they work with the s6 edge, might have to wait for that support. I'll personally just wait for xposed to be updated so i can get fun stuff like wanam xposed, and just live with the current launcher, as i really like the fingerprint scanner.
flamingoezz said:
How do you edit the lock screen? Want to change my background and clock widget to match my home screen -- sorry im coming from an apple so im new to android os
Click to expand...
Click to collapse
You can change wallpaper by long pressing on an empty space in the homescreen. It goes into edit mode and you will see a wallpaper icon and label at the bottom left. Tap that and you are directed to another menu to select whether to apply your wallpaper to just your home or lockscreen or both. You can also go to settings>wallpaper to change wallpapers.
As for the weather, the design changes accordingly with the theme you choose.
Hope this helps.
Mucky2 said:
View attachment 3285807
Can someone tell me, how I can add a weather widget on my lock screen?
Click to expand...
Click to collapse
Tap on your homescreen weather widget. Go to more>settings>show weather information. Profit.
ng4g3d said:
Guys, can I hijack this thread to ask if your backlight is on when you use a pure black wallpaper as your lock screen wallpaper?
My blacks are pure black when I open my screensaver in the gallery (if i tap the screen to remove the UI, I can't see the screen at all in a dark room) and it's the same for most screens except for the lock screen. In the lock screen it almost appears gray or it appears like it's affected by backlight bleeding. Just wanted to find out if it's a software bug (since it's almost like the Night Clock bug) or if it's a defect with my phone. I also cleared my cache with no success.
Also, how do you take a screenshot of the lock screen?
Click to expand...
Click to collapse
Press home+powerkey simultaneously to get a screenshot anywhere in your phone.
Thanks so much for sharing guys. I wonder if there's a way to get rid of that white status bar I have in the lockscreen. It just looks so ugly. Hopefully an upcoming FW update from my carrier would fix it. :fingers-crossed:
Does someone know how to get the wallpaper the S6 gets when it's on update mod? Blue cyan w/bugdroid on the middle. I really love it
Simple look.
Sent from my SM-G925F using XDA Free mobile app
junghyun01 said:
Simple look.
Sent from my SM-G925F using XDA Free mobile app
Click to expand...
Click to collapse
I don't understand why there is a shortcut to the camera on the lockscreen?
I thought you could open the camera frem everywhere with two cliks on the home button?

			
				
Slaughter59 said:
Does someone know how to get the wallpaper the S6 gets when it's on update mod? Blue cyan w/bugdroid on the middle. I really love it
Click to expand...
Click to collapse
No one?
Slaughter59 said:
No one?
Click to expand...
Click to collapse
Why the need to change that? You only see that when there's an update. Do you get an update every hour?

Resources