[Help Required] Coding an LED Rainbow App - Java for Android App Development

So to make things short and simple, I want to develop a simple app for my OPO which will work on other devices hopefully.
I want this app to:
Trigger a test RAINBOW notification light
Assign the RAINBOW notification light colour for user desired apps
An option to remove the notification light option for a desired app selected
I need YOUR help. The reason I like this is, it's a cool and fun idea I want to try.
It's just like Light Flow but I want it to be just for this cycle of all colours in one.
I just need someone who can give me an insight to how to code something like this.
Thanks a lot to anyone who can give me input on this!
An app that someone has made, I have kindly requested a while ago if he could implement a function like this but he hasn't responded...
Since I can't post links go to Google Play Store and search LED Rainbow and it's the multicoloured circles app.

Related

[Q] Notification Light

Is it possible to, like the small little notification led, make the smartphone's buttons (home, search, back and options(?)) (or even just one button, if the respective drivers allow it) stay on when there's a pending notification?
I saw this on a friend's LG 2X and he told me that was a customization made by someone in a custom ROM, so that wasn't a stock feature.
I think this will be, if it's doable, an awesome extra feature since the led is too much tiny to capt our attention to the pending notification and I imagine it's not very hard to implement.
Thanks in advance.
Well I am gonna point out that the small notification led we have is really cool RGB led. So you can have different colours depending on what it's going to notify about. Sad thing is as you stated it's pretty small and not visible at some points.
I would say the thing you wish for is up to the ones who customize roms. Ask them, head over to the development section.
Right. I'll post this in Dev section.
As long as we're talking about notification led, can someone tell me where to find full a description of light colors and meanings? The manual on the Huaweis own site isn't full/complete, 'coz it doesn't mention a blue color. I once got the led to flash blue, when Watchdog Lite "got a wiff" of an app that misbehaved and notified me about it. And it wasn't a one time event, since it did it with every Watchdog notification.
Sent from my u8800 using XDA App
Vk_ said:
As long as we're talking about notification led, can someone tell me where to find full a description of light colors and meanings? The manual on the Huaweis own site isn't full/complete, 'coz it doesn't mention a blue color. I once got the led to flash blue, when Watchdog Lite "got a wiff" of an app that misbehaved and notified me about it. And it wasn't a one time event, since it did it with every Watchdog notification.
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
if the application can manage the led then you could see every possible colour if it is programmed for it...
for example through the handcent sms you can put whatever colour you want for the notification the programm handles...
so maybe with watchdog you can try it too...
they don't have special meanings the colours and they turn on to the colour they are programmed to from the company...
Is there a good app to set notification light color? Besides Light Flow (which changes the color but only blinks once or stays always on) or Blink (which asks for an internet access I don't want to grant due the usability settings, and thus haven't even tried)? Any way to change 'em manually?
Sent from my u8800 using XDA Premium App

Illumination Bar ideas for Apps/Mods

I have had a few ideas on how the illumination bar could be used in some apps for our phone.
Idea 1. Bar lights up in response to button presses on the navigation bar, have a slow fade/pulse as the buttons are pressed and have a glowing pulse if the Google button is brought up and pressed. This could be extended so whenever the screen is touched, the LEDs on the bar light up and follow the finger movements along the screen when on the homescreen or launcher.
Idea 2. An app to link the color detection from Walkman app to other music players with color effects like Poweramp, even if it just used the existing glow effects in Poweramp and just matched the colors to the LED's. I just want to have light effects without having to open up U-Disco and set it up each time I listen to music.
If anyone wants to try these, go for it
Sent from my C5303 using XDA Premium 4 mobile app
I like idea 1
+1
Enviado desde mi C5303 mediante Tapatalk
Nice I like this idea
Both ideas looks nice but I am not sure if it's possible. Root and perhaps deodex are needed to even begin creating a script for these two ideas..
mrjraider said:
Both ideas looks nice but I am not sure if it's possible. Root and perhaps deodex are needed to even begin creating a script for these two ideas..
Click to expand...
Click to collapse
It looks like you can use an AccessibilityService to receive notification about gestures and key events (including the home, back, etc. keys). That said, accessibility services do have the caveat that only the first to register for a given type of event is notified, so if someone had a screen reader for example, it may not work, or worse still, it may stop the screen reader from working.
As for making other apps use the illumination bar, the API is public so any developers can add functionality to their app to use it. Also, open source apps or those with plugin interfaces could potentially be extended to add the functionality...
thanks very much

[Q] Advanced Always On Display

Hey guys,
I was wondering if it was possible to modify the existing AOD for more options.
For example: I couldn't care less about the clock, I'm wearing and using a watch anyway.
It would be nice if one could lay his smartphone onto the table with it beeing completly black except when you have notifications.
Something like in the picture I've quickly put together.
http://www.directupload.net/file/d/4959/6ckdllab_png.htm
Are there any roms which support this? Is it even possible to modify the Samsung AOD in that way or would one have to write a new app?
For now im using a black screen with the LED but that's suboptimal.
Thank you very much,
Chilz0r
Edit: Image
There are some themes available from Samsung Store but anything like you posted is currently not seen. Moreover, you should post questions in question/answer section. This section is not for question or discussion purpose.
dksoni411 said:
Moreover, you should post questions in question/answer section. This section is not for question or discussion purpose.
Click to expand...
Click to collapse
You might wanna check that again.
chilz0r said:
Hey guys,
I was wondering if it was possible to modify the existing AOD for more options.
For example: I couldn't care less about the clock, I'm wearing and using a watch anyway.
It would be nice if one could lay his smartphone onto the table with it beeing completly black except when you have notifications.
Something like in the picture I've quickly put together.
http://www.directupload.net/file/d/4959/6ckdllab_png.htm
Are there any roms which support this? Is it even possible to modify the Samsung AOD in that way or would one have to write a new app?
For now im using a black screen with the LED but that's suboptimal.
Thank you very much,
Chilz0r
Edit: Image
Click to expand...
Click to collapse
how u get this black screen with white notification???
this called ambient display from nexus and it light ur phone with black screen and white notification when u get a new notification
carlitobahsoun said:
how u get this black screen with white notification???
this called ambient display from nexus and it light ur phone with black screen and white notification when u get a new notification
Click to expand...
Click to collapse
Yeah I just took any picture on the internet and photoshopped it to show what I'm looking for.
This ambient display feature would be perfect if it would use the advantages of the S8 Display,
meaning lighting up particular pixels the whole time and not areas of the screen for a small time.
dksoni411 said:
There are some themes available from Samsung Store but anything like you posted is currently not seen.
Click to expand...
Click to collapse
This answers my question, thank you.
But I'm curious now: would it be reasonable trying to programm such an app oneself,
or alternatively is it possible to get the Samsung AOD code to modify it?
chilz0r said:
Yeah I just took any picture on the internet and photoshopped it to show what I'm looking for.
This ambient display feature would be perfect if it would use the advantages of the S8 Display,
meaning lighting up particular pixels the whole time and not areas of the screen for a small time.
This answers my question, thank you.
But I'm curious now: would it be reasonable trying to programm such an app oneself,
or alternatively is it possible to get the Samsung AOD code to modify it?
Click to expand...
Click to collapse
This isn't bad if you try to build such app but AFAIK and untill now, it is nearly impossible to build such app. You probably won't get exact source code for AOD because most things are hard-coded. Even, if you manage to get code, modify it and build your desired app it will be hard or impossible to install it over pre-installed AOD app. Kind of complicated, but you can still try, maybe you end up being Samsung hero.

Navbar question

Hi I got OnePlus 6t and I have a problem with the navigation bar . Always but always is white when I am using a colour application a game or something and become black if I use a white application like chrome for example. I can understand this is a future to prevent screen burning but for me is so annoying. My wife got s9 plus and the navigation bar become transparent plus you got the option to change it black or how you like it.
I don't know if is only me or I am too fussy but is so bad so fuxxking bad I try to speak with some guys in the community app I try to tell them a future abut this but they not doing anything..
Now I flash beta 4 hoping that they done something. Guess what . Nothing
Try the app "Navbar Apps" in the Play Store.
Nothing against the author of the app mentioned but having to give out that much access to your device to change something that should be part of the theme is a design weak point.
If you're Rooted you can install Xposed and use BlackNavigationBar and it works flawlessly.
rahlquist .
Yeah you are right they can add this future to change the nav bar easy.
benclaytonmke
i will root it back just for this future ,i didn't know that xbosed is working on android 9 , i will check a tuturial on xda forum
Hi all,
i didn't want to make a whole thread just to ask if any have found/use a app similar to what "Custom Navigation Bar" by paphonb used to do?
https://forum.xda-developers.com/android/apps-games/app-custom-navigation-bar-customize-t3590967
i dont want to change colors or add images like other apps, i just want to add a back button on the right side same as the left one for the pie navbar. is not about swap the back button to the right, is having 2 back icons and change the image to dots.

Question Developing an application that would allow me to do anything with the Glyphs. Inputs and ideas needed.

As the title says, I'm developing an application that would allow the user to freely control the lights independently. Requires root for now. But I'm looking forward to implement some great features in the app so we can push the feature set the Glyphs would allow.
Nice, I have a few for your consideration if its type your looking for.
Variable brightness if poss to reduce battery consumption, master override kind of idea.
Battery charge indicator, option to have it show until charged instead of the breif timeperiod when plugged in. Easier to glance over and get a rough idea.
Ability to set a certain segment to a specific notification or flash it every x amount for like a missed call, I feel current ones show when initially received then unsure on time frame inbeteen would be cool to put a set amount down, maybe a pulse effect until notification is cleared.
Are they individually addressable? Is so maybe turn the battery bar into a knight rider effect or the main ring light up like a new style car indicator.
Wled has some cool basic patterns and settings if that helps, even for ideas
Good luck
SOS feature would be really nice, SOS in morse code
Ability to have custom glyphs light up when in a call till end of call
I want to show off with my phone so I'd love it to be flashing as I speak(speach visualisation instead of music) so that people could see it
Tasker support would be awesome
Isn't someone already developing one
this is the link:
[APP] [ROOT] Glyph Control [Phone (1)]
oddlyspaced said:
As the title says, I'm developing an application that would allow the user to freely control the lights independently. Requires root for now. But I'm looking forward to implement some great features in the app so we can push the feature set the Glyphs would allow.
Click to expand...
Click to collapse
Xellerate said:
Isn't someone already developing one
this is the link:
[APP] [ROOT] Glyph Control [Phone (1)]
Click to expand...
Click to collapse
Indeed, one can find this application which also allows to configure the Gyphs.
@Xellerate,
One more application to allow this kind of customization is not negligible.
@oddlyspaced
I hope this application will be successful and fully effective.
Good luck with it.

Categories

Resources