Hi ,This is a very noob question thanks for visting
I just want to ask how can I use this code to Display the Day in Statusbar?
Code:
import java.util.*;
import java.text.*;
public class day {
public static void main(String args[]) {
Date dNow = new Date( );
SimpleDateFormat ft =
new SimpleDateFormat ("E");
System.out.println("" + ft.format(dNow));
}
}
Thanks:laugh:
For displaying text in the status bar, you will need to create and display a notification. However, the day will just be shown if the status bar is expanded. However, a small icon is shown which you could use to show the first two letters of the day (like Mo or Th) or the number of the day ("14" for May, 14th).
If you want it to be shown in the status bar when it is not expanded, you will need to flash a custom ROM with this feauture, e.g. AOKP.
nikwen said:
For displaying text in the status bar, you will need to create and display a notification. However, the day will just be shown if the status bar is expanded. However, a small icon is shown which you could use to show the first two letters of the day (like Mo or Th) or the number of the day ("14" for May, 14th).
If you want it to be shown in the status bar when it is not expanded, you will need to flash a custom ROM with this feauture, e.g. AOKP.
Click to expand...
Click to collapse
But can I get even without using AOKP?My device didnt support it
I see the codes of that mod using "extends TextView" but I dont know to use it
mariozawa said:
But can I get even without using AOKP?My device didnt support it
I see the codes of that mod using "extends TextView" but I dont know to use it
Click to expand...
Click to collapse
The problem is that we cannot easily modify the status bar.
Maybe you could do this with a flashable zip, but not with a normal app.
I will check whether Cyanogenmod has such a feature.
---------- Post added at 07:15 PM ---------- Previous post was at 07:03 PM ----------
I do not think that Cm supports this.
Problem Solved by another method hehe
I just add "E" to displat day in the week
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mariozawa said:
Problem Solved by another method hehe
I just add "E" to displat day in the week
Click to expand...
Click to collapse
How did you do this? I would be interested in this.
Or... Did you modify the ROM?
nikwen said:
How did you do this? I would be interested in this.
Or... Did you modify the ROM?
Click to expand...
Click to collapse
Take a look at this
http://www.tutorialspoint.com/java/java_date_time.htm
mariozawa said:
Take a look at this
http://www.tutorialspoint.com/java/java_date_time.htm
Click to expand...
Click to collapse
Yes, but I wanted to know how you modified the status bar. Is it for a custom ROM?
nikwen said:
Yes, but I wanted to know how you modified the status bar. Is it for a custom ROM?
Click to expand...
Click to collapse
Yes and it is working in all Deodex ROM ,I just modify the clock.smali
mariozawa said:
Yes and it is working in all Deodex ROM ,I just modify the clock.smali
Click to expand...
Click to collapse
Ah ok. I thought that you wanted to develop a normal app.
Related
​What is it
Its a black statusbar mixed with the battery icon, and status icons from Carbon UI by trinityEon
How to use
Flash the statusbar zip using your preferred recovery menu. Afterwards browse to your phones settings and go to OpenDesire Settings, now click User Interface and modify the Status bar, Date and Provider and Notifications ticker colors to what ever you choose. Be sure to click the circle in the centre of the color picker to enable. Once colors have been set, simply reboot the phone.
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For more check the Statusbar at the Carbon UI topic.
Download
Here you go [4.0.23 to 4.0.32]
Archive
ChaosR said:
What is it
Its the Black Statusbar...
Click to expand...
Click to collapse
Thanks for this taskbar. Suggestion: could we have a DeFrost version too, please?
f.
Updated to OpenDesire 4.0
Thx for your work. On OD4.04 battery is a caution sign. Dnlgee released his 4.02 blackbar to fix this
I have updated it for OD4.0.4
how i can set dialer one as standard app?!
if i tipp on the telephon button, the android telephon app opens....
Updated to OD4.0.10
Hi ChaosR,
The link you posted is not correct, could you please update it?
Thanks for your great job.
I just tried to download the file, but the link isn't complete.
Sorry about that, fixed it.
Can someone post some screen shots?
For screenshots check the CarbonUI topic (just the statusbar).
Updated for OD4.0.11, added link to archive.
pls check the link..It gives error 400
link not found??
http://files.idlesoft.net/xda/blackbar-carbon-OD-4-0-11-signed.zip
ChaosR said:
For screenshots check the CarbonUI topic (just the statusbar).
Updated for OD4.0.11, added link to archive.
Click to expand...
Click to collapse
Hmm, there is no OD 4.0.11? Or am I missing something?
/CK
need theme for 4.0.15
Sent from my HTC Desire using XDA App
ChaosR said:
For screenshots check the CarbonUI topic (just the statusbar).
Updated for OD4.0.11, added link to archive.
Click to expand...
Click to collapse
Sorry I cant be bothered searching for it through the various threads.
Are you having a laugh? I cant believe you post a thread about a theme for people to download were the download link http://files.idlesoft.net/xda/blackbar-carbon-OD4-0-11-signed.zip doesn't even work, you don't link screenshots or even help with a a url to the location where we can see screenies - your not exactly helping much!
the ginger god said:
Are you having a laugh? I cant believe you post a thread about a theme for people to download were the download link http://files.idlesoft.net/xda/blackbar-carbon-OD4-0-11-signed.zip doesn't even work, you don't link screenshots or even help with a a url to the location where we can see screenies - your not exactly helping much!
Click to expand...
Click to collapse
I can't believe you post a reply just to make fun of the author making an honest typo in a link. And complain about there not being any screenshots, when you are too lazy to use the search function for just a second. Also, I link to CarbonUI in the topic start, so the joke is on you I suppose.
thanks!
Sent from my HTC Desire using XDA App
As the title says, I have a rooted gt 540 running official 2.1, is there a metamorph stock rom bblack status bar mod
1. Your are in the wrong section
2. Please search in future as it took me 10 seconds to find this link:
http://forum.xda-developers.com/showthread.php?t=843978
i tried that before posintg, it did not work, and i only want a black status bar, not the whole theme
You want whole theme belaieve me. With black bar you need white fonts...
aight well, do u kno a working one?
Yeah I do know. I will share with you tomorrow morning.
Here you go: http://forum.android.com.pl/f200/metamorph-elegance-swift-36324/
__________
Written with Tapatalk on GT540
that one doesent change text color
Hmmm so let's watch: http://www.youtube.com/watch?v=LiExjt7nGt8&NR=1
thats abit... complicated...
White font is added in Quarx ROM, then all docks looks good
ZduneX25 said:
White font is added in Quarx ROM, then all docks looks good
Click to expand...
Click to collapse
Yea, just flash BlackRom... done!
Straight from my GT540!
cyanogenmod has status bar colour change to any colour!
Is there any way to get a black statusbar without having to change ROM? (im using the Europe 2.1 ROM) Because i want to have swedish launguage, if that's possible
I found the solution for you guys ^^ You don't need ROM with black bar you can get white text on any ROM (not tested yet)
Install this theme to get white font in status bar:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.mediafire.com/?wokh1aq8d0at4o2
install via recovery, then set Wipe Dalvik cache
and now you can install any other black bar with metamorph
Big thanks to the author @arekl1988r
How do i install it from recovery and set that thing (Wipe something..)? (Im using european rom 2.1 with fastboot right now)
dewide said:
Im using european
Click to expand...
Click to collapse
So leave it, you need ROM with Deodex to get this working.
I made my status bar transparent but it leaves a black thin line below it.
How will I remove it?
btw i'm using stock deoxdexed rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Its related to holo launcher u r using...
It has an option to provide shadow.. See in options and disable that...
i can't find any option responsible for that line. When i change my launcher the line is still there.
Zius said:
i can't find any option responsible for that line. When i change my launcher the line is still there.
Click to expand...
Click to collapse
it's a 1x1 9.png,
i forgot what it was to be honest,
just try to find a black 1x1 9.png and test
...
this is what i found
title_bar_shadow.9.png and title_bar_portrait.9.png
Zius said:
this is what i found
title_bar_shadow.9.png and title_bar_portrait.9.png
Click to expand...
Click to collapse
ok,
so try removing everything in alpha channels and index the image to RGB format in photoshop
i think that will work
How to make the status bar transparent?
Sent from my GT-S5360 using xda app-developers app
trollguy96 said:
How to make the status bar transparent?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Search button, sherlock
A Hero Can Be Anyone.
GENERAL HELP THREAD
trollguy96 said:
How to make the status bar transparent?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
U have to decompile your system UI.apk and edit the PNG responsible for it....
Search how to do it....
If u feel u cannot do it yet...
U see themibg section there my theme (addons) or nightly ninjas status bar mods thread u will get all kinds of status bar mods there
Just for the record...
There was nothing wrong him asking that question ofc u will find just about everything if u search on internet but things like these r considered advanced for a newbie so it is duty to help them without being rude...
.................I Walk In Shadows...!..................
ok,
so try removing everything in alpha channels and index the image to RGB format in photoshop
i think that will work
Click to expand...
Click to collapse
i'll try this one.
HERE IS THE CM10.1 MOD FOR TRANSPARENT STATUSBAR.
CONFIRMED ON CM.10.1 RC4.
DO MAKE BACKUP TO RESCUE YOU IN TROUBLE
I DO NOT TAKE ANY RESPONSIBILITY FOR ANY BAD CAUSED TO YOUR PHONE BY THIS MOD
DO TELL ME IF ANYONE WANTS OTHER TRANPIRANCY LEVELS LIKE 100% 75% 25% TRANSPARENT LEVELS.
THE ONE POSTED BELOW IS 50% TRANSPARENT
DOWNLOAD
SCREENSHOT:-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
guide
kssood said:
SCREENSHOT:-
Click to expand...
Click to collapse
instructions please !!
Flash it from recovery on cm10.1 rc4
kssood said:
Flash it from recovery on cm10.1 rc4
Click to expand...
Click to collapse
i'm on RC2 would it work
I guess no. But give me your systemui.apk and android.policy.jar and i will make one for rc2 too
kssood said:
I guess no. But give me your systemui.apk and android.policy.jar and i will make one for rc2 too
Click to expand...
Click to collapse
oh thanks...but i'm gonna upgrade soon and i'ts better i'll try it then
But a lot of other guys would want it, so these are the files u asked for
(50% transparency would be gr8, and could you please upload the screenshots of the drawer view too) :
oops ! framework-res.apk aswell.
and how much tranpiracy u want?
Module for Xpose? Might be a better approach.
hello i don't have a optimus one can i give you the files to make this work on my phone ?
U can but i am out of station so it will take some days. About a week
Sorry but...
Sorry but, I'm an AOKP user, JB 4.1.2, can u make a file with 100% transparency for this rom, or teach me how to do it.
I've tried many times, but always I make something wrong.
Thank you.
hi. can you update it to cm10.1.3?
iead_20 said:
hello i don't have a optimus one can i give you the files to make this work on my phone ?
Click to expand...
Click to collapse
lera3996 said:
Sorry but, I'm an AOKP user, JB 4.1.2, can u make a file with 100% transparency for this rom, or teach me how to do it.
I've tried many times, but always I make something wrong.
Thank you.
Click to expand...
Click to collapse
You can put it as you like by following this guide:
http://forum.xda-developers.com/showpost.php?p=40278450&postcount=2
You can check more awesome guides:
http://forum.xda-developers.com/showthread.php?t=2234355
Regards.
Cool. Would love this but it is too too version-specific. So everyone asks, I have version zyx, will it work? Maybe, maybe not.
This is a job for Xposed!
Check out the "wisdomSky exploit" which will set color, clock fonts, etc., at run time. Might combine your mod with his.
One note relevant to both approaches. I use Xposed to reduce the height of the status bar so more (,smaller) items can be seen when opened. Android still reserves the whole height so the color, transparancy will apply to reduced height leaving a black bar underneath.
sexy
100% trans
after updating my g6 (G600K) to G600K10r i notice that app scaling button icon is gone,leaving a blue circle there
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
cant find a way to fix it,anybody know what's going on?
Mine too dont know what to do please some one help us HELLLPPPP !! PLEASE !!!!
Mine too dont know what to do please some one help us HELLLPPPP !! PLEASE !!!!
Are you guys using a theme? If so which one? I suspect if you are whoever made the theme messed it up and didn't theme that icon properly. They probably thought that icon was supposed to be a fab when in fact it isn't.
Change the font using with theme
help
markbencze said:
Are you guys using a theme? If so which one? I suspect if you are whoever made the theme messed it up and didn't theme that icon properly. They probably thought that icon was supposed to be a fab when in fact it isn't.
Click to expand...
Click to collapse
i have a theme but i change it in to the default but nothing happen i hope to have android O as soon as possible or android 7.1.1 for my G6
normandeleon08 said:
i have a theme but i change it in to the default but nothing happen i hope to have android O as soon as possible or android 7.1.1 for my G6
Click to expand...
Click to collapse
For this specific button I believe a reboot is needed. UX6 isn't perfect but it's much better than UX5 was and both have their bugs. I'm fairly certain that if you revert to stock or apply any of my themes and then reboot you'll have the button looking the way it is supposed to look!
help
markbencze said:
For this specific button I believe a reboot is needed. UX6 isn't perfect but it's much better than UX5 was and both have their bugs. I'm fairly certain that if you revert to stock or apply any of my themes and then reboot you'll have the button looking the way it is supposed to look!
Click to expand...
Click to collapse
i reboot it After i change the Theme And i Change it Again To default Theme but i didnt Reboot do you think i need to reboot again ??