yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] chaimc:
What rom are you using? Also can you send me a copy of your xposed log and I will look into it.
[Xposed Framework Modules] Ultimous:
I don't like tweeking much ; but this is so cool I'll give it a try
[Xposed Framework Modules] wyt18:
Thanks, I'm on 5.0.2 stock Sony. Will send you my Xposed log shortly. I also have GravityBox so not sure if that interferes with TI
[Xposed Framework Modules] MartelKombat:
It works for me, but not as expected... I set notifcation drawer date to #o-#nextalarm. When I refresh the value it shows the orginal value + nextalarm... Next time it gets refreshed it shows original value + nextalarm + nextalarm... I think the #o variable is now the real original value and the next alarm together. I hope you can fix this ;)
[Xposed Framework Modules] chaimc:
OK I've edited the xposed description. Thanks.
[Xposed Framework Modules] chaimc:
Glad you find this cool. Please let me know how it goes.
[Xposed Framework Modules] chaimc:
Oops :o

Thanks, I'll fix that.

(In the meantime as a workaround you can set the value of #nextalarm to have the date in set from tasker)
[Xposed Framework Modules] MartelKombat:
I think you get your "real" value before the method hook(beforeHookedMethod), I think you only need to grab the real value after the method hook(afterHookedMethod).

PS.: I'm a nooby in java development and only looked on the tutorial from rovo and the source of some modules (my modules failed a lot). I hope my tip was helping/right.
[Xposed Framework Modules] chaimc:
Fixed now. Thanks for pointing that out.

KitKat support added. Enjoy :)
[Xposed Framework Modules] chaimc:
This issue is possibly fixed in the new version of TextInject (v0.3). Please try and let me know. (You can send me the log again if you still having issues).
[Xposed Framework Modules] wyt18:
thanks, v0.3 worked for me!
[Xposed Framework Modules] chaimc:
KitKat now fully supported.
[Xposed Framework Modules] GokulNC:
Cool app :)

One thing you must take care of:

When the status bar time is set as h:mm:ss , the status bar needs to refresh every second to display seconds..

And, it'd be good if you add features like making the text bold or italic..

This app reminds me of XuiMod (An Xposed Module)

It works with stock Lollipop or kitkat i think..

Check that out.. It might give you new ideas :)
[Xposed Framework Modules] Bredal22:
[MENTION=6340056]chaimc[/MENTION]. This XuiMod could be the breakthrough we need, to change the update frequency of the clock variable [emoji12]
[Xposed Framework Modules] jb789:
A few thoughts:

Have you read & understood the help info in the app & examples in this thread? Not trying to be condescending, just following Occam's Razor.

How long are you waiting for the change to take effect? You may need to wait up to 61 seconds for the display to refresh once the change is applied.

Are you pressing the clock icon to the right of each text field (or not pressing it, depending on whether you're entering a time value vs text)? On some themes, the icon may be white on a white background & therefore not visible.

Presuming you're running Lollipop, are you using a compatible version of Xposed?
[Xposed Framework Modules] geowolf1000:
Hi

I just set a profilr to tasker to detect active cyanogen profile and i want to injected to carrier

Task vars detect profile via %CMProfile variable

How can inject it?
[Xposed Framework Modules] Café King:
Sorry the late reply... Here's the log... I hope it's usefull... Btw... Notification drawer time works for me... Not statusbar time which I would love to work ☺

/CK
[Xposed Framework Modules] geowolf1000:
Secure settings has option to hide and show clock

Device settings/

setting table :system

Setting namei. statusbar clock.

This refresh instantly clock but i do not if will per second

I use it for inject cyanogen profile and work
[Xposed Framework Modules] chaimc:
The newest beta (1.3 Beta) includes the option for refreshing the status bar every second. Use at your own risk: this feature may be a serious battery/resource hog when enabled. I have no idea.

The reason it is a beta is because I didn't test it fully with KitKat and there is a possibility that the Lockscreen time and date is broken. I'm not sure, you can test and see if you wish. I also didn't test the one second refresh statusbar on KitKat, again there is a chance it doesn't work (although I don't see any reason for it not to). Try at your own risk.
[Xposed Framework Modules] chaimc:
I can't remember if I answered this ever or not. But here goes the answer: on most fields the date parsing is done in the code with a DateFormat object. This includes a variety of different options/formats including the w for week of year.

However the Lockscreen time and date are already TextClock objects. This means that instead of parsing the date in the code of the app we can simply just provide it with a date format and it will parse it for us. The advantage of this is that it will automatically update every second without the code needing to run every second. The disadvantage is that for some reason the TextClock does not support as many date format options and one of the ones it doesn't support is w (week of the year).

I can solve this issue by first using a DateFormat to format any characters that TextClock won't and then passing the rest to the TextClock but this will take some time.
[Xposed Framework Modules] joshbean39:
Ugh followed the weather guide and it just stays at #weather...
[Xposed Framework Modules] moody07:
so sweeeeeeeeeeeeet
[Xposed Framework Modules] cribro:
Change and enable clock refresh from tasker

Just started using text inject. Trying to get the seconds to be displayed in the status bar at certain times.

Xui mod have managed to enable the refresh rate every second without a reboot, but TI can't. Anyway of doing this in the future?

Also, can tasker enable seconds(or perhaps change refresh rate from 60 seconds to 1 second). Might also be of use to those wanting the GPS speed display, but only when maps is open etc.

Looking forward to seeing where this can go!

Thanks
[Xposed Framework Modules] chaimc:
Try run it manually once and see if that works. Also can you post a screenshot of your Tasker task.
[Xposed Framework Modules] chaimc:
Perhaps, but no promises. You can leave the setting on and use a Tasker profile to choose when to display seconds or not.

You can run your Tasker task however often you want but expect it to impact the performance and battery life of your phone if you are running a task every second.
[Xposed Framework Modules] cribro:
Yeah this will work, just concerned about refreshing all the time will noticeably affect battery. I only want the seconds for about a total of 4 mins / week.

Sorry, I mean't I want Tasker to be able to change the time that TextInject refreshes the status bar. At the moment TI uses a check box (checked=refresh every second, unchecked=refresh every minute), what I was suggesting was the user could define the refresh rate (which could be a Tasker variable)
[Xposed Framework Modules] sir-harlekin:
Is there a way to force a paragraph/break on lockscreen?
[Xposed Framework Modules] Soumyava De:
With the new beta every second refreshing of statusbar works perfectly. However Notification drawer time doesn't refresh at all with custom java format if I keep the drawer pulled down(notification date refreshed normally)... Lock screen second clock works perfectly though
[Xposed Framework Modules] Kalinon:
Awesome app!

With this I was finally able to get the small notifications for email and SMS back on the lock screen where the carrier label is. I hated the way notifications in lollipop were displayed on the lock screen. I combined TextInject with a custom font containing Google's material icons, Tasker and AutoNotifications.

(I was going to post a screenshot but XDA wont let me yet...)

Thanks!!!
[Xposed Framework Modules] chaimc:
Nope.

(HTML support might be added eventually. Not sure if that will change this or not)
[Xposed Framework Modules] chaimc:
Interesting idea but would take some re-arranging of the code as the way it runs now the timer to make it go every second is only updated on reboot (so even if you changed it to be every second or third second it would also be only on reboot) - This is something I can look into.
[Xposed Framework Modules] chaimc:
It's been a while but.. if you are still having trouble with this you can send me your Xposed Log and I will look into it.
[Xposed Framework Modules] chaimc:
Did this work for you before and stop working?
[Xposed Framework Modules] wjazdbitu:
Is it possible in newest stable version to have weather with an icon below lockscreen clock like on the screen in the first post?

This one?
[Xposed Framework Modules] chaimc:
Yes. If you need help setting it up follow the tutorial at the beginning of the thread. (Or ask if you get stuck)
[Xposed Framework Modules] wjazdbitu:
I followed tutorials 1 & 1A and yes, I got stuck. First of all I think there is a mistake in 1A, step 2, there is: $wa%weatherace_weather_icon$ and should be: $wa%weatherace_weather_id$ (according to listing at their site). I managed to get weather with icon in the top of lockscreen (Carrier Text). Remaining places (Owner Info, Lockscreen Date & Time) showing up in lockscreen cannot use weather icon (no asterisk, they show just %weathericon).

Please help, sir.
[Xposed Framework Modules] chaimc:
Yes that is a mistake. Fixed now. Thanks for pointing that out.

Can you give me send a screenshot of your Tasker profiles?
[Xposed Framework Modules] wjazdbitu:
I can't, I'm afraid. I uninstalled Text Inject and Tasker. Thanks to Your thread I discovered Weather ACE with beautiful widget and managed to put it in with Lock screen widgets (another Xposed module). So keep up the good work, Your time modifications are awesome.
[Xposed Framework Modules] Big Foot:
[MENTION=6340056]chaimc[/MENTION] I have the icons working, everything is great, but for the life of me I can't figure out how you got those colored emoji icons for your weather in the status bar???

Any help would be appreciated!!

EDIT:

I figured it out!! Thank you!!
[Xposed Framework Modules] paulfigaro:
Is it actually possible to change next alarm text in the lockscreen on Lollipop 5.1.1 using Textinject?
[Xposed Framework Modules] chaimc:
Nope, not at the moment
[Xposed Framework Modules] chaimc:
Glad you figured it out. If anyone else is looking for the answer: Just switch to emojis on your keyboard - they will show up.
[Xposed Framework Modules] Big Foot:
Yep, I have my status bar set up very nicely, with wind gusts , weather descriptions, highs and lows for the day, even a weather report at night that gives tomorrow's forecast.

My only problem is that I'm trying to add the chance of rain (%weatherace_pop%) and all I get is a 0% regardless of rain or not. It's the only thing that doesn't update!

Have you tried the chance of rain tasker intent ??

UPDATE:

I have found a bit of a workaround for the chance of rain so everything is set. Amazing customization when you find ways to go farther than just current weather and icon.
[Xposed Framework Modules] Bredal22:
For inspiration; Could you share a screenshot with us?
[Xposed Framework Modules] Big Foot:
If you help me with how to share screenshots, I'll post them!!! ?

Long story short, I have 7 weather profiles with 7 weather update tasks. Using these, I can get alerts that cycle every 10-20 minutes. These alerts show various groups of information:

Current temp with an icon that represents the weather.

Weather description.

Feels like temp with an icon that changes based on if that temp is hotter or cooler.

Today's high temp and low temp with matching icons.

Chance of rain with an icon that changes based on high/low percentage.

Wind speed with icon that changes based on low/high wind speed.

Cloud coverage percent with matching icon.

Weather icons switch for day, evening, and night.

At night, I get a weather description and chance of rain with icon for the next day.

Once it's midnight, weather descriptions and chance of rain with icon become today's forecast.

I took the various screenshots but I don't know how to post them from my phone, but if you can help me figure it out, I can show you.
[Xposed Framework Modules] Bredal22:
Thanks for your description.

If you use TapaTalk, you can just attach them to your reply using the paper clip icon.
[Xposed Framework Modules] C0P0N:
Can i use it on Android Marshmallow?
[Xposed Framework Modules] chaimc:
Yes, I'm running it on CM13 with no issues.
[Xposed Framework Modules] C0P0N:
Really thanks
[Xposed Framework Modules] iamronin:
Anybody who's got this running in S6 with 5.1.1 deodexed ROM

Edit: ok got it running on the said device; not all options work though. Please please please include an option to edit text size atleast. Amazing mod.?
[Xposed Framework Modules] yashgumaste:
Can I see the applied changes instantaneously on the status bar?
[Xposed Framework Modules] Vagelis1608:
For me, that's the case.

Try it.
[Xposed Framework Modules] yashgumaste:
It takes about a minute to appear the changes on Status bar time
[Xposed Framework Modules] Vagelis1608:
Yeah, the clock updates every minute.

Enable the "Update every second" option.
[Xposed Framework Modules] yashgumaste:
Where is that option?
[Xposed Framework Modules] Vagelis1608:
In the latest beta of TextInject.
[Xposed Framework Modules] GoodbyeSky:
I went through tutorial 1A meticulously, and instead of the icon itself I keep getting the text "%weathericon" displaying on my status bar. Any ideas what might be causing this?
[Xposed Framework Modules] Vagelis1608:
You can only use weather icons on fields with *
[Xposed Framework Modules] GoodbyeSky:
I'm sorry, I don't understand. Fields with *?
[Xposed Framework Modules] Vagelis1608:
Fields whose name starts with *

Also, read the help screen in the app (click the ? )
[Xposed Framework Modules] GoodbyeSky:
The status bar starts with a * and there are pics of weather icons on the status bar in the OP.

I didn't see anything in the help menu that would make me think I'm trying to do something that isn't possible. It seems that setting the %weathericon variable to $wa%weatherace_weather_id$ doesn't appear to be doing anything. It's just placing the text "%weathericon" in my status bar instead.

Any ideas?
[Xposed Framework Modules] Vagelis1608:
TextInject variables start with # not %.
[Xposed Framework Modules] chaimc:
Tasker variables start with %. TextInject variables start with #.

The general idea is that you make a Tasker profile that sets a TI variable. You can then use that TI variable in the TI settings by entering a variable like #variable.

So in Tasker you would set a variable: %taskervariable = "test". Then you would use the Tasker plugin part of TI to set the TI variable in your Tasker profile: #texinjectvariable = %taskervariable. Finally in the TextInject interface you can use the #textinjectvariable set from your Tasker task.
[Xposed Framework Modules] Hameru17:
Let me share:)
[Xposed Framework Modules] devilsden:
Great mod. Really useful. Thanks

Is it possible to add a second clock (status bar) with a different time (timezone). I tried using various options from oracle docs but nothing works.

I am trying to achieve below result

<Time h:m from Perth> | <System Time ie time from Sydney>
[Xposed Framework Modules] Vagelis1608:
It can be done with Tasker.
[Xposed Framework Modules] devilsden:
Would you be able to explain please. Or direct me to a guide or source.

Thanks
[Xposed Framework Modules] Vagelis1608:
Use Tasker to calculate the time at the timezone you want, put that in a TextInject variable and use it where you want.

Also, display current time with the #o variable.
[Xposed Framework Modules] devilsden:
Thanks for this.

I have tried using variable split (and minus the hour/minute difference) but unfortunately it did not display the correct time. Any idea on how to calculate the time at different timezone ?
[Xposed Framework Modules] Vagelis1608:
I live in Greece (GMT +02:00) and below I calculated London time (GMT 00:00).

The 3 minute offset is because I took the screenshot after I run the Tasker profile.

(You can replace subtract with add. In subtract, I set Wrap Around to 24)
[Xposed Framework Modules] devilsden:
Awesome... works like a charm.... great stuff. Thanks for your help
[Xposed Framework Modules] Crsmsg:
I would like to inject battery temperature on status bar

Is there anyone help me how to setup?
[Xposed Framework Modules] last1left91:
The only problem is how you get CPU or Battery Temperature via Tasker. Here it is:

Tasker-> Code-> Run Shell Command: dumpsys battery | grep temperature | grep -o -e "[-0-9]\{1,4\}"

This will return you something like this 323 so we will have to divide it by 10 and then apply math function round to finally get 32 degree Celsius. I guess it's Celsius :)

Then, after you put your final result into tasker variabile %FinalTemperature all you will have to do is make a new Task->Plugin->TextInject . Then Configuration, choose a name(no # or % ex: generic) and inside the Value you put your final temperature, %FinalTemperature.

Then, the last step is to open TextINject Settings xposed module and place in the StatusBar Time stg like this: #generic HH:mm and check the clock and Update Statusbar every second(reboot to apply).

Good luck with that;)
[Xposed Framework Modules] last1left91:
chaimc, what are the chances so that we can gen an option like: update every second in the notification bar(time, date) or lockscreen. In the statusbar works flawlessly!!

I managed to do a nice profile that displays current Wifi SSid but I have to wait for about 40 secons to update. Look :)

Thanks in advance for your answer. YOu're amazing, your module and the idea behind it is unique!!!! This way, we can get rid of many other apps :)
[Xposed Framework Modules] Crsmsg:
Thanks for the info but i can't make it work.

Can you share your task here?
[Xposed Framework Modules] last1left91:
Which part you didn't understand? What keeps you away from making it work? We'll begin with that!
[Xposed Framework Modules] chaimc:
Thank you for your feedback :)

This feature is not in the immediate plans but I will add to the list for the future.
[Xposed Framework Modules] robertusIT:
i need an help,

I have my Nexus 5 with marshmallow and i connect it to my kitkat 4.4.4 radio car Newsmy NR3001 via bluetooth and make an hotspot with my Nexus 5 to my radio, so i have internet and share internet with my radio.

i tried to have in status bar of my radio some info about my phone:

-battery level of the phone

-name of the carrier of my phone

-type of network ( lte or 3g )

- level of phone signal or network

I don't know how to do that, in local i can see these information in my nexus but i don't knw how to share these info in radio status bar.
[Xposed Framework Modules] ultrasound1991:
I have a task that can change owner info text.

But text changes only after screen unlock/relock.

I need that owner info text can be updated also without unlock screen.

Is it possible?

Thanks
[Xposed Framework Modules] Kirrrr:
Hey there!

chaimc thank you for your work! I've been looking for ability to show bloody seconds in statusbar clock for a long time. Nothing works on my CM12.1 except your solution. =)

But now I stand in front of new challenge. )) Thus I'm asking for advice.

Until now I used to use small Xposed module called XSSID Indicator. It injects WiFi SSID name (optionally trimmed to designated string length) into clock string. It's straight, light and handy. But it doesn't work in conjunction with TextInject cause TextInject overrides XSSID Indicator clock text alteration. =(

Ok, that overriding is a pretty natural situation.

So the real question is: can somebody please give an advice how to set up both statusbar clock with seconds and WiFi SSID name display in statusbar clock (with SSID string trimmed to designated max length)?

I know it is pretty easy to make it via Tasker and it variables. But I don't use Tasker and don't want to use such powerfull app for such simple task. Maybe there is a lightweight way to "give" TextInject needed WiFi SSID name string? Some kind of "micro-Tasker" just to take current SSID name and give it to TextInject?

Of course the best possible way is to have such option in TextInject itself. =)

Best regards!

UPD: Solved it with Automate script. Works ok. =)
[Xposed Framework Modules] wyt18:
[MENTION=6340056]chaimc[/MENTION] is there a way to set TextInject values via intent instead of using the Tasker plugin?
[Xposed Framework Modules] FuTChY:
Hello,

The module is working very fine,

I have two issues.

1- Wheather icon is not visible in the taskbar next to the clock, but it's shown normally when i swipe down the notification drower.

2- when I show the weather status in the task bar in addition to the the date in such format (#wather #o) the status is shown like that (cleaAMr)
[Xposed Framework Modules] FuTChY:
how did you do that please ?
[Xposed Framework Modules] Shabloool:
I know your post is old but I post this for the sake of others: It works on my S7 edge with stock Marshmallow 6.0.1
[Xposed Framework Modules] ooker:
Statusbar Time does not work

Everything works fine, except Statusbar Time. Will you fix it? I use Marshmallow, Xperia M4 Aqua.
[Xposed Framework Modules] rgawenda:
Status bar time works for me on Marshmallow. But it's a setting that conflicts with many other modules.
[Xposed Framework Modules] Shabloool:
Hi there.

Thanks a lot for this module!

I've been using it on an hourly basis to add some numbers to show next to the time in the status bar. I just upgraded to nougat with no ability to use xposed (for now). Is there any way to still use this module? If not, do you know of alternatives?

Using g935fd with superman rom
[Xposed Framework Modules] Vagelis1608:
You are gonna have to modify SystemUI.

Perhaps add the same kind of code that this module does.

I can't help you much beyond that.
[Xposed Framework Modules] yashgumaste:
Is it possible to show time in words? See screenshot
[Xposed Framework Modules] rgawenda:
Hi

I love this!

Could you make the statusbar clock use the date/time parser as the lockscreen one? I'm using a somehow complex tasker setup to get it formatted as I like (HH'h'mm'').
[Xposed Framework Modules] w0rinal:
Awesome!

Keep it up :thumbup:

[size=-4]Sent from my Boeffla powered Slim (4.4.4, AOSP based) GT-I9300[/size]
[Xposed Framework Modules] art.montesinos:
Awesome work! Took me about 1/2 a day to monkey around but for some good little tweaks on my lock screen...
[Xposed Framework Modules] quietsche:
Nice work. Do you mind share your settings?
[Xposed Framework Modules] mbritten:
This is really sweet, sorry for the dumb question, but how to I get an image assigned as a variable in tasker.... I'm trying to display weather on lock screen and everything works great, I have the appropriate .PNG image for current weather saves on sdcard, but I can not seem to figure out how to get it to display... I have been searching for a few hours and somehow this is alluding me.
[Xposed Framework Modules] wyt18:
In the OP, I see that there are options to set notification panel date. But on my TextInject interface I don't see the option. Is this rom-specific?

Great work btw! When combined with an icon font, it makes the status bar and notification area so much more useful ...
[Xposed Framework Modules] slayerzx:
Can it be used with stock touchwiz?
[Xposed Framework Modules] chaimc:
You can't actually use images. But you can use emoticons/smileys. (That's what I'm using in the screenshots)
[Xposed Framework Modules] chaimc:
Are you using the latest version (0.4)? What rom are you using?
[Xposed Framework Modules] chaimc:
I don't know. Please try and report. I suspect the statusbar time may work but not the lockscreen. But you never know..
[Xposed Framework Modules] wyt18:
yes, i'm using 0.4 ... Sony Z1 Compact on stock 5.0.2 ROM
[Xposed Framework Modules] chaimc:
You should see it as the last option. It let's you change just the date. Time is not supported on lollipop. (On KitKat the notification time and statusbar time are connected. )