Support and General Use > Theming and Appearance Customization

Problem with %bp tag...

<< < (2/3) > >>

Yotto:
I can tell you for a fact that my theme, WLights, uses this code.  I think I stole borrowed it from jBlackGlass too.  Let me check it...

Yeah, here's what I use:


--- Code: ---%?bp

--- End code ---

dm is "charging" ; dn, do, dp, dq, and dr are the levels.  And it works, I just tested it again, I'm using the ACE build which is butil on the 10/17 cvs so there's no reason.

Perhaps you have too many bitmaps in the line or something?  Cut it down to 4, or 8, and see if the problem persists.  Perhaps you've found a bug?

iPodFoo:
How come you have 16 images for the battery level? I thought the limit is 11? Yotto could be right about reducing the number of bmp's.

Genre9mp3:

--- Quote from: ipodfoo on October 20, 2006, 06:10:24 AM ---How come you have 16 images for the battery level? I thought the limit is 11? Yotto could be right about reducing the number of bmp's.
--- End quote ---

No. There's no limit anymore. This has been changed since: 26 Aug 13:25 Make volume and battery level enums dynamic, inspired by patch 4802. Almost backwards compatible; for the battery level, the first enum is used when the level is unknown, while the remaining enums are used as before.

@SorcererSteven: About your problem. Your code seems alright but maybe Nano's hardware cannot detect whether the charger is plugged in or not. I was expecting though that replacing "%bp" with "%bc" would work so here's another idea (maybe this will work):


--- Code: ---%?bp
--- End code ---

This combines "%bp" and "%bc" and it goes like: When plugged and charging show bmp A, When plugged and not charging (when charging is complete) show bmp Q (assuming that bmp Q is the full battery bmp)

SorcererSteven:
Thanks for the help guys, but it's still not working! I tried using the codes Yotto and Genre9mp3 gave me (switching my bmp letters for Yotto's, of course), and it still didn't work. I've tried a couple times now reducing the number of bmps, and there has been no change.

--- Quote from: Yotto on October 19, 2006, 10:04:12 PM ---I can tell you for a fact that my theme, WLights, uses this code.  I think I stole borrowed it from jBlackGlass too.
--- End quote ---
Yeah... But both of those are iPod Video themes, not Nano. Does anyone have/know of one that uses %bp, to see if it works? Just to see if I haven't done anything weird? Or is there anyone willing to try my WPS on their Nano?

Hweb21:
%xl|A|batt1.bmp|135|1|
%xl|B|batt2.bmp|135|1|
%xl|C|batt3.bmp|135|1|
%xl|D|batt4.bmp|135|1|
%xl|E|batt5.bmp|135|1|
%xl|F|battc.bmp|135|1|
%xl|G|battp.bmp|135|1|

%?bp


edit: used in clix for x5

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version