OESF Portables Forum
Model Specific Forums => Gemini PDA => Gemini PDA - Android => Topic started by: graynada on June 30, 2018, 11:44:42 am
-
As discussed in other threads I've been working on a notification app to use the 5 LED on the Gemini. I have called this app GeminiLED and a version now available for people to try if they wish.
This first version will light each of the 5 centre LED for notifications colours as follows from left to right:
Viber - magenta
WhatsApp - green
K9 Mail - red
Handcent Next SMS - blue
Dialer (call and missed call) - cyan
NOTE: This app needs access to notifications to work. Select Settings, Apps, Settings (gear wheel), Special access, Notification access slider on for GeminiLED
Due to the (sensible) way Android goes in to a 'doze' mode when the screen is off, I have not been able to implement reliable flashing. If Planet release develop tools as they have said they are going to then there may be some methods available that I am currently unaware of which will allow me to revisit that. I've done some rudimentary testing and having the LEDs lit continuously does not seem to have any discernible affect on battery life.
The app to LED configuration is hard coded in this version. User configuration of what LED responds to what app and in what colour is now under development.
The apk is available here (https://github.com/graynada/GeminiLED/releases/tag/GeminiLED)
GitHub here (https://github.com/graynada/GeminiLED)
Feedback welcome but please go easy on me, this is the first time I have ever tried to release any of my projects in to the wild! Hope it works for you.
-
This is quite interesting and I'm excited for when you add user configuration.
Am I correct in assuming that app/src/main/java/harby/graham/geminiled/GeminiLED.java (https://github.com/graynada/GeminiLED/blob/master/app/src/main/java/harby/graham/geminiled/GeminiLED.java) is the file I'd have to modify if I wanted to customize the applications it listens for and what colour to use?
BTW, I'd recommend not embedding the APK in your git source and instead uploading it as a file on a release tag. git doesn't really like handling binary files.
-
This is quite interesting and I'm excited for when you add user configuration.
Am I correct in assuming that app/src/main/java/harby/graham/geminiled/GeminiLED.java (https://github.com/graynada/GeminiLED/blob/master/app/src/main/java/harby/graham/geminiled/GeminiLED.java) is the file I'd have to modify if I wanted to customize the applications it listens for and what colour to use?
BTW, I'd recommend not embedding the APK in your git source and instead uploading it as a file on a release tag. git doesn't really like handling binary files.
Yes that is the file to modify, you just need to know part of the package name.
I am completely new to GitHub so apologies. I'm trying to find my way around where stuff is. I shall look to move, where would I upload the file other than where I have?
-
BTW, I'd recommend not embedding the APK in your git source and instead uploading it as a file on a release tag. git doesn't really like handling binary files.
Found it, thanks for the tip
-
I don't compile my own APKs, but if I provided the path to the file name (I'm guessing you would need the com.whatever.whatever), do you think one of you could throw together an apk for me real quick? I would GREATLY appreciate it.
-
I don't compile my own APKs, but if I provided the path to the file name (I'm guessing you would need the com.whatever.whatever), do you think one of you could throw together an apk for me real quick? I would GREATLY appreciate it.
Yes I could do that later for you. If you PM me the package name, a colour preference from the 7 available, which current one you want to replace and your email address I'll do it later for you.
-
I don't compile my own APKs, but if I provided the path to the file name (I'm guessing you would need the com.whatever.whatever), do you think one of you could throw together an apk for me real quick? I would GREATLY appreciate it.
Yes I could do that later for you. If you PM me the package name, a colour preference from the 7 available, which current one you want to replace and your email address I'll do it later for you.
You are an absolute legend. Thank you man, I'll message you in a bit.
-
As discussed in other threads I've been working on a notification app to use the 5 LED on the Gemini. I have called this app GeminiLED and a version now available for people to try if they wish.
...
Just wanted to say thanks for your work and sharing
-
Thank you for the support.
Thought I'd share a preview of the GUI I'm working on. It's supposed to look like the top case of the Gemini but I'm struggling to get the colour right. If anyone has a better RGB set for that very nice colour I'd be glad to try it.
-
I think it looks great. Very exciting stuff and thank you so much for all your time.
Jake
-
OK, so while I was installing it asked me "do I want to trust this publisher" or something like that, and due to an involuntary muscle spasm I clicked 'no' so it didn't install.
But now when I try again to install it, it just simply refuses saying 'app not installed'. And I can't figure out how to reset my option for trusting the publisher.
Anyone any ideas how to reset?
-
OK, so while I was installing it asked me "do I want to trust this publisher" or something like that, and due to an involuntary muscle spasm I clicked 'no' so it didn't install.
But now when I try again to install it, it just simply refuses saying 'app not installed'. And I can't figure out how to reset my option for trusting the publisher.
Anyone any ideas how to reset?
Hi when did you download it? I put up a new version around lunchtime UK time so if it was before that try down loading the new one
-
Very much appreciate all who are working to make the LED app all it can be.
Yesterday, the LED app became (again) dysfunctional. I guess it doesn't play well / integrate with my Gem's phone and/or messaging apps.
For days, until I uninstalled it, whenever a message arrive or the phone rang, the LED app generated a popup saying it "stopped" and to either close it or open it again.
The latter option failed to clear the error's cause as that popup reappeared again and again.
I shall wait on the app being significantly improved and ready-for-prime time use as a unique feature of the Gemini PDA.
Until then, frankly speaking, the LEDs are certainly a nice-to-have feature and not an essential must-have like beeps for messages and ringtones for calls.
Cheers.
IFanafi
-
Very much appreciate all who are working to make the LED app all it can be.
Yesterday, the LED app became (again) dysfunctional. I guess it doesn't play well / integrate with my Gem's phone and/or messaging apps.
For days, until I uninstalled it, whenever a message arrive or the phone rang, the LED app generated a popup saying it "stopped" and to either close it or open it again.
The latter option failed to clear the error's cause as that popup reappeared again and again.
I shall wait on the app being significantly improved and ready-for-prime time use as a unique feature of the Gemini PDA.
Until then, frankly speaking, the LEDs are certainly a nice-to-have feature and not an essential must-have like beeps for messages and ringtones for calls.
Cheers.
IFanafi
Hi IFanafi
I have release a final beta today at the link below that should be much more stable and play nicely with whichever software you chose to allocate to the LEDs through it. I would value your experience trying it out if you could.
https://github.com/graynada/GeminiLED/releases/tag/v2.1Beta (https://github.com/graynada/GeminiLED/releases/tag/v2.1Beta)
Thanks
-
Having tested several versions of this fine work, I would suggest--to prevent any holdover bugs--uninstalling the previous version, rather than installing new version on top of the old.
Jake
-
On Play Store too
https://play.google.com/store/apps/details?...raham.geminiled (https://play.google.com/store/apps/details?id=harby.graham.geminiled)
-
Just found a bug in your excellent app.
If an app that is mapped to a LED is deleted, then there is no way to re-assign another app to that LED. You have to uninstall and reinstall Gemini LED.
Is this something you might fix?
Thanks for all your efforts!
Alastair
-
Just found a bug in your excellent app.
If an app that is mapped to a LED is deleted, then there is no way to re-assign another app to that LED. You have to uninstall and reinstall Gemini LED.
Is this something you might fix?
Thanks for all your efforts!
Alastair
I would also like an opportunity to "re-select" "none" for a led you have assigned an app to...
And it would be nice if you could have an opportunity to somehow select WHICH notifications you should light the led for from the app as well. I have a few apps that have a "permanent" notification, so adding it to GeminiLED is kind of pointless (and unless you are playing "Pointless" on BBC, that is usually not a good thing ). That is probably asking too much, but like I wrote, it would be nice, at least for me...
-
Just found a bug in your excellent app.
If an app that is mapped to a LED is deleted, then there is no way to re-assign another app to that LED. You have to uninstall and reinstall Gemini LED.
Is this something you might fix?
Thanks for all your efforts!
Alastair
Thanks Alastair. I had recently become aware of that bug. Yes I will fix that at the next issue. You can 'clear data' rather than uninstall but still far from ideal!
I would also like an opportunity to "re-select" "none" for a led you have assigned an app to...
And it would be nice if you could have an opportunity to somehow select WHICH notifications you should light the led for from the app as well. I have a few apps that have a "permanent" notification, so adding it to GeminiLED is kind of pointless (and unless you are playing "Pointless" on BBC, that is usually not a good thing wink.gif ). That is probably asking too much, but like I wrote, it would be nice, at least for me...
Hi Gymbo. Those are both on my to do list with the advance settings I am working on so you should be able to filter an individual apps notification by setting up a white or black list. I will try to add an option to log notifications to help formulate those lists.
I have been on holiday for a few weeks and then had some family stuff to organise. I will be getting back on developing shortly.
-
I would also like an opportunity to "re-select" "none" for a led you have assigned an app to...
And it would be nice if you could have an opportunity to somehow select WHICH notifications you should light the led for from the app as well. I have a few apps that have a "permanent" notification, so adding it to GeminiLED is kind of pointless (and unless you are playing "Pointless" on BBC, that is usually not a good thing wink.gif ). That is probably asking too much, but like I wrote, it would be nice, at least for me...
Hi Gymbo. Those are both on my to do list with the advance settings I am working on so you should be able to filter an individual apps notification by setting up a white or black list. I will try to add an option to log notifications to help formulate those lists.
I have been on holiday for a few weeks and then had some family stuff to organise. I will be getting back on developing shortly.
That would be really nice!
Would also like to be able to pay for the app (at least with those features), but preferably NOT with donations through PayPal or something similar. So If you would like to get some income from the app as well, I would be more than happy to buy the "same" version through the Play-store (at least for a few dollars/Euros). I of course know that you wont get all the money that way (and I certainly don't know how much hassle it is to set up an account you can get paid through either...), but I would gladly pay for it that way!
-
Does use of the LED lights cause a significant drain on the battery?
Especially when these lights can be on for several hours - eg in the middle of the night - before they are noticed.
Thanks,
John
-
Does use of the LED lights cause a significant drain on the battery?
Especially when these lights can be on for several hours - eg in the middle of the night - before they are noticed.
Thanks,
John
Hi John,
Short answer not noticeably. I did some rudimentary testing before release where I lit all 5 LEDs all night (worst case scenario) and the battery drain was less than 1% an hour (fairly standard drain rate anyway) so I am confident that it does not have a significant impact on battery life.
Hope this helps
-
Hi John,
Short answer not noticeably. I did some rudimentary testing before release where I lit all 5 LEDs all night (worst case scenario) and the battery drain was less than 1% an hour (fairly standard drain rate anyway) so I am confident that it does not have a significant impact on battery life.
Hope this helps
I actually would have LIKED if it drained the battery somewhat significantly! Because then it would be more useful as a torch... (And where is the lightbulb-smiley when you "need" it... )
But preferably with a possibility to adjust the brightness, and hence the power-drain.
-
I actually would have LIKED if it drained the battery somewhat significantly! Because then it would be more useful as a torch... (And where is the lightbulb-smiley when you "need" it... )
But preferably with a possibility to adjust the brightness, and hence the power-drain.
Yes, at least one high intensity LED would have been useful (life every other mobile phone) would have been useful. I'm guessing the camera as an after though probably drove that but even without a camera a torch function is pretty much up the must have list these days
-
Been using this app for a while.
Planet should buy this app and put it in the standard ROM!!
-
Just found a bug in your excellent app.
If an app that is mapped to a LED is deleted, then there is no way to re-assign another app to that LED. You have to uninstall and reinstall Gemini LED.
Is this something you might fix?
Thanks for all your efforts!
Alastair
I would also like an opportunity to "re-select" "none" for a led you have assigned an app to...
And it would be nice if you could have an opportunity to somehow select WHICH notifications you should light the led for from the app as well. I have a few apps that have a "permanent" notification, so adding it to GeminiLED is kind of pointless (and unless you are playing "Pointless" on BBC, that is usually not a good thing ). That is probably asking too much, but like I wrote, it would be nice, at least for me...
Hi,
Latest version (2.4) published last night fixes the unistalled application issue and provides option to 'select none' via long click hold on application icon and selecting clear. I have also added functionality for the keyboard LED to show one of your selected applications has an active notification and the ability to enable or disable cover and keyboard LEDs.
Next stage will be to provide ability to apply a white or black list to a given LED.
Thanks
-
Didn't this post until just now, but early in the morning, I saw I could update GeminiLED. Update went seamlessly and what a treat of a layout. Clear and a plethora of choices.
Thank you so much for this great work,
Jake
-
Didn't this post until just now, but early in the morning, I saw I could update GeminiLED. Update went seamlessly and what a treat of a layout. Clear and a plethora of choices.
Thank you so much for this great work,
Jake
Thanks Jake