The power of Xposed meets the power of Tasker. TextInject allows you to inject custom, dynamic text throughout your system.
Create custom variables using the Text Inject Tasker plugin. Insert those values throughout your rom.
(Tasker is not required to use TextInject but is required to set custom variables.)
Use weather variables to display weather with icons.
Go ahead, make your phone awesome!
What kind of customizations can I do?
You can integrate any dynamic custom text right into the systemui. Some example:
Show the weather on your lockscreen or in your statusbar
Change the date/time format
Show your owner info in place of the carrier text
Show how many minutes till your next appointment
Get creative...
What parts of my os does this allow me to customize?
You can change the following text on your throughout your system:
Lockscreen Clock Time
Lockscreen Clock Date
Owner Info
Carrier Text
Statusbar Clock
Notification Drawer Date
Notification Drawer Clock
Lollipop and KitKat supported.
On the Xposed repo: http://repo.xposed.info/module/com.chaimchaikin.textinject
XDA:DevDB Information
TextInject, Xposed for all devices (see above for details)
Contributors
chaimc
Xposed Package Name: com.chaimchaikin.textinject
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2015-10-03
Created 2015-05-19
Last Updated 2015-10-03
Tutorial 1A: Weather with icons
Tutorial 1A: Weather with icons
Inspired by my actual setup this is how to get icons for the weather instead of just text.
This tutorial has been updated to include instructions for using weather icon codes. It's a lot simpler so you might want to try again.
First follow Tutorial 1 for getting the weather in your statusbar.
Then you'll edit the Tasker task that you made to update the weather:
Add a new action (+): Variables > Variable Set
Set it up as follows:
Name: %weathericon
To: $wa%weatherace_weather_id$
Change your Set TextInject Variable action:
Name: stays the same
Value: %weatherace_temp° %weathericon
Run the task again once
Make sure you completed all the other steps in the previous tutorial
Tutorial 1: Weather in your statusbar
Tutorial 1: Weather in your statusbar
Required Apps
TextInject (This module of course)
Xposed
Tasker (https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm)
Weather ACE (https://play.google.com/store/apps/details?id=mycodefab.aleph.weather)
Weather ACE Tasker Plugin (https://play.google.com/store/apps/details?id=mycodefab.aleph.weather_plugin.locale)
Step One: Setting up Tasker
Open Weather ACE and choose and save your location
Open Tasker and make a new Time profile. Choose From time to be 00:01 (if you've updated Tasker, choose the time 12:01 am) and un-check the To time to make the profile run until midnight. Choose Repeat and set it to be every 20 minutes. (This will control how often the weather us updated. Set it to update more or less often as you wish.)
Now press back and create a New Task. You can call the task Update Weather (or don't call it anything at all if you are so inclined).
Once you in your Task Edit menu, press the add button (+) at the bottom. Choose Plugin > WeatherACE Tasker Plugin
Press the edit button (the pencil) next to Configuration
Leave the options as selected: Location: "Your Location" (Your actual location or AUTO) and Request: Current Conditions and press the tick
Return to the Task Edit menu.
Press the add button (+) at the bottom. Choose Plugin >TextInject and click edit (next to Configuration)
Set the following options: Name: weather and Value: %weatherace_temp° %weatherace_weather_desc
Press the tick and return to the Task Edit menu.
Run the task once and press back until you are out of Tasker
Step Two: Setting up TextInject
Open TextInject and write the following in the Statusbar Time field: #weather (or if you want to also retain the time #weather #o) [You may need to wait a minute until the time updates to see the changes]
That's it!
Tutorial 2: Date/time Parsing
Required apps:
TextInject
Xposed
Setting up TextInject:
For this example we'll make two changes: First we'll add seconds to the lockscreen time. Second we'll add the date to the statusbar.
Next to the Lockscreen Time and Statusbar Time fields click the clock icon (this tells TextInject to parse the field as a date/time)
For the Lockscreen Time enter: hh:mm:ss
For the statusbar enter: MM/dd/yyyy #o (the #o retains the original value of this field. In our case the time.)
Press the tick or leave the TextInject app to save your settings
TextInject uses a Java DateFormat to format the date/time. For a full list of characters you can use see: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Variables and Weather Icons Explained
You don't have to read this to get weather icons - you can just follow Tutorials 1 and 1A above but if you want to know how it works or you having difficulties here is a full explanation:
There are three different types of variables we are dealing with:
Tasker Variables (e.g. %var)
TextInject Variables (e.g. #var)
TextInject Weather Variables (e.g. $var$)
The order of the list above is the order they are processed. Tasker Variables and TextInject Variables can be set by the user. (Tasker variables by adding an action Variable > Set Variable and TextInject variables can be set in Tasker using the action Plugins > Set TextInject Variable). TextInject Weather Variables, on the other hand, can not be set. (Yes, they are actually not variables but constants if you want to be technical.)
To be continued...
chaimc said:
The power of Xposed meets the power of Tasker. TextInject allows you to inject custom, dynamic text throughout your system.
Create custom variables using the Text Inject Tasker plugin. Insert those values throughout your rom.
(Tasker is not required to use TextInject but is required to set custom variables.)
Go ahead, make your phone awesome!
What kind of customizations can I do?
You can integrate any dynamic custom text right into the systemui. Some examples:
Show the weather on your lockscreen
Change the date/time format
Show owner info in place of the carrier text
Show how many minutes till your next appointment
Get creative...
What parts of my os does this allow me to customize?
For now you can change the following text on your lockscreen:
Clock Time
Clock Date
Owner Info
Carrier Text
Statusbar Clock
Notification Drawer Date
Coming soon: you'll be able to change (almost) any text throughout your systemui.
(Android 5 for now, more support coming!)
XDA:DevDB Information
TextInject, Xposed for all devices (see above for details)
Contributors
chaimc
Xposed Package Name: com.chaimchaikin.textinject
Version Information
Status: Beta
Current Beta Version: 0.1
Beta Release Date: 2015-05-18
Created 2015-05-19
Last Updated 2015-05-18
Available at http://repo.xposed.info/module/com.chaimchaikin.textinject
Click to expand...
Click to collapse
great idea, but it isn't working for me
I don't use a lockscreen so I tried the settings for Statusbar Time and Notification Drawer Date. Created a Tasker action to set a # variable, referenced that variable in the TextInject Xposed module, nothing happens. Rebooted, nothing happens
Can you show some screenshots or specify what devices this has been successfully tested on? I tried this on a Sony D5503
Awesome idea!
But I was pretty sad that it wouldn't install...
To prevent confusion I suggest pointing out it only supports android 5 ATM in the xposed download section
Looking forward to the KitKat version
Regards
[size=-4]Sent from my Boeffla powered Slim (4.4.4, AOSP based) GT-I9300[/size]
wyt18 said:
great idea, but it isn't working for me
I don't use a lockscreen so I tried the settings for Statusbar Time and Notification Drawer Date. Created a Tasker action to set a # variable, referenced that variable in the TextInject Xposed module, nothing happens. Rebooted, nothing happens
Can you show some screenshots or specify what devices this has been successfully tested on? I tried this on a Sony D5503
Click to expand...
Click to collapse
What rom are you using? Also can you send me a copy of your xposed log and I will look into it.
I don't like tweeking much ; but this is so cool I'll give it a try
chaimc said:
What rom are you using? Also can you send me a copy of your xposed log and I will look into it.
Click to expand...
Click to collapse
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
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
w0rinal said:
Awesome idea!
But I was pretty sad that it wouldn't install...
To prevent confusion I suggest pointing out it only supports android 5 ATM in the xposed download section
Looking forward to the KitKat version
Regards
[size=-4]Sent from my Boeffla powered Slim (4.4.4, AOSP based) GT-I9300[/size]
Click to expand...
Click to collapse
OK I've edited the xposed description. Thanks.
Ultimous said:
I don't like tweeking much ; but this is so cool I'll give it a try
Click to expand...
Click to collapse
Glad you find this cool. Please let me know how it goes.
MartelKombat said:
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
Click to expand...
Click to collapse
Oops
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)
chaimc said:
Oops
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)
Click to expand...
Click to collapse
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.
...
MartelKombat said:
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
Click to expand...
Click to collapse
Fixed now. Thanks for pointing that out.
w0rinal said:
Awesome idea!
But I was pretty sad that it wouldn't install...
To prevent confusion I suggest pointing out it only supports android 5 ATM in the xposed download section
Looking forward to the KitKat version
Regards
[size=-4]Sent from my Boeffla powered Slim (4.4.4, AOSP based) GT-I9300[/size]
Click to expand...
Click to collapse
KitKat support added. Enjoy
wyt18 said:
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
Click to expand...
Click to collapse
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).
chaimc said:
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).
Click to expand...
Click to collapse
thanks, v0.3 worked for me!
w0rinal said:
Awesome idea!
But I was pretty sad that it wouldn't install...
To prevent confusion I suggest pointing out it only supports android 5 ATM in the xposed download section
Looking forward to the KitKat version
Regards
[size=-4]Sent from my Boeffla powered Slim (4.4.4, AOSP based) GT-I9300[/size]
Click to expand...
Click to collapse
KitKat now fully supported.
Related
Figured I would make a thread for this to keep the S2U2 thread uncluttered
A_C's wonderful S2U2 introduced support for weather forecast display if you used some apps to get weather, or you could use "User" generated weather data in the registry.
I never have good luck with those weather apps, but I am handy with mortscript - the following script works with S2U2 *and* rlToday, giving you the current weather and the forecast for today or tomorrow.
REQUIRED:
SU2U 0.95 or later, installed, with UserWeather enabled in settings
MortScript 4.1 installed
CHANGES:
In V2.1 I've cleaned up the system paths so they are not hard coded
* this should work no matter where you have MortScript installed
In V2 I've updated the script as follows:
* if your cellular radio is OFF, the weather check is skipped - it will try again on the next scheduled time (ie, it works right when you are in flight mode)
* if there is any runtime error at all, the script quietly quits now, and tries again on the next scheduled time
TWEAKS:
Near the top of the script, you must edit the various settings (see below) to get your weather, and to have it update as often as you want.
You can also change some lower-level parts of the script - if you don't want it to switch to tomorrow's weather forcast after 4pm, remove these lines from the script:
Code:
# get tomorrow's weather if hour past 4pm (>15)
if (hour > 15)
notDone = -1
endif
If you want to change what is shown on the S2U2 screen, edit this line in the script:
Code:
weather="W|"&code&"|"&hitemp&"|"&lotemp
Change the W to an S to get the Spb weather icons
Change code to ccode to show the icon for the current weather, not the forecast for the day
Change lotemp to temp to display the forecast hi temp / current temp
INSTALLING AND RUNNING
Unzip the attached zip file
Copy notiweather.mscr to /Windows/Startup
If you have run a previous version of this script, you can copy clearweather.mscr anywhere onto your device, and run it once - it will ask if it can clear the notifications... tap Yes. Then you can delete the script
Run the notiweather.mscr script by navigating to it in a file browser on your device and double tappping it. It should silently run - if it works you should see some data activity. Run S2U2 and see if you've got some weather.
It is safe to run the script manually to update the weather - it will also update the next run time to be whatever you have it set for in the script.
WEATHER PANEL ICONS
S2U2 has an incomplete set of Weather Panel Icons.
Go to http://www.desktopsidebar.com/forums/index.php?showtopic=2441&pid=30068&mode=threaded&show=&st=&
Link for full stardock set of weather icons is at bottom:
http://www.desktopsidebar.com/forums/index.php?act=Attach&type=post&id=1489
That set includes the missing 33.png, among many others - unzip those into your gfx\weather folder overwriting what's there, if you're using UserWeather and don't have a full weather icon set. Seems to make S2U2 much happier - still not sure if/when the weather display is updated, will try and nail down some examples for A_C to test.
TROUBLESHOOTING/INTERNATIONAL
One user reports that the code used to automatically connect to the internet fails on his device. Changing the Connect() call as follows fixed it:
Original line:
Connect("The Internet")
Change to:
Connect("Internet")
Try that if the script complains for the connect call.
Original post: http://forum.xda-developers.com/showpost.php?p=1756216&postcount=337
Attached is a mortscript that uses yahoo's weather rss feed to fetch the weather and put it in the right place,right format for S2U2 "userweather" - so you can have weather even if you don't have a weather app
Unzip notiweather.zip, and then edit notiweather.mscr in a text editor...
You NEED to edit the file before you put it on your pda - at the top are three settings:
Code:
# USER SETTINGS, CHANGE AS DESIRED
# how often to try and get the weather
delayHours = 2
# your location (see http://developer.yahoo.com/weather/ on finding your location)
location="95129"
# desired units for temp, f or c
units="f"
Change those as desired, save, and copy the script to /Windows/Startup
You can launch the script manually or soft reset.
The script uses the notification manager to run every delayHours and fetch your weather.
It issues a Connect call to "The Internet" if no network connection is present.
It formats the weather correctly and puts in in two registry locations:
#for s2u2 UserWeather
RegWriteString("HKCU", "\Software\A_C\S2U2\", "UserWeather", weather)
#for rltoday
RegWriteString("HKCU", "\Software\emerym\", "Weather", rlweather)
If you are just using S2U2, all you need to do is edit your registry and add ShowWeather, DWORD 5.
If you also use rltoday, you can use that second registry value in your skin.xml to get a string with the current weather + today (or tomorrow if after 4pm's) weather and hi temp
Code:
<Registry x="119" y="52"key="key="HKEY_CURRENT_USER\Software\emerym\Weather" alignment="center">
</Registry>
If not, you can just ignore that, or even edit the script and cut out those parts...
It's all working very well. Thanks to A_C for this great app!
Lemme know if anyone runs into any issues.
Change log:
V 2.2: 15-01-2008 - use system paths from Mortscript to set up notifications
V 2.1: 13-01-2008 - skip check if cell radio off, handle errors cleanly
V 2: 22-12-2007 - first working version
V 1: unreleased test version
What version of Mortscript are you using? I'm using 4.1 and I got "DelayHours command unkown". 4.1 wants set DelayHours,2. So I assume we are using diffent versions.
Mike H
holmanm said:
What version of Mortscript are you using? I'm using 4.1 and I got "DelayHours command unkown". 4.1 wants set DelayHours,2. So I assume we are using diffent versions.
Mike H
Click to expand...
Click to collapse
I'm on 4.1 and it works for me. Is it because it should be delayHours = 2 ?
Ixtana_ran said:
I'm on 4.1 and it works for me. Is it because it should be delayHours = 2 ?
Click to expand...
Click to collapse
My bad. Somehow I still had Mortscript 3.1 loaded. I loaded 4.1 and it works perfectly. Thanks.
Mike H
I put this mortscript on my device, and I do not get any errors, but nothing is displaying on my s2u2 lock screen. Do I need to wait for it to update?
I am using SU2U version 0.97 and MortScript 4.1. When I launch manually, I could get the weather infor. On the other hand, the auto update always complains of Mortscript not being able to be run. I had set the updating to 1 hour internal. Not sure if there is a limitation on how ofter Mortscript could be run or that 2 hours is the lowest interval that I can set.
It should "just work" with mortscript 4.1, however it depends on the installed mortscript being in a specific location.
For those who have problems, you might try editing the lines
# kill any lingering notification
RemoveNotifications("\Windows\MortScript.exe", "\Windows\Startup\notiweather.mscr" )
# set notify for myself at next time
RunAt( utime, "\Windows\MortScript.exe", "\Windows\Startup\notiweather.mscr" )
Near the top. They're going to need to have the correct path to the Mortscript executable - mine is in the \Windows folder, but it could be \Program files\Mortscript or even somewhere on your storage card.
lawmangrant said:
I put this mortscript on my device, and I do not get any errors, but nothing is displaying on my s2u2 lock screen. Do I need to wait for it to update?
Click to expand...
Click to collapse
You do need to run it once - assuming it runs correctly the first time (see the note above regarding the path to the executable) it should update the weather right away - you should see the data activity and then, within a minute, the weather should update if you've set S2U2 to use UserWeather.
I'm going to check tomorrow, I am pretty sure I can get rid of the path to the executable in the code - sloppy on my part, sorry! That's the hazard of releasing scripts you write for your own use
I am hoping this can get working...I miss having a temp on my phone. I used to be a big fan of weatherpanel, but it left a lot of undeletable junk on my phone.
I have MortScript 4.0, does that matter?
Also, mine was in an A2DP folder, I just copied it to the windows folder.
Just tried this, and still no luck.
I am running WM5 with a Treo700wx.
OK...
I installed MortScript 4.1 and got this working.
It gives me tongiht's forcast, but gives me a SUN with CLOUDS. It seems to be the wrong icon.
Also, any way to edit this to display the current temparture.
lawmangrant said:
OK...
I installed MortScript 4.1 and got this working.
It gives me tongiht's forcast, but gives me a SUN with CLOUDS. It seems to be the wrong icon.
Also, any way to edit this to display the current temparture.
Click to expand...
Click to collapse
Sure... you've got the source, do whatever you want with it
You can put the current condition icon for display, instead of the forecast...
Note this line:
Code:
weather="W|"&code&"|"&hitemp&"|"&lotemp
code is the "forecast code" for today. If you put ccode in there instead, it will show you the current conditions icon instead. You could also put temp in place of lotemp if you wish to show the hitem/curtemp in S2U2
Oh wow...
This is beautiful!
I love the customization.
Wow...And this comes from an RSS feed right, so If I wanted more weather, I could get an RSS grabber, right??
lawmangrant said:
Oh wow...
This is beautiful!
I love the customization.
Wow...And this comes from an RSS feed right, so If I wanted more weather, I could get an RSS grabber, right??
Click to expand...
Click to collapse
Yep - they have quite a bit of info in the feed. I just grabbed some bits to make s2u2 and rlToday weather displays. Enjoy! If you do something cool, post it back here.
Just what I was looking for!
This is just what I was looking for! If I try to run the program again, while it is already running, what happens? Does it create another instance of the program? Could I use this as a means of manually updating my weather?
Thanks!
Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.
christopher L said:
Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.
Click to expand...
Click to collapse
Actually, the hitemp will change at 4. The temp will always be the current temp.
I am loving this script.
christopher L said:
Thanks for the script, it works great. Can you tell me how to change it so, it will not get tommorrows forcast but, always display the current/hi. I changed it to "temp" & "hitemp" and it works great but, at 4pm it shows tommorrows forcast.
Click to expand...
Click to collapse
Code:
# get tomorrow's weather if hour past 4pm (>15)
if (hour > 15)
notDone = -1
endif
Delete or comment out (put a # at the beginning) those lines to stop having it look ahead to tomorrow's forecast. Or change the 15 to some larger number - it's a 24 hour clock there so 16 is 4pm, 20 is 8pm, 22 is 10pm...
That's cool but, how do I change it so it will change the hitemp at say, 11pm instead of 4pm? Thanks for the help.
eMpTy3000 said:
This is just what I was looking for! If I try to run the program again, while it is already running, what happens? Does it create another instance of the program? Could I use this as a means of manually updating my weather?
Thanks!
Click to expand...
Click to collapse
It's perfectly safe! Run it anytime to update the weather and reset the "next update" time for you.
It uses the notification manager to run itself in the future. If you look at the chunk of code at the top of the script where it says
# set up for next notification
you can see that the first thing it does when it runs is, it removes its own notification request (which does nothing if its not there, but keeps it from making multiple entries if it is there) and then sets up the next one... then it gets the current weather.
So you can run it whenever you want to refresh things.
christopher L said:
That's cool but, how do I change it so it will change the hitemp at say, 11pm instead of 4pm? Thanks for the help.
Click to expand...
Click to collapse
11pm is 23 in 24 hour time, so if hour > 22, then you want tomorrow's time - change the 15 to a 22 in the if statement...
if (hour > 22)
and from 11pm you will have the next day forecast
Or you can just delete the whole block, because it will always show the current forecast without that block of code. So after midnight, the current forecast should be for that next day, right?
A mortscript that changes s2u2 wallpaper based on current weather condition. Now there is support for Weatherpanel, HTC Weather, and the original Yahoo feed (based on notiweather script)
FOR INFO ON ANIMATED WALLPAPERS, see post #4 (but if you don't have this installed already, finish reading this first post first!)
post #4: http://forum.xda-developers.com/showthread.php?p=2182530#post2182530
I wanted a way to change the wallpaper of s2u2 wallaper based of the weather forecast.
Since Schettj has created such a fantastic script to user Userweather without a weather app (feed from yahoo), the easiest way for me to start was just build on this, so many thanks to schettj for building a fantastic script.
I have now added scripts for Weather Panel and HTC Weather support that doesn't require data connection. (except for the WP and HTC weather application update itself) Please note that since HTC weather does not autoupdate, there will be times of discrepancy between what htc weather shows and s2u2 wallpaper show. In other words, after you manually update HTC weather, s2u2 wallpaper won't reflect this until the next time the script is scheduled to run (which depends on delayhour variable). This is why I was never crazy about writing a version for HTC weather. For weatherpanel version it is best that you set weatherpanel application to update more often or same as the WeatherWallpaperWP.mscr script.
Create a folder that have 48 wallpapers in jpg from 0.jpg, 1.jpg...47.jpg corresponding to the different weather forecast icons. Or use one of the wallpaper set I have below.
Notiweather link:
http://forum.xda-developers.com/showthread.php?t=358952
S2U2 link:
http://forum.xda-developers.com/showthread.php?t=381588
Sample Customizations
1. Also, to display current , high and lo temp in notiweather change the weather line to this:
weather="C|"&code&"| "&temp&"º H"&hitemp&"º\L"&lotemp&"º"
There should be about 5 or 6 spaces between &code&"| and ", but I don't know why it is not displayed correctly.
(Edit: Current version implements this already)
2. I believe animated gifs would be possible if you change the part in bold again above from ".jpg" to ".gif" and fill the folder full of gifs.
(Edit: On current version, just change the wallpapertype variable at the top to = ".gif" instead of ".jpg", make sure to include quotes)
Update: WeatherWallpaper0.36 now also has version for Manila2D Weather (look for the Weather_WallpaperM2D0.35.mscr script). See the replies below for "u" version.
Update: WeatherWallpaper v0.36 (yahoo only): line 176 fixed with missing ")"
Update: WeatherWallpaper v 0.35 and .35u
A slight modification to the script that will hopefully fix some of the refresh issues. I have ran this for a week and have not encountered coming out of standby without S2U2 lock screen coming up. Please let me know how it goes for you. I also have made a new naming convention. The "u" version refers to the version of the script which will display Last Updated time (like the old v.33). Again, this "u" version will be posted on the third post like before. Thanks goes out to Holmann.
Update: WeatherWallpaper v0.33
I also made a version of WeatherWallpaper for HTC, Yahoo, and Weather Panel that displays the last updated time (version .33). This can be found on the third post on this page. If you don't want the last updated time displayed, then use the version on this first post. Update v.33b: got rid of the extra 0 bug ie 007:30
Update: WeatherWallpaper v 0.32
- don't use v.31, there's a bug. Please use v0.32 for WP only.
Update: WeatherWallpaper v 0.31
- small bugfix. on WP version only, at night slide forecast may display -9999
UPDATE: WeatherWallpaper version 0.3
- contains updated versions for Weatherpanel and Yahoo. HTC version is unchanged.
- updated versions for WP and Yahoo now has a new variable slideforecast:
slideforecast=0 (default) no change to slide2unlock text
slideforecast=1 slide2unlock text will display daily forecast (match lower left icon if s2u2 weather is set to userweather)
slideforecast=2 slide2unlock text will display current condition (match wallpaper)
Please note this feature is for S2U2 v 1.02 or higher (preferably 1.05 or higher). Do not change the slideforecast variable if you are running v 1.01 or less.
Please note if you change slideforecast to 1 or 2 and then decide to change back to 0, the display will not automatically revert back to whatever it is you have ( ie "slide to unlock"). You will have to change it back your self using this utility by l3v5y or through registry edit:
http://forum.xda-developers.com/showpost.php?p=2264560&postcount=923
WeatherWallpaper version 0.2:
- Now contains three scripts, WeatherWallpaperYah0.2.mscr (for standalone use getting weather data from yahoo feed), WeatherWallpaperWP0.2.mscr (for WeatherPanel), and WeatherWallpaperHTC0.2.mscr (for HTC Weather). You only need one of these scripts!
- Two new user settings at the top of the script:
# folder containing your weather wallpaper
wallpaperfolder = "\storage card\my documents\download\wallpaper\weather\"
# wallpaper type jpg or gif
wallpapertype= ".jpg"
- Display is now set at Current temp followed by High and Low temp, but only if you select Userweather in S2U2. For example:
80º H86º\L71º
- Also, it now only writes into registry and "update" s2u2 if the current condition has changed, avoiding too many s2u2 updates, which can cause some delay in s2u2 sometimes.
- Please note that the wallpaper by default is based on current condition (ccode) while the lower left icon is based on forecast (code), so it may not be the same sometimes. i did this on purpose because, with current conditions, the wallpaper will change more often, like 3-4 times a day, giving it a nicer effect. If it was forecast it would chnage like 1-2 times a day.
PocketWeather users: rifraf1 has written a script that supposedly works with PocketWeather. However, I will not be supporting this since I don't have PW installed, but feel free to try. See this link. Thanks rifraf1!!
http://forum.xda-developers.com/showthread.php?p=2289453&highlight=PocketWeather#post2289453
Wallpaper Update
There are now three sets of wallpaper to choose from. My original vision was to use natural appearing wallpapers that shows the weather forecast. Obviously it has been hard to find for all 47 situations. I have about 10 or so and have filled up the remainder using Bliss Alive for WAD from Doreen at Lakeridgesoftware.com forum. This is now called Wallpaper MyCombo0.3.zip.
It appears that some or most of your would rather us use a more related computerized graphic set, so i have also included the complete set I made from Bliss Alive from Doreen. This is called Wallpaper Bliss Alive.zip. See pics from post #6 below.
Update 5-27-2008: Bliss Alive 0.3 is posted. Cleaned up the graphics for nicer look on PPC.
There is a third set which is a modification of Bliss Alive made by Bob_55 from SBSH forum. This is called samurize.zip. See post #5.
You can mix or match the jpgs.
Still waiting for someone to step up and provide a complete set of animated gifs. I have seen some but not enough to make a set.
Installation
1. download one of the wallpaper set below and extract and place in any folder you like.
2. install mortscript 4.1, and s2u2 at least v 1.01
3. download WeatherWallpaper0.2.zip and extract the three mscr files: WeatherWallpaperYah0.2.mscr (for standalone use getting weather data from yahoo feed), WeatherWallpaperWP0.2.mscr (for WeatherPanel), and WeatherWallpaperHTC0.2.mscr (for HTC Weather). You only need one of these!!
4. edit the .mscr file of your choice with Notepad on PC and change the following data:
wallpaperfolder (where your weather wallpapers are located from #1 above)
wallpapertype (jpg or gif, leave as ".jpg" if using any wallpaper set from here)
For Weathepanel and Yahoo versions only also change:
units (f or c, fahrenheit or celsius)
location (where you are located, see http://developer.yahoo.com/weather/ on finding your location)
delayhours (how often you want it to update)
5. save this mortscript and transfer to ppc in \windows\startup\
6. tap to run it or soft reset. you should see data activity (in yahoo version)
7. see links for notiweather and or s2u2 for further details
Troubleshooting
There appears to be issues arising espceially when using custom Roms or foreign language users. this script was written under the presumption that s2u2 was installed in standard location as well as weatherpanel (if you are using that). If you are having these issues try these two helpful posts:
http://forum.xda-developers.com/showpost.php?p=2273219&postcount=144
http://forum.xda-developers.com/showpost.php?p=2271849&postcount=139
If you are using the latest Mortscript 4.11b you may have issues as well. Or you unit may be looking to connect to "Internet" instead of "The Internet". Look at this post:
http://forum.xda-developers.com/showpost.php?p=2279195&postcount=160
If you cannot get the forecast to show on the slider (and the registry info is correct), see this thread (thanks Holman):
http://forum.xda-developers.com/showthread.php?p=2547257#post2547257
Thanks:
Schettj for original notiweather script
alanlsmith for the WP script version. His original version is on page 4 of this thread.
toniolol for help with HTC weather script
here are wallpapers i have so far (taken from pocketpcscreens.com)
2nd to last pic is screenshot including forecast on slide bar (optional)
in last pic, screenshot shows slide bar removed altogether leaving only forecast/summary
see this link for how:
http://forum.xda-developers.com/showpost.php?p=2314286&postcount=212
I also made a version of WeatherWallpaper for HTC, Manila2D, Yahoo, and Weather Panel that displays the last updated time (version .33). On the WP version only, there is a humidity variable now. However, if you use this humidity or make any changes to how the data is displayed, then you need to change this appropriately (WP only):
oldmax =SubStr(curweather,-23,2)
oldmin =SubStr(curweather,-18,2)
If you don't know what I mean by this, then i recommend you change this:
If ( maxtempf = -9999)
maxtempf = oldmax
maxtemp = oldmax
EndIf
#
If ( mintempf = -9999)
mintempf = oldmin
mintemp = oldmin
EndIf
change oldmin and oldmax both to "--"
Update: v.36u now also has script for Manila2D (Weather_WallpaperM2D0.35u.mscr)
Update v.36u: changes made to Yahoo version only. fixed line 176 with missing ")"
Update v.35u: fixes some refresh issues
Update v.33b: got rid of the extra 0 bug ie 007:30
If you want 12hr format instead of 24hr then see this post:
http://forum.xda-developers.com/showthread.php?p=2521007#post2521007
If you don't want the last updated time displayed, then use the version on the first post above.
Animated Wallpapers
You asked for it, you're gonna get it! ANIMATED WALLPAPERS.
Since Rumball made the great set of animated weather Diamond icons for WeatherPanel, he has given me permission to do a set of animated wallpapers based on his work. These take a long time (I can see now why he asked for donation...he deserves it).
I plan on making a modified set which has shorter animation. The advantage besieds being less time consuming for me is that it is smaller in size and doesn't weigh down the device too much on resources to run. Also, I picked part of the animation which will allow it to run continuosly without the appearance of a break or pause.
I believe Rumball will also try to do a set which will have the full animation like his icon set so look out for that as well.
THE SET IS NOW COMPLETE!!! It was a lot harder than I thought but everyone's inspiration has fueled me on!
These are for QVGA only.
Instructions:
Download WeatherWallpaperAnimated1.0.zip and extra the content onto the folder which contain your weather wallpaper.
On your script, change wallpapertype= ".gif"
(default is ".jpg")
Soft reset.
Download:
http://rapidshare.com/files/137140922/WeatherWallpaperAnimated1.0.zip.html
Lastly, I don't know how to upload animated gifs for preview...probably need imageshack account or something. If anybody can do that, I can post the link here.
[/
i will put more wallpaper here:
samples of the remainder of the wallpapers based on Bob_55 modification which is based on Vista Alive WAD theme from Doreen. This is called samurize. It is not a full size wallpaper!
and hopefully more wallpapers here:
here are wallpapers based on Bliss Alive WAD theme made by Doreen from lakeridgesoftware.com forum.
other possible wallpapers we can use:
Nice work, gif animations would be awesome!
Nice work!!! I knew that this would be a good idea. Way to run with it! This looks awesome.
Please, add support for HTC Home Weather!
Idea is GREAT!
Nice work!
lol if i put it on my wizard it would scream at me for overloading it.
great work tho.
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
Hi,
shoot all the gifs in a converter please, so we can use it for this release
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
please post and I will try it out.
haiopei said:
Hi,
shoot all the gifs in a converter please, so we can use it for this release
Click to expand...
Click to collapse
better yet try it yourself. fill the folder full of gifs and change the path to ".gif" instead of ".jpg" in the area I bolded on my first post.
to display current , high and lo temp in notiweather change the weather line to this:
weather="C|"&code&"| "&temp&"º H"&hitemp&"º\L"&lotemp&"º"
there should be about 5 or 6 spaces between | and " after &code&
Flipside said:
This is a very cool idea
But I'd like to second : Please make it work with HTC-weather and pretty please make it gif-compatibel...
If we can get animations, I have a lot of animated weather wallpapers, so I could help with that part
Click to expand...
Click to collapse
To make this work with HTC weather or weatherpanel, etc. I need to know where A_C finds that data..I haven't a clue.
you could look at the creator of "vista alive" WAD. It has a wallpaper for every instance of weather conditions. Im sure she would give permissions to use it for this applicaton
specv said:
you could look at the creator of "vista alive" WAD. It has a wallpaper for every instance of weather conditions. Im sure she would give permissions to use it for this applicaton
Click to expand...
Click to collapse
I checked that out. Pretty cool!! But I think the look I am going for with this a more natural real life picture for a wallpaper. I don't want it to be too obvious that the wallpaper reflects the weather forecast, and i think the computerized graphic pcitures give it that impression. Looks nice, but not necessarily the look i am going for. On the other hand, it may be good for filler jpgs for forecast I don't already have.
superflysocal said:
To make this work with HTC weather or weatherpanel, etc. I need to know where A_C finds that data..I haven't a clue.
Click to expand...
Click to collapse
If you are interested here is a script I wrote, originally inspired by Notiweather, which will display data from Weather Panel on the S2U2 screen & could be modified in the same way to change the S2U2 wallpaper.
It uses the 'current', 'hourly' & 'forecast' files in the Weather Panel data folder to get the information according to the time since the last Weather Panel update, so, what it shows should always match Weather Panel itself & can display the current as well as forecast temperatures.
You can choose what is shown on the S2U2 screen, see the end of the script for examples and change the fourth line from the end of the script weather="C|"&code&"|"&display6 to display1, display2 etc, it'll make sense when you look at the script. Oh! & change location_code at the start of the script to you chosen location.
SORRY, am no more active on this Topic cause Device does no more exist.
Please use at your own Risk. But don't expect answers any more.
Weather icon showing Temperature and Weathercondition at selectable iFonz-Icon plus 5 Day forecast, new weathericons
(Only iFonz 1.1.2 not iFonz 2 by now)
Hi,
the Mortscript, I've done (based on Infos of this thread), is a plugin that replaces an IFonz icon by a weathericon(showing actual weather) and shows temerature as Icon name. In the new version, pressing the weathericon will now show a five day forecast(see screenshots at the end of post). I hope, you'll like it.
The ifonzWeather.ZIP now contains two Mortscripts iFonzWeather.mscr (sceduled download of weatherdata and refresh iFonzscreen) and the new iFonzForecast.mscr(when started expand from 1 to 5 weathericons for 5 day forecast and restore original icons when started again.)
What is new/has changed:
Removed Bug wrong Icon is shown, when online source for weatherdata is available, but Page says no actual data available(weathercode 3200, not 0, not na)
The script can now autoconnect to gsm if no dataconnection is available and if wanted!
Added iFonzForecast.mscr to be started by weathericon. This will give you 5day Forecast, shown as iFonzIcons.
What do you need/have to do:
iFonz 1.1.2(Works with older versions too, but I got reports, that with V0.99 is waits with iconupdate till newstart of iFonz.)
Download and install the Mortscript-4.1PPC.cab
Download my Mortscripts iFonzWeather.zip (see end of post)
S2U2 has Weathericons included, but you can also download the ones i've created of them(complete set but not perfect). Better use blueaxe's icons(see end of post)
Modify scripts with texteditor to fit your needs(at least change your location/descriped further down).
Start it manually by doubleclicking on script to start or put a lnk to windows\autostart(startup)\
What does the script(iFonzWeather.mscr) do:
It downloads the actual weathercondition and the forecast for five days, of a place you select, from Yahoo.weather.com and saves them. It uses the internetconnection available(I've testet via wlan and activesync)
It canges the iFonz icon (you can select in the script) to show the picture of the actual weatherconditions.
it changes iconname shown, to a combination of actual temp and forecast(highes and lowest temp).
It lets you open the 5day forecast if selected or altenatively sets the icon, to start the Browser, you've chosen in the mortscript, and opens the yahoo page showing further weatherinformation to your selectet place. You can also disable this if you like to start an other app.
It will retry to get weater every hour(but you can change the timeintervall to any time in mortscript).
If connection is not available, it will try to use saved weatherdata for showing actual day and the forecast.
Needed changes in script(iFonzWeather.mscr) Simply change with texteditor
The mortscript should work without any changes on english devices. It is by default set, to use the weatherpictures of s2U2, if S2U2 is installed in "\program files\s2u2\gfx\weather\". Pressing the Icon will start iFonzForecast.mscr(change icons to show 5 day forecast). It will change the 4th Icon on the first page to be the main weathericonon the first page(can be changed)
Here you see the settings you can change in an texteditor
# USER SETTINGS, CHANGE AS DESIRED
#
# your location (see http://weather.yahoo.com/ on finding your location)
location="GMXX0115"
# desired units for temp, f or c
units="c"
# Set GSMConnection to your internetconnection("The Internet","Internet","My ISP"..see settings/connections ...)
# If you only want to use available connections set GSMConnection=""
GSMConnection="The Internet"
#
# how often to try and get the weather
delayHours = 1
delayMinutes = 0
#
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Want iFonz to open Yahooweather for your destination, when icon pressed ? set iFonzOpenYahoo=2
# Want iFonz to show Weatherforecast with Icons ? set iFonzOpenYahoo=2
iFonzOpenYahoo=2
iFonzBrowser = "\windows\iexplore.exe"
# Choose Icon to change
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 3
ifonzPageNumber = 1
Click to expand...
Click to collapse
Set location to your locationcode.For finding your locationcode, enter http://weather.yahoo.com/ and click trough the countries and the cities untill you find your place.
Then you'll see your needed location in the adressfield of your browser.
"http://weather.yahoo.com/Rosenheim-Germany/GMXX0115/forecast.html"
You want fahrenheit, not centigrade? Change units from c to f
You dont want the script to autoconnect to gsm? SetGSMConnection=""
You want to reload data in shorter or longer Timeintervalls? Change delayHours = 1 and delayMinutes = 0 to your needs
You want other Pix? Change iFonzPixPath to the folder containing the pictures. The mortscript uses 0.png up to 47.png and nb.png for weather not available. So check if NA-Picture is called 0.png or NA.png and eventually change iFonzWNA from "0" from to "na"
Choose pressing Weathericon, (2)to open 5day-forecast inside iFonz(offline), (1) to open online Webpage with further data or (0) select any app to open, manually in iFonz iconsettings, by setting iFonzOpenYahoo =2, 1 or 0
You want iFonz to start an other browser(please Internetexplorer is a shame), for showing further weather information ? Set iFonzBrowser to an other browser.
You want an other Icon to be changed? Set iFonzBottomIcon = True (0..X), if you want to change an icon in bottombar, set if false if you want to change a normal icon. ifonzIconNumber is the positionnumber of the icon counted from left to right,up to down.First Icon has Nr 0. For the bottomicons start counting with the first buttombaricon. Set ifonzPageNumber(1..X) to the page the icon should be(not nescessairy for BottomIcons
What does the script(iFonzForecastdo.mscr) do:
It changes 4 selectable Icons to show Forecast for day 2, 3, 4 and 5(Day 1 is shown by ifonzWeather.mscr). It saves the original Icons with all data, and restores them when script is started again. By setting iFonzOpenYahoo=2 in iFonzweather.mscr it will be started by pressing the Mainicon or any of the other forecasticons
What you can change (works without changes)in script(iFonzForecast.mscr) :
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Choose first Icon to use out of four to show forecast
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 4
ifonzPageNumber = 1
Click to expand...
Click to collapse
iFonzPixPath and iFonzWNA should get the same values as in iFonzWeather.mscr.
Selecting the first of the 4 replaced icons, works like in FonzWeather.mscr. The values should not be the same like in iFonzWeather.mscr because you would otherwise only see Day 2-5, because you replaced the Mainweathericon, showing actual day.
Click here to see bluemetalaxe's new realizelook weathericons. Find Icons in higher resolution and diffrent optics. These Icons are the base for the Set posted below. TNX bluemetalaxe
To use this Icons set iFonzWNA = "0"
So, this was a long Post. Sounds difficult, but is indeed quite easy. I hope you like it.
Any feedback by now ??? Wishes ??? Problems ??? Questions ??? Chage requests ???
Thanks Sid-Shrunk, it was the missed part on iFonz
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Hi bluemetalaxe,
bluemetalaxe said:
i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background
Click to expand...
Click to collapse
the preview icons look realy good. Especially playing with night and day should be interesting.
By the way, if you plan to do more pix, do you already have a table with the conditions belonging to the weathercodes?
yes, i think the codes/numbers are correct you see 36,39 and 33 from left to right, but please check it.
EDIT: Okay i checked it with your Icons, seems its okay. The other question is the size, i prefer 52 but i think the most like to use 48 Pixel for qvga. For the weather graphics itself i use Rumball`s Set (or the Set Rumball uses for manila weather panel, who knows ?), but i think i PM him first before doing this.
I did not mean thy are wrong, I just thought you could be interested in the link to YahooWeather that shows the exact description of condition to a code.
There you can see the exact diffrences between a bit/normal/heavy rain ....
For the pictures I've done I've just changed the icons coming with S2U2, and compared the missing icons with other available sets.
I forgot: For the size I think it would be best if it fits to the rest of your iconset, but that's you descision. I use 48, but I use a frame for every icon I use, so I had to modify anyway.
it`s okay the yahoo description and the graphics are right: 41 (heavy snow) and 37: So i think i will post a set for your application on the next few days on my icons thread.. (Just thinking about a cleaner background like on the second icon). Thanks for this app man !
Sounds great man, I like the smooth look of you new iconset.
The backgroundproblem in iFonz with transparency, is the Reason, why I modified all my icons with a metalic border So I can use any background now.
bluemetalaxe said:
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Click to expand...
Click to collapse
These are really nice icons and they go nicely with your realize icons which i use, i like that and i am interested
thank you claus
@sid: yes bmps and transparency, always a Problem on ppcs, i for myself went back to a black background, now my Icons look smooth. okay i post here again when the set is ready with a link (weekend)
Bluemetalmax,
Weather icons look up to your usual high standard. Would love a set in VGA. Is this possible?
blue those weather icons would be sweet.
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Hey i would use this as it looks great, but sadly, ifonz is too slow for me on my diamond, too jumpy, and the settings screen is jerky and slow. Its just not a pleasant experiance using ifonz.
Of course, i cannot "do better" so, just my own opinion.
okay ifonz setting screen is slow as hell, but who cares, its just for the Settings.
But i don`t think that ifonz is slow, ecspecially the new Version is really fast, and i´m using just a Polaris.
You should wait about one Minute when starting ifionz the first time then it runnes really smooth.
Anyway, my weathericons for SIDs App are ready (96 Pixel VGA PNGs). Now i must do ifonz icons out of this.
i made four different backgounds (Day, Day-snow,Night, Night-Snow)
Hi bluemetalaxe
bluemetalaxe said:
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Click to expand...
Click to collapse
Sorry I answer so late,
I will look for your problem when im Home this afternon. Also I will post a small description of the errormanagement of the script.
launching app
Hi! this is a great application, it is all I missed on iFonz. It would be great if one could launch the weather panel by bluemetalaxe (http://forum.xda-developers.com/showthread.php?t=436656&page=6). I am a newbie and I dunno how to do it. Any suggestions?
Mart,
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Errorhandling of iFonzWeather
This is a short info about errormanagement of IFonzweather.
When started it checks, if internetconnection is available(Tries if google.com can be reached). If not available it waits 10 seconds and tries again(if connection is available, but breaking while trying to download, it will resart after the setup time).
1. Possibility(Everythig works):
-> Correct actual weathericon will be shown, Temperatures will be shown like "9°(12°/7°)" and forecast will be saved in registry for 5 Days (HKCU\Software\Sid-Shrunk\Weather\...).
2. Possibility(Data is downloaded but theres an error in the Data)...
2a. ...and there is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "Err(12°/7°)" (Error but forecast available).
2b. ...and there is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "DataErr"(Error and forecast not available).
3 Possibility(Connection could not be established) ...
2a. ...and here is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "N/A(12°/7°)" (no Connection but forecast available).
2b. ...and here is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "NoData"(Error and forecast not available).
As I've no dataflatrate, I've deactivated dataconnection via Provider and only use wlan or connection via activesync.
This tool uses available connections, so I think it may not connect to your provider on it's own. But it should use the connection if you've activated it(I've not checked this). May be some of you could post your experiences with this.
@bluemetalaxe: Does it work by now ? If not, what connections have you tried, what language does your device use? If not perhaps you could send me a copy of your modified mort.
PS: The pic look fantastic
MartCronos said:
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Click to expand...
Click to collapse
Hi MartCronos,
I use an non english device too, and it works for me. Have you changed iFonzPixPath = "\program files\s2u2\gfx\weather\" to the correct and full path ?
for me it was iFonzPixPath = "\programme\s2u2\gfx\weather\"
for you it should be iFonzPixPath = "\Archivos de programa\s2u2\gfx\weather\" (if this is how programs folder is called on your device)
Current Version: 1.2.6
Description: Pocket Forecast is a weather application that supports mutliple locations, multiple languages, QVGA AND VGA display, cached AND user defined updates, customized theme, AND is open source written in Basic4PPC.
Source code and CAB installer at: http://pocketforecast.codeplex.com/
Last update: 1/16/10
Description
Pocket Forecast is a weather application that supports mutliple locations, multiple languages, QVGA AND VGA display, cached AND user defined updates, customized theme, AND is open source written in Basic4PPC.
Features
1. Multiple locations (supports up to ten locations)
2. Finger swipe to scroll through locations
3. Cached weather feeds for each location
4. Skinnable themes - background images, colors & fonts
5. Uses Yahoo/Weather.com RSS feed
6. Open source - written in B4PPC
7. Configurable interval for updating weather feed
8. Integrates with S2U (custom weather setting)
9. QVGA and VGA support
10. Multi-language support
11. Integrates with AppToDate
12. Integrates with Levenum's Today Screen plug-in
13. Pocket PC and PC versions
Hi, nice weather
can u tell me where i get
Requires: http.dll, formlib.dll, FilesEx.dll
also need: .NET3.5 and NETCFv35.Messages.EN.cab
hope can add few features:
WIND <- this one pls
RealFeel <-this one no rush
Presure & ETC
really nice, how about an addition for maps, just the like marsware's weather panel if you've ever used it, there they ask for the URL of the map image and they just keep fetching it.
Doesent work:Error Loading Program
Pocket Weather is the commercial name of SBSH's app....
You'd better find another name for this soft...
Why not :
Pocket Hurricane
Pocket Forecast
TTWWY : Take The Weather With You
TTWWU : Take The Weather With U
T2W2U : Same, but more like modern apps... A_C
Hope this will help...
bluemetalaxe said:
Doesent work:Error Loading Program
Click to expand...
Click to collapse
The same here. I have only NET CF2.0, I think the app need CF3.5
I disagree
AthenaLod said:
really nice, how about an addition for maps, just the like marsware's weather panel if you've ever used it, there they ask for the URL of the map image and they just keep fetching it.
Click to expand...
Click to collapse
If we already have Marsware that doesn't need NET CF3.5, why not just keep this one nice and simple.
Once youo start adding features galore it just get too resource hungry (memory!)
Missing DLLS
OceanSpray said:
Hi, nice weather
can u tell me where i get
Requires: http.dll, formlib.dll, FilesEx.dll
also need: .NET3.5 and NETCFv35.Messages.EN.cab
hope can add few features:
WIND <- this one pls
RealFeel <-this one no rush
Presure & ETC
Click to expand...
Click to collapse
Sorry about that - I did not use the correct compiler options when compiling to the Pocket PC platform. I have recompiled and the DLLs were merged into the executable.
I will have to troubleshoot the CF3.5 - I didn't target that framework so it should not asking for that. It may be related to the missing DLLs issue, since both require the B4PPC compiler to use "optimized" options.
I have re-uploaded into post #1 - thanks for testing.
Map suggestions
AthenaLod said:
really nice, how about an addition for maps, just the like marsware's weather panel if you've ever used it, there they ask for the URL of the map image and they just keep fetching it.
Click to expand...
Click to collapse
This sounds like an interesting idea. Do you have a URL for the marsware's weather panel? I am not familiar with this.
Application Name
YoLoLo said:
Pocket Weather is the commercial name of SBSH's app....
You'd better find another name for this soft...
Why not :
Pocket Hurricane
Pocket Forecast
TTWWY : Take The Weather With You
TTWWU : Take The Weather With U
T2W2U : Same, but more like modern apps... A_C
Hope this will help...
Click to expand...
Click to collapse
Thanks! I like "Pocket Forecast" and will use that (if it's not in use already). I wrote a wiki application called "Pocket Wiki" so I wanted to stick with the same naming convention.
I don't want to use any application names similar to the great programs A_C writes. I'm not worthy.
Alot weird stuff coming out missing \themes\conditions\
and some #.gif files if change the zip code
zip code not working and location code either
only 77095 but no icons show up now
font is out of margin or place
HTC Touch wm6.1 rom
Missing CF3.5
digidigi123 said:
The same here. I have only NET CF2.0, I think the app need CF3.5
Click to expand...
Click to collapse
I uninstalled Microsoft CF3.5 on my PDA and ran the updated ppcWeather (11/14/08 v.18) - it works for me. That said, applications seem to always work on the developer's systems all the time so that isn't much of a test.
Could you please retest with the updated version?
Thanks to everyone for their help and feedback.
OceanSpray said:
Alot weird stuff coming out missing \themes\conditions\
and some #.gif files if change the zip code
zip code not working and location code either
only 77095 but no icons show up now
font is out of margin or place
HTC Touch wm6.1 rom
Click to expand...
Click to collapse
Thanks for catching that.
I just tested that and that seems to be a new bug after I recompiled with the "optimized settings" - I am not sure what is causing this because the desktop version doesn't do this. Same code, different target environments.
The weather.ini settings themeDir, httpTimeout, and refreshInterval are getting blanked, but the location ids are not. This is strange...
I am going to have to check with the Basic4ppc support team to see why this is doing this.
Now i got zip code working need some setting
need Theme [default]
but still no icon
LOL need move \theme\default\condition folder out to \theme\
should work like charm and also the theme.ini i dont is that cause
your new Version works now
Fix (uploaded v.19)
digitaldon37 said:
Thanks for catching that.
I just tested that and that seems to be a new bug after I recompiled with the "optimized settings" - I am not sure what is causing this because the desktop version doesn't do this. Same code, different target environments.
The weather.ini settings themeDir, httpTimeout, and refreshInterval are getting blanked, but the location ids are not. This is strange...
I am going to have to check with the Basic4ppc support team to see why this is doing this.
Click to expand...
Click to collapse
The code is reading a form textbox variable for the settings that were getting blanked out - I'm not sure why some are ok and others are not. As a work-around, I added code to check to see that there is a value for the form textbox before saving it. Uploaded v.19 and am pursuing this on the B4PPC forums.
Thanks for the testing and feedback!
OceanSpray said:
Now i got zip code working need some setting
need Theme [default]
but still no icon
LOL need move \theme\default\condition folder out to \theme\
should work like charm and also the theme.ini i dont is that cause
Click to expand...
Click to collapse
The first line in the "weather.ini" file should be "themeDir=default". If it says "themeDir=" then won't find the weather icons.
Thanks for the testing feedback.
WOW v.19 work great now no error
misc. need
Multi-switch location
missing "%" on HUMIDITY
(personal) sry no offense dont like degree on WIND
Current and Forecast the "Close" can be change to "BACK"
delete zipcode or location wont delete cache file
Very good program - thanks!
Take my fixed icons. they look more good in white or black background.
http://slil.ru/26333444
My ini:
themeDir=Chuma
mainWeatherCode=RSXX0091
mainWeatherUnits=c
Location1=RSXX0091
Location2=THXX0015
Location3=THXX0002
Location4=
Location5=
refreshInterval=0
httpTimeout=20
Click to expand...
Click to collapse
and
Bugs:
- Most does not change a city. I choose Bangkok, but alwys shows Peter (unless hands ini not changed)
- Always go 2 internet then started (why not remember old weather info?)
- Weather details - CURRENT: the inscription "sunrise :..." - incorrect view
- Not work skin color
- In the absence of weather is not an icon (you can put NA icon frommy pack ...)
Feature need:
- Fast switching between the cities of (right-left d-pad, for example)
- Choose to update weather for all or update for concrete city
- Link to Web with a list of cities (GOOGLE helps you) =)
- need radiobutto "DO NOT update on start"
- need option - update when you connect to PC via AS
- In the skins add the ability to install jpeg instead background and buttons
- at weather.exe change icon or name of file (like "Wsynk") for difference with main file.
chuma said:
Very good program - thanks!
Take my fixed icons. they look more good in white or black background.
http://slil.ru/26333444
My ini:
and
Bugs:
- Most does not change a city. I choose Bangkok, but alwys shows Peter (unless hands ini not changed)
- Always go 2 internet then started (why not remember old weather info?)
- Weather details - CURRENT: the inscription "sunrise :..." - incorrect view
- Not work skin color
- In the absence of weather is not an icon (you can put NA icon frommy pack ...)
Feature need:
- Fast switching between the cities of (right-left d-pad, for example)
- Choose to update weather for all or update for concrete city
- Link to Web with a list of cities (GOOGLE helps you) =)
- need radiobutto "DO NOT update on start"
- need option - update when you connect to PC via AS
- In the skins add the ability to install jpeg instead background and buttons
- at weather.exe change icon or name of file (like "Wsynk") for difference with main file.
Click to expand...
Click to collapse
Nice icon Chuma
icon 20.png only seen the blue fog part, but on PC can see fog
Add toggles to your notification panel easily
17 toggles code
Okay.. so, here's what you need:
(1) Rooted Galaxy Grand Quattro
(2) Sqlite editor app
--THE LINK FOR THE Sqlite editor app-- https://play.google.com/store/apps/details?id=com.htsoft.sqleditor
Dts all!!
So here's what you need to do:
(1) Open sqlite and give root permission. It should show a list
(2) Scroll down to "Settings Storage" and open it
(3) Open "Settings.db"
(4) Next, tap "System"
(5) Scroll down until you find "notification_panel_active_app_list" NOT the notification_panel_default_active_app_list.Tap it. If it's not present (well... it was not present for me atleast)(Make sure to Check Properly),then tap the menu key and then tap new record. Set the name to "notification_panel_active_app_list" and under value type the following.
CODES- Wifi;Location;SilentMode;AutoRotate;Bluetooth;MobileData;PowerSaving;MultiWindow;Nfc;DrivingMode;SmartStay;Sync;SBeam;AirplaneMode;DormantMode:WiFiHotspot;AllShareCast;
[Note that the above letters should be CaSe sEnsItiVe and no spaces
(6) ReBoot
(7) Congratzz... U have successfully customized the notification panel..
THANKS
GURPREET SAHOTA
BUt my phone doesnt have Multi-Window yet!
this phone have nfc??
Good one. I skipped few toggles that I did not wanted...
Nice post... You can also exclude the toggles you don't want or are not of use like NFC, Multiwindow, etc.
I excluded few.
For other users. Making it little clear. If your don't find "notification_panel_active_app_list" in the list(probably you won't), go and add new record and enter the values starting from Wifi; and others,... (I wrote CODES and then started) and found no toggles, so then excluded it.
Note: When you will be adding the code mentioned in the post, keypad would automatically add spaces after each toggle head your write. Like this Wifi; Location; SilentMode; AutoRotate; Bluetooth; MobileData; So, make sure you edit and remove the space before you save otherwise you'll only see Wifi i.e. the first toggle on the list. Also the last i.e. WiFiHotspot has "F" as a capital letter. I wrote WifiHotspot and scratched my head for an hour trying different stuff for not getting that toggle.
Values I used are as follow, I have changed the toggle pattern and have excluded few according to my use(Only if you want to use): "Wifi;SilentMode;Bluetooth;MobileData;PowerSaving;SmartStay;WiFiHotspot;Location;AutoRotate;Sync;AirplaneMode;DormantMode;"
Yes, we can also change the toggle pattern as per the needs.
NOTE: Make sure you don't keep a space between the code during saving the file.
Thanks to @gurpreetmaster for sharing this useful post. It does help users. Ofcourse I already hit the Thanks button. :highfive:
Cheers and keep posting.
gurpreetmaster said:
Add toggles to your notification panel easily
THANKS
GURPREET SAHOTA
Click to expand...
Click to collapse
SIMPLE WAY just flash and u will get toggles
http://forum.xda-developers.com/showthread.php?t=2662808
What is "Dormant Mode" ?
And I couldn't get S-Beam to work.
---------- Post added at 10:01 AM ---------- Previous post was at 09:53 AM ----------
gurpreetmaster said:
Add toggles to your notification panel easily
CODES- Wifi;Location;SilentMode;AutoRotate;Bluetooth;MobileData;PowerSaving;MultiWindow;Nfc;DrivingMode;SmartStay;Sync;SBeam;AirplaneMode;DormantMode:WiFiHotspot;
Click to expand...
Click to collapse
What is "Dormant Mode" ?
And I couldn't get S-Beam to work.
And how do I enable "Blocking Mode" ??
Help.
Dormant mode is blocking mode n u can easly get sbeam toggle jst write -SBeam
hi
all r working dude great. . any other useful things for our model
nhozbay said:
this phone have nfc??
Click to expand...
Click to collapse
No it has icon of nfc in system ui
nhozbay said:
this phone have nfc??
Click to expand...
Click to collapse
No it has icon of nfc in system ui
Can we add flashlight and night mode toggles ..?
worked like charm I hav changed notification order sbeam n nfc just shows its fancy Icons dont works for our fon I really liked it thanks for letting us knw abt this trick or mod
Need one more toggle code
gurpreetmaster said:
Add toggles to your notification panel easily
17 toggles code
Okay.. so, here's what you need:
(1) Rooted Galaxy Grand Quattro
(2) Sqlite editor app
--THE LINK FOR THE Sqlite editor app-- https://play.google.com/store/apps/details?id=com.htsoft.sqleditor
Dts all!!
So here's what you need to do:
(1) Open sqlite and give root permission. It should show a list
(2) Scroll down to "Settings Storage" and open it
(3) Open "Settings.db"
(4) Next, tap "System"
(5) Scroll down until you find "notification_panel_active_app_list" NOT the notification_panel_default_active_app_list.Tap it. If it's not present (well... it was not present for me atleast)(Make sure to Check Properly),then tap the menu key and then tap new record. Set the name to "notification_panel_active_app_list" and under value type the following.
CODES- Wifi;Location;SilentMode;AutoRotate;Bluetooth;MobileData;PowerSaving;MultiWindow;Nfc;DrivingMode;SmartStay;Sync;SBeam;AirplaneMode;DormantMode:WiFiHotspot;AllShareCast;
[Note that the above letters should be CaSe sEnsItiVe and no spaces
(6) ReBoot
(7) Congratzz... U have successfully customized the notification panel..
THANKS
GURPREET SAHOTA
Click to expand...
Click to collapse
What is the code for Usb Tethering Toggle
vinoca said:
What is the code for Usb Tethering Toggle
Click to expand...
Click to collapse
Maybe you could find here
http://forum.xda-developers.com/showthread.php?t=2730338&page=5