yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jagan2:
Oh wow, that was a really long piece of text!!! But I genuinely love to read what anybody says about my App line by line, patiently :p :D

First off all, the bug you're facing is ultra weird! The Bar directly detects the screen size and draws accordingly, if it's offset, something is wrong with the device configuration. To confirm that I would also like to inform you that, even though the Bar is an overlay view, it's absolutely part of the Screen elements and is very valid to be part of a screenshot (that's how I got the screenshots on Google Play Store and here, right? ;) )

Is there any other floating/overlay/screen filter App running in your device? And custom framework that might mess up with the normal working of the Bar?

One thing that quite possibly will fix the issues is, clear the App's Data, uninstall the App, restart your phone and try now. This should work.

And I do remember your comment on the Animations posted earlier. Although the App's function is very simple, to achieve and coordinate various controls in the App's current inception took quite a while and my primary focus has always been to make the Bar ultra stable and more integrated to the System, now I am close to that. And so, I have not been concentrating on implementing all the features I got requested for. But they will come up as time passes :)

That means, the presets, reorganizing colors, different animations, dual mode (Status Bar + Normal Bar display at appropriate places), ability to hide bar on particular screens, sounds on activation of one of your segments, location of the Bar, Android Wear integration all are in line to be implemented. But unfortunately, they will take quite some time to come out one by one as I am working non-stop on several other projects, which includes some new Apps as well.

Update in response to your update: That's great to hear, although I would still recommend you to clear App's data, uninstall, restart, reinstall. The App has been ultra stable on my test devices, there should be no reason for it to be not stable on yours.

Also, yes, the Bar still takes care of the charging history, just checked with the Emulator :)
[Android Apps and Games] DrPhant0m:
Don't get me wrong... it's a great update for getting rid of the ongoing notification (and/or having to disable it), if nothing else. You want feedback on your beta, though, right? I tried to be exhaustive. I do apologize for the wall of text, though. BTW... I didn't know Aubrey Plaza was developing apps these days. lol (in case you don't get the reference... Aubrey Plaza is an actress known for her deadpan style of speech and always sounding sarcastic, no matter the situation) Unfortunately... this post is even longer than my previous one. lol. Deal with it. :cool:

Understood. To be fair... the most recent picture here looks like a photo of the app on a phone, to me. I can see the plastic on the phone... I can even see a wall in the background. Galaxy Nexus, perhaps? I don't know about the pic in google play. I downloaded your beta apk through tapatalk. I do see that the bar is shown in screenshots from your post in early April, though.

I've got xposed framework installed and a ton of xposed modules as well... I don't have any other obvious constant overlay/screen filter apps installed. I do have an app installed that will pop up a little notification over any screen when memory usage exceeds a certain level. I don't think it was actively overlaying anything at the time I tried to take the screen shots, though... Does that matter?

LOL... ever since Windows 3.1, "turn it off and on again" has always been my ultimate solution to tech problems. I haven't been able to restart my phone due to other circumstances... but I'll give it a shot if I see a trend of it happening and I get the chance. However, it's still an issue if this only fixes the problem temporarily. If clearing the data, uninstalling, restarting, and installing again is necessary on a regular basis, I mean. Or even if enough people have to do this the first time they install the app... it still needs some attention to be fixed. On rare occasions, the energy bar would disappear when using the last version, as well. Usually restarting fixed it. I never reported the problem.

Understood. I agree that it should be stable first. Just keep our suggestions in mind. Were all of those examples of feedback/requests that you have gotten? While I've got your attention... add "make the gradient start in the center if the center origin is selected" to the list, as well. Otherwise, the 0% and 100% colors will disappear first, and you'll have the 50% colors displayed when you're close to 0%. I saw that you've got a donation version already implemented in the settings app... do you plan it to have the "premium" features like these?

If that's the case... then I have another bug to report. I'm not seeing the history. I've been plugged into my 2A charger since my previous post at 39%. I'm at 96% now, and I don't see an indication of the 57% I've gained in that time.
[Android Apps and Games] jagan2:
Wasn't being sarcastic at all in this case, I do like to read your detailed feedback. :)

Of course, the photo you see in the first post as well as in my signature, is a snap of a phone running Energy Bar and it's an Android One device. But POST #3 has some of the screenshots (same as on Google Play Store) attached, except the first two, all of them have Energy Bar running.

After reading out all the odd problems you're facing, I really think that either Xposed or some App or some configuration is messing up with Energy Bar's normal behavior, I have got quite a number of feedback from Google Play Store on the latest update, and they all seem to be working absolutely fine - which matches with my testing on my test devices and emulator. If you have another device, perhaps your friends', do try it out on them and see the difference.

Yes, all of them are are the feature requests/suggestion from feedback.

And yes, you can say Status Bar and Gradient Bar is already part of 'premium' features under 'Support Dev Pack'. I will try my best to balance features in the future versions.

Your suggestion for gradient in center origin makes a lot of sense, will have it implemented in future updates.
[Android Apps and Games] DrPhant0m:
I just cleared data, uninstalled, restarted, and reinstalled. I haven't had any problems yet... but I literally just did it.

The act of doing so made me want to reiterate that having presets for the segments would be nice... or having the ability to save/export your settings.

I wipe/reinstall/flash my OS pretty frequently, and while most of the time I'll use Titanium Backup to restore the settings... an export option would be nice for users that aren't restoring data. Or, in my case, wanted to purge potentially bad data.

Just a thought. I'm liking the new app. Something about it being an accessibility service makes it seem more like an inherent part of the OS rather than a 3rd party kludge. That's not to say the last app was a kludge. Google makes it hard for any ongoing apps to work their way in to feel like a real part of the OS... and they do that by forcing the app to have an ongoing notification, or risk the app getting closed haphazardly in the background.
[Android Apps and Games] jagan2:
Ah! Trust me, I was very frustrated with Android killing my App on many devices all the time with all the previous version. I had this solution of Accessibility service built up long long back, but never got enough time to polish the core features. So, I took the time to publish an update which will feels almost like a new App.

Yes, exporting is definitely a much needed feature, I will add it soon. And I will continue trying to find the source of the glitch that happened on your device earlier. I certainly can make the code more robust to prevent odd glitches/bugs like it was on your device.
[Android Apps and Games] Rinoceros:
Thank you very much. Bought directly the DEV pack to give you support :)

Do you plan also to make an import/export option of the settings?
[Android Apps and Games] jagan2:
Thanks Rinoceros, much appreciated! :)

And yes, import/export option will be there in some future version, this particular version apart from UI/feature changes has mainly helped us to achieve 'almost' full stability. So, I can worry less on the stability now and work on adding features.
[Android Apps and Games] DrPhant0m:
Any idea why my charging history isn't showing up?

Since I cleared data / uninstalled / rebooted / reinstalled... I haven't seen any instances where the bar was drawing in the wrong area. However, I'm not seeing the charging history indication... such that the dot that flies in always stops at the edge of the bar, and doesn't go to the initial point of charging like it used to before the big rewrite. To be clear, I don't think I've seen the charging history since I replaced the old version with the first beta.

Galaxy Note 3, Rooted 4.4.2
[Android Apps and Games] jagan2:
Ah, these issues... I guess I will have to release a version with with some kind of logger embedded to find the exact cause of these issues.

As I review my code again and again, I test it on the available test devices and emulators, everything seems to be fine and I am unable to reproduce some of these weird glitches. I still have couple of ideas though to make things robust, I will soon have some special test versions of the App which help us track the issue.
[Android Apps and Games] Haardok:
I have waited a long Time for an update and now i directly bought the dev pack to give you Support. On my galaxy s6 Edge Version 5.0 runs very smooth. Maybe in Future releases you can put the feature back in, that the bar will pulsating when the battery lost Power. Sorry for my terrible english grammar, hope you will unterstand nevertheless. ;)
[Android Apps and Games] :
i have a problem with version EB_5.0 BETA, in fullscreen apps like games when the statusbar hides the battery bar remains. is it possible to insert the bar into the status bar instead of top of it?
[Android Apps and Games] jagan2:
That's great to hear! :)

And I read it twice "... put the feature back in, that the bar will pulsating when the battery lost power...". But can't figure out what you mean, may be try telling me with different words? :)

Oh BTW, I have always wanted to ask someone with one of those Edge screens of Galaxy, do you think it's a nice idea to make your edge as Energy Bar? Like a vertical Energy Tank, or it would be distracting?

In status bar mode, the Energy Bar essentially is at the back of status bar, so if the status bar is transparent/ or gone it's visible. Integrating directly into status bar would require root.

However, I have been thinking of these two options:

#1 Whenever you are in Status Bar mode, if you go to a full screen App, you can tap on the Energy Bar to collapse into a thin one or go invisible adding a notification to your Notification tray - which later you can click to bring it back.

#2 Add the ability to auto-hide Energy Bar on some selected Apps, though this would mean, Energy Bar will constantly watch out if you are in one of the selected Apps - not very efficient.

:)
[Android Apps and Games] Haardok:
Hehe... ;)

Ok, i will try it again. In one of the earlier versions the bar was pulsating when the battery goes down (a bit?).

I think energy bar as a news feed for Edge devices would look awesome.
[Android Apps and Games] :
why not add root for those who has it then? just a thought though. its already a great app as it is. :cheers:
[Android Apps and Games] decmk:
I just paid to support developer.

BTW its a great app.

Can you add a option to hide when display is in landscape.

This will be useful when you watch a video.

Thanks

P. S. Small bug, after phone restart it's lost my payment.

Sent from my HTC One_M8
[Android Apps and Games] jagan2:
I guess, you are referring to a very old feature of Energy Bar, was probably present in version 1 only where the Bar glows red for a second whenever the battery goes down by 1%. I think no harm in adding that back. But again, I have got a ton of features here and there where individual like to be added, will see how I can prioritize my time and start adding them.

Sure, but again, not enough time to fulfill all requests, you can expect in some near future though :)

Thanks!

Here is a short story from my inbox: Some users want the ability to hide Energy Bar in full screen Apps, some say the fact that it's always on screen is what they like about the App and then your request to hide it only on landscape, ha! :D

No harm in adding all those options, but please expect significant delay as there are many things to be added and am not having enough time.

About the Support Dev Pack, just hit 'Buy!' button again, if the combination of your Account selection and the Google Account with which you made the purchase is right and in sync, you will be not taken to the purchase page this time and ever again on any of your devices, App will just verify and instantly grant you all benefits.

And just to know the cause of the revoke, did you switch to another Google Account on Google Play Market, or just add another Account or did anything related to Accounts at all? Because, I have got few other reports about the revoke which shouldn't happen.
[Android Apps and Games] decmk:
Not at all, I previously have 3 google account, and i payed with the my personal, other two are from my work. My account is listed second, maybe this is a problem. I don't have problem with another apps with in-app purchase.

Sent from my HTC One_M8
[Android Apps and Games] jagan2:
What's the current status? You should have been able to regain all access by the steps I mentioned above. Give me some more details please.

I haven't tested but, it's possible that when you switch/use Google Play Market from another account, your purchase information from your personal account goes out of memory as you are now using another account. And so, when the App tries to check it, it gets nothing and hence revokes things. Let me know, what you think.
[Android Apps and Games] decmk:
Yes I do that and is ok.

I will check again and report when I reboot phone.

EDIT:

It's ok after reboot.

Sent from my HTC One_M8
[Android Apps and Games] jagan2:
It shouldn't technically.

Here's how it works:

Energy Bar when first launched, checks the current Battery level, draws the Bar appropriately, sends a request to System to notify it whenever there is a change in Battery Level and then goes to sleep - does absolutely nothing.

When a change in Battery level occurs, System notifies Energy Bar. Now Energy Bar wakes up for a fraction of a second, adjusts the Bar to reflect recent change in Battery and again goes to sleep.

Now to be really efficient, Energy Bar completely shuts down when you turn off your screen and goes to deep sleep, doesn't receive any Battery level changed information anymore. The only thing that it will respond to now is when you turn on the screen again.
[Android Apps and Games] jagan2:
New Test Version

Hello everyone!

If anybody is facing the issue of Energy Bar going 100% upon locking the screen - unlocking after a while, try out this new version attached with this post.

Changes:

> A minor code change which will hopefully fix the Bug.

> You will notice a new font here and there :)

After you install and test this version, please answer the following questions:

#1 The obvious one, is the glitch gone?

#3 Was your settings preserved when you made the upgrade to this version?

#4 Is Energy Bar working fine when you restart phone on any configuration?

#5 Is Support Dev Pack intact or did you have to click 'Buy!' button again to gain all access?
[Android Apps and Games] decmk:
1# After locking, disappeared and don't came back.

3# Yes

4# Not tested

5# No

Sent from my HTC One_M8
[Android Apps and Games] s629c:
I really like the idea but I think the bar should "pulsate" across the top like the Galaxy S6 Edge's notification feature when charging. Would be really cool to see the bar sliding across the top when plugged in

Sent from my SAMSUNG-SGH-I337
[Android Apps and Games] jagan2:
Checkout the new build attached with this post, that should do the trick :)

Also, was the disappearance consistent?

And answer for #5, do you mean, the 'Support Dev Pack' was intact? Sorry, should have framed question better.

Yes, I saw that, pretty cool, but I can't find the video of it now, if you know of any video showing it in action please paste a link here.
[Android Apps and Games] Gu$houn*:
Hey [MENTION=1884109]jagan2[/MENTION],

with 5.0.2:

#1 no glitch before, no glitch now,

#2 yes,

#3 yes,

#4 can't test it.

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
Thank you for the response [MENTION=3296383]Gu$houn*[/MENTION] !

Good to see you here since the beginning :)
[Android Apps and Games] decmk:
[MENTION=1884109]jagan2[/MENTION]

v5.0.2

1# no glitch

3# yes

4# everything is ok

5# intact

Sent from my HTC One_M8
[Android Apps and Games] jagan2:
Awesome! Time to push the update to others via Google Play.
[Android Apps and Games] Gu$houn*:
Hey, just realised I gave wrong numbers to my answers, it should be #1,3,4,5 of course, I really should upgrade my toilet-reading skills. :D

Yeah, I like this app, it's pretty cool. But better to see YOU than me here. :D

Okay, compliments was written, time to go to work, keep up, looking forward to new features you're gonna amaze us.

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
haha! You finally noticed! I did have a question #2 but then deleted it and left the numbering of other questions unedited ... just for fun :D

And thanks a lot [MENTION=3296383]Gu$houn*[/MENTION] !
[Android Apps and Games] Rinoceros:
Installed 5.0.2 on my stock Nexus 7 and have the following answers:

#1 No glitches

#3 Settings are preserved

#4 Working perfectly after a cold boot

#5 Dev Pack is intact after boot.

To me, you can push it into the market :D
[Android Apps and Games] s629c:
http://youtu.be/itvYetQEpjM found the one from the commercial

Sent from my SAMSUNG-SGH-I337
[Android Apps and Games] decmk:
After screen rotation, the glitch is back again.

Sent from my HTC One_M8
[Android Apps and Games] Gu$houn*:
Yeah, tried it here by myself and the bar is after rotation from one edge to another, but in landscape it's OK, strange.

Also I had to reenable the app service first for some reason because the bar gone during charging on qi.

Any hints, [MENTION=1884109]jagan2[/MENTION]?

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
Did any of your had the glitch of Energy Bar going 100% in the initial version (EB_5.0_BETA) ?

5.0.1 & 5.0.2 were an attempt to fix that glitch which apparently occured in some particular few devices, I was never able to reproduce the glitch in any of my test devices or Android Emulator, so I went with my instinct and made some appropriate code changes, but seems like it has created glitch for even those who never had a glitch.

But the funny thing is, even this new glitch I am not able to reproduce.

Could you guys give me exact steps to reproduce it? I have been rotating up down, lock unlock but nothing, lol. Please, try to be very precise like, you locked, left it for a while, then rotated, then unlocked something like that.
[Android Apps and Games] Gu$houn*:
I don't use rotation much often so I didn't notice this glitch before, but I'll try.

On 5.0.2 version, I uninstalled the app, rebooted, installed again, immediately from "installation complete" page opened the app, didn't set anything, just enabled the app, enabled the service, made screen #1, enable rotation, made screen #2, rotated back, made screen #3.

Going to try with 5.0 beta >>> no problem at all, same procedure, [MENTION=1884109]jagan2[/MENTION].

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
Thanks [MENTION=3296383]Gu$houn*[/MENTION], that did help. Fixed it!

But, I still need confirmation from someone who had the glitch of EB going to 100% in the initial version - EB_5.0_BETA

If I don't get any soon, I guess I will have to just trust that this update indeed fixes the glitch for those who had it in initial version and push the update to Google Play.

Just in case anybody sees this post in future, here is the summary of change from 5.0 to 5.0.3:

#1 Added new font, if you are running Android 3.0+ you'll see it here and there in UI but not every single text is using the new font.

#2 An attempt to fix the glitch of Energy Bar going 100% for few users. Note:- I am still not able to reproduce the glitch which was initially reported and this fix is based on my instinct and guess, and is not confirmed yet if it actually fixes it.

Also, if anybody could spare some of their precious time to help me translating the App in their native language let me know. I will send all the texts used in the UI.

And then finally I can start updating App with new features continuously.
[Android Apps and Games] decmk:
v5.0.3

No glitch in landscape.

Sent from my HTC One_M8
[Android Apps and Games] Gu$houn*:
v5.0.3 glitchless here too.;)

Thanks [MENTION=1884109]jagan2[/MENTION] for quick update.

If you are interested, I could translate texts for your app to Czech language (yes, it's Slavic, but no it's not Russian :D), you can hit me with PM.

P.

[sntfrmnxs4]
[Android Apps and Games] jagan2:
That's great to hear, thank you for confirming!

Wow, so kind of you.

Here, I created a table with all the texts to be translated and added comments about texts which may need usage clarification : http://bit.ly/eb_translate

If anybody else is also interested in translating Energy Bar in one of their native language, please go ahead and open the document (http://bit.ly/eb_translate) :)
[Android Apps and Games] Haardok:
I think i can translate most of the texts to german. Let's see when I have time for it the next few days. :)
[Android Apps and Games] jagan2:
That would be great [MENTION=5829880]Haardok[/MENTION], take your time. danke!
[Android Apps and Games] jagan2:
A quick update, I got confirmation from a couple of people who were having the glitch of Energy Bar going 100% that it's not happening anymore. Here is a possible explanation of the source of the glitch:

Somehow, either right before or during the screen is off, Energy Bar is triggered to calculate the width of the screen in landscape mode. So, when the screen is turned on, the Bar drawn is based on the height of the device which is certainly more than the width and hence it covers the entire width of the screen assuming that the phone is in landscape mode.

While that should have not happened (and it wasn't happening on any of my devices or Android Emulator.) The quick guess work which solved the problem was, I added a line of code to recalculate the screen width everytime the screen is turned on again before drawing Energy Bar.
[Android Apps and Games] decmk:
Instead of calculating when needed, you can read and remember width and height and use it when need.

My 2 cents.

Sent from my HTC One_M8
[Android Apps and Games] jagan2:
Asking OS to tell the current orientation and then pick up the appropriate saved value is almost similar to just asking OS the current width. Will have no visible effect. :)
[Android Apps and Games] TheForumTroll:
Just had a crash:

06-27 12:48:27.648 E/AndroidRuntime(29130): FATAL EXCEPTION: main
06-27 12:48:27.648 E/AndroidRuntime(29130): Process: you.in.spark.energy:Awesomeness_Controller, PID: 29130
06-27 12:48:27.648 E/AndroidRuntime(29130): java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
06-27 12:48:27.648 E/AndroidRuntime(29130):

EDIT: Attached file as some of the log was missing.
[Android Apps and Games] jagan2:
Thanks for reporting, will look into it.
[Android Apps and Games] TheForumTroll:
I just noticed that when using the status bar option, the bar goes away when opening an app, while with the normal bar it always shows. Is it possible to change this?

Edit: I should have said "when opening some apps". For example in Firefox it shows the bar. In xdas app it doesn't.