Weather dependent bitmaps - Zooper Widget General

I'm new to zooper and have been customising a home screen for a couple of days. One thing I wanted to do was to display a different image for each weather condition (yahoo weather).
I figured out that I can do this by having multiple bitmaps overlaid on each other, one for each weather condition, with the alpha value set to 0 if the relevant weather condition isn't detected.
With not knowing too much about zooper just yet it struck me that this might be a bit of a heavy handed approach, with potentially up to 48 bitmaps in the widget (according to the yahoo weather condition codes XML I found) each with their own advanced parameters being monitored.
So I suppose my question is, am I going about this the right way and will it be a huge drain on resources?

After reading this thread it seems I was right to think it felt heavy handed.
From what I've read, the right way to go about this is to have one bitmap layer with advanced parameters that display each picture only if the specific weather conditions are true.
Example:
Code:
$#WCCOND#=mostly cloudy?(b)/storage/emulated/0/ZooperWidget/Bitmaps/BlueBeacon/cloudy.jpg(/b)$
$#WCCOND#=sunny?(b)/storage/emulated/0/ZooperWidget/Bitmaps/BlueBeacon/sunny.jpg(/b)$
NB: The round brackets in the above code (b) (/b) should actually be square brackets but the forum turns this into bold.

You could create an iconset instead, or grab an iconset from here http://forum.xda-developers.com/showthread.php?t=2084070 and replace the images with yours.

jimlahey said:
You could create an iconset instead, or grab an iconset from here http://forum.xda-developers.com/showthread.php?t=2084070 and replace the images with yours.
Click to expand...
Click to collapse
Thanks for that, I'll look into it. Is there any advantage to going the icon route? And does it matter that my images are jpg photos (eg. a cloudy sky rather than a cloud clip art)?

TheStretchedElf said:
Thanks for that, I'll look into it. Is there any advantage to going the icon route? And does it matter that my images are jpg photos (eg. a cloudy sky rather than a cloud clip art)?
Click to expand...
Click to collapse
An iconset is a lot easier to manage (use in different widgets, sharing etc) as it's just 1 zip file. And I believe jpg will work as long as you edit the image extensions in the iconset xml file.

jimlahey said:
An iconset is a lot easier to manage (use in different widgets, sharing etc) as it's just 1 zip file. And I believe jpg will work as long as you edit the image extensions in the iconset xml file.
Click to expand...
Click to collapse
Thanks. Looks like I'll be creating my first icon set tonight then

TheStretchedElf said:
Thanks. Looks like I'll be creating my first icon set tonight then
Click to expand...
Click to collapse
Godspeed.

Related

CHECK OUT NEW WEATHER APP & THREAD! (This Thread Retired) ODSHOWeather.CAB (8-07-08)

CHECK OUT NEW WEATHER APP & THREAD! (This Thread Retired) ODSHOWeather.CAB (8-07-08)
**Note**Thnx to Rafer,NRG/Z28,Pudgedaddy, Luckybandit!!!
WE HAVE A NEW WEATHER APP!!!! IT IS BETTER AND MORE EFFICIENT
CHECK OUT THE NEW THREAD!!!
Updated: (7-08-2008) ODSHOWeather v1.0.2b (8:37 p.m.)
Please read all instructions before posting. Thanks.
Showaco, I are happy to bring you what will be one of the final installments of the weather panel. I have worked on testing this thing for a while. The new addition is the radar page to the forecast panel. This includes a new app that is included in the cab. It's called Weather Radar. It is located as your right soft key link. Just click it from your phone to set it up. This is a separate app that runs in our panel, but is not required to use the panel at all. I just included this, because it is frickin' sweet. Just input your location and it shows an updated radar image for your area that is updated by the NOAA every 6 minutes. Trust me, if you work outside for a living, this is a godsend.
Like I said, this weather radar app is not part of our weather update or any panels display properties or anything, it is simply a link to a separate (yet related) app. That's all.
With that being said. This radar page is pretty sweet. Follow the instructions below to make sure your clock weather, forecast panel, AND radar are setup properly, before you use this. Hope you enjoy, there are 4 wavs for you to check out as updated voice messages. There are 4 panel borders that you could display. You have an option for now forecast panel (lite version) and an option to display a forecast panel (full version).
Look at the 3rd url below, in it is a zip that you can use to replace your digits in your clock panel. The digits1 are the originals, the digits 2 are the HTC Diamond Font numbers. If you are curious as to what they look like, just search HTC Diamond. Luckybandit posted these, so thanks to him. In order to have these display, just rename either folder to digits and drop it in your \Program Files\Outerdepth\KPWeather folder. They will overwrite the ones you have, but don't worry, I have supplied you with both. They will not completely show up until the forecast panel update has run, so set your fupdate value to 1 in your reg, and then run the update. The location in your reg is HKLM Software\Outerdepth\KPWeather.
Lastly, we do have a banner, so you can also edit your banner's display text. It is located in the options menu as well. It will be displayed in the scrolling texts in your clock panel. ENJOY!!!!!
CHECK OUT SHOWACO'S POST #2!!!!!
Instructions:
1. Download cab from link below.
2. Copy cab to smartphone. Using explorer or Total Commander, click on the
cab. It will install. If you have downloaded the cab before, don't
worry about uninstalling it, it will do all the work itself. That's it. All installations are done.
3. Go to your weather options and set them up. Do all of the options, if you want or expect all of the features to work!!
4. Run Weather Update. It will write your forecast panel and radar. That's it.
Link: Updated (7-07-2008) (8:37 p.m.) 3 Direct Link Downloads !!
URL #1: the ODSHOWeather v1.0.2a.cab NO RADAR
http://mobile.txcaesar.net/mobile/a... Showaco Productions ODSHOWeather v1.0.2a.cab
URL #2: the ODSHOWeather v1.0.2b.cab RADAR FOR YOUR PHONE!!
http://mobile.txcaesar.net/mobile/a... Showaco Productions ODSHOWeather v1.0.2b.cab
URL #3: the extra digits you can replace in your panels!!!
http://mobile.txcaesar.net/mobile/apps/homescreens/DigitsforYourPanel.zip
For our wavs, we have male, female, and even ones for our Latino(a) compadres!!!!
More Links
Here's links to a blackjack site:
http://mobile.txcaesar.net/mobile/m...pic&t=79&sid=a6200f782cbb757e6528f21c4214369a
and a moto q site:
http://www.everythingq.com/forum/software/kp-weather-plugin-for-clock-panel-23881.html
Here's the original 320x240 sliding panel cpr file for anyone who needs it to remove cclock weather and fat panels.
Looks nice! I'll have to try it out soon.
Looks great
The thumbnails look great. I have a couple of questions:
1. Looks like you are using the fat panels. Is it possible to use just a fat panel for this, and slim panels for the rest of the panels?
2. Will you be posting a cab anytime soon that automates the installation?
Thanks.
Great job
Can't wait to load your app on my Excalibur and try it out but I am at work and need to wait until I get home since you do not have a cab file.
Looks great but !!!! Even though I have added quite a few things to my phone your installation instructions are beyond my knowledge.
Step #4? More explanation needed. Are these registry files. Are they exe files? Where do I copy them and how do I run them.
Also, one other thing that I would like you to include. When you include the new option of radar, can we choose our own radar. The local TV station has an great radar screen for mobile phones that I would like to use.
Thank for all your work,
Tim
debabratadey said:
The thumbnails look great. I have a couple of questions:
1. Looks like you are using the fat panels. Is it possible to use just a fat panel for this, and slim panels for the rest of the panels?
2. Will you be posting a cab anytime soon that automates the installation?
Thanks.
Click to expand...
Click to collapse
1. In sliding panels, as of now, all panels must be same size, no exceptions. But if there is interest, it is possible to kinda create the illusion of different size panels using panel backgrounds.
2. We hope to have cab up in a few days.
tf442 said:
Can't wait to load your app on my Excalibur and try it out but I am at work and need to wait until I get home since you do not have a cab file.
Looks great but !!!! Even though I have added quite a few things to my phone your installation instructions are beyond my knowledge.
Step #4? More explanation needed. Are these registry files. Are they exe files? Where do I copy them and how do I run them.
Also, one other thing that I would like you to include. When you include the new option of radar, can we choose our own radar. The local TV station has an great radar screen for mobile phones that I would like to use.
Thank for all your work,
Tim
Click to expand...
Click to collapse
To run the reg files, you need to use a reg editor, I use resco explorer which does a great job but there are others.
As for as radar, It is possible to use custom radar, but that isn't the way we were headed right now. But we will consider it.
thats sweet.....its goin on mine as soon as I get home
The one thing I might like to add it that if you have any issues after uninstalling NRG's Chome Weather , where it gives a whie screen with an error unable to find weather.exe it's because it's still stuck in your notifications queue. Run Sktools and locate your notifications and find the offending notification and check it, then remove it. This will stop that error.
I'm only mentioning this in this thread as to warn others about this possible issue just avoid any confusion that by installing outerdepth's weather app, it does not cause this error.
Locked out of Messaging
After following your directions I am unable to acces messaging on my Dash and there is no weather. Please give more detail on step 4 on how to actually "Run" and reg file. Is it an import?
You're going to have to tell me where to edit the scrolling marquee stuff. I dont see where to customize it.
Nevermind: I found it.... for anyone who wants to know, you have to edit the KPWeather.mscr file in notepad or other text editing software and locate the txt8 value about a little past half way down the page and edit it. then overwite other original .mscr
Update: Where would i go to edit the Condensed Text in the forecast panel. I want to read something else besides CWeatherODSP
Nevermind on update: I figured out how to change the condensed text in forecast panel too.... i'm such an idiot sometimes... was an easy find.
pudgedaddy said:
You're going to have to tell me where to edit the scrolling marquee stuff. I dont see where to customize it.
Nevermind: I found it.... for anyone who wants to know, you have to edit the KPWeather.mscr file in notepad or other text editing software and locate the txt8 value about a little past half way down the page and edit it. then overwite other original .mscr
Click to expand...
Click to collapse
For non weather related additions to text loop, it can be easily added in the loop.mscr as a regwritestring added to bottom of current list.
showaco said:
For non weather related additions to text loop, it can be easily added in the loop.mscr as a regwritestring added to bottom of current list.
Click to expand...
Click to collapse
It would be nice to add that as an option in the weather options .mscr.... other folks may not be saavy enough to use a text editor. It would kinda of "idiot proof' that function
Awesome App
Congrats Outer & Showaco. It's a great app & it works flawlessly. Only suggestion I have is if it's possible to make this for normal panels (I use normal, not slim). I know it's very difficult to put that much of information on this size (and I must say the clock panel looks AWESOME) but my other panels look really fat with too large fonts.
Anyway it's just a suggestion. The app is really cool and I have to say thank you for all your hard work
Cheers
Hey Outerdepth, this is awesome. We're finally going away from CTestUIPlugin. However, after copying my weather script line for line, even down to the directory names and graphics used... I would at least appreciated a little statement that this is all possible because you're using my application But hey....
pudgedaddy said:
It would be nice to add that as an option in the weather options .mscr.... other folks may not be saavy enough to use a text editor. It would kinda of "idiot proof' that function
Click to expand...
Click to collapse
Will be done later tonight, thanks for the input. We will add a user text line that can be edited from options panel.
You may also want to edit the Title on the consensedtitle panel. It currently reads: CWeatherODSP .... which to me doesn't seem to descriptive. I personally changed it to read "7-Day Weather Extended Forecast". that seems a little more descriptive to me. Of course you can do whatever you want to it, but using the title i use or some other variation of what i use may be a little more descriptive.
Slim Panels
showaco said:
1. In sliding panels, as of now, all panels must be same size, no exceptions. But if there is interest, it is possible to kinda create the illusion of different size panels using panel backgrounds.
2. We hope to have cab up in a few days.
Click to expand...
Click to collapse
If possible, I would like the slim panels. I hope that there are others who would want it enough to motivate you to create the illusion you are talking about. Thanks, and waiting for the cab...
Yeah! A Real Weather App
Great job guys and will be even better when you add the "Doppler Radar" with automatic updates. Please use the newly released "Doppler Radar" for smartphones and pocketPC devices, again guys, this is a super awesome job.................!

[upd. Nov 17, 2008] hgToday & hgAgenda: Fingerfriendly calendars

11/17/08: Version 0.31 of hgToday
Bugfix
Added hgColors 0.3 config file in zip archive. This makes it possible to change the font size of the list, and the height of the individual list items.
11/10/08: Version 0.3 of hgToday
Updated to work with the latest version of Christec's framework
Rewritten list control (loosely based on KListControl)
Removed buttons on top, menus included in popup menu, moving to next/previous day through finger movement.
New popup menu is now scrollable with finger.
New datepicker, more fingerfriendly.
Skinning with bitmaps has been removed in order to reduce memory usage.
Colors can still be changed.
9/11/08: Version 0.2
Added the program hgColors to make it possible to customize all colors.
Added the option of seeing all appointments and all tasks together.
Bugfix for the calendar dialog (got stuck on the screen sometimes).
9/5/08:
Added hgAgenda to the files below. This is the standalone full screen version of hgToday. It also has some more images for skinning.
Also added some more screenshots.
Earlier:
hgToday
This is a small fingerfriendly plugin I've put together for my todayscreen. I use it as one of my views in my Homescreen++ setup (prev. BatteryStatus). It can also be used as a regular today plugin.
hgToday will show you the current appointments and all tasks not completed with a due date on or before today, or with a start date on or before today (i.e. all tasks that should be worked on).
The list can be scrolled with a finger.
If doubleclicked, it will mark the item completed.
To view the task, hold the finger long enough for item to be selected and popupmenu to show, tapping view will take you to the default calendar/task application for editing and viewing.
Scroll left or right for next/previous day.
Skinning
This can be done with hgColors. Just click on the various items, choose save, and restart hgToday.
Both list height and item height can be changed.
Font size can also be changed, although if too large, the day will be mixed with the description.
The file hgColors must be in the same directory as hgToday or hgAgenda.
Future plans:
More fingerfriendly editing, entering new items.
Update hgAgenda to 0.3.
+??
To install hgAgenda:
Just unzip the files to any directory - can be used on a storage card too.
To install hgToday:
Must be installed to main memory.
1) Uninstall previous version of "ChrisTec Managed Today Screen Item Framework" and hgToday.
2) Unzip and install the "ChrisTec Managed Today Screen Item Framework" (see separate copyright notice).
3) Copy hgToday.dll to the same directory where the ChrisTec Framework is installed (normally "Program Files\Managed Today Screen Framework").
4) Go into settings, Today, Items: and make sure the "Managed Items" is checked.
Thanks to dosfan for his KListControl (http://forum.xda-developers.com/showthread.php?t=333124)
I don't take any responsibility for the problems this program might cause on your device, but it seems to work for me on a smartphone running Microsoft Mobile 6.
I value comments, but can't promise anything,.
Hope it can be useful for other people.
Great software calendar .. thank you veru much for this release
any "working" screenshot please ?
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Screenshots
I'm sorry, but I didn't know that you had to have a url to post a screenshot. Therefore the small bmp file.
Installation
Csquared said:
Im not able to get working on Sprint Touch 6.1. I had the HGplugin showing in the settings/home/items. I then closed out and went back in and its gone. I have tried to reinstall a few times with no luck.
Click to expand...
Click to collapse
Sorry about your problems.
Did you try going into the registry to see that the height is correct? Do you have other plugins? Can you run the file hgToday.exe directly? Can you try to put a checkmark in the today settings for Managed items?
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.

			
				
dancer_69 said:
It doesn't work. The item doesn't appear in settings/home/items. I tried to open the executable and I get an error: Null reference exception.
Click to expand...
Click to collapse
Have behavior here. item not showing in today setting. launching the exe returns this error.
hgToday.exe
NullReferenceException
en Christec.WindowsMobile.TodayScreen.TodayScreenPluginForm.OnLoad(EventArgs e)
en System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
en System.Windows.Forms.Control.set_Visible(Boolean value)
en System.Windows.Forms.Application.Run(Form fm)
en SampleTodayScreenItem.Program.Main()
updated plugin
It seems my app was based on an early version of "ChrisTec Managed Today Screen Item Framework".
So I've attached that version in my first post. That should the program run. I have had it on my device for about a month now.
However, I probably should upgrade my app to take advantage of the newer version of the framework. The reason I didn't do that in the first place, was because it used an exe file that could be run by itself. The newer version requires a dll file.
It works good on my Kaiser - thanks.
Screenshot? I can't see anything on that small 1x1 pic!
NotLutzik said:
Screenshot? I can't see anything on that small 1x1 pic!
Click to expand...
Click to collapse
Did you see post #8?
It's quite similar to the gslide file explorer (we use the same list control), except hgToday doesn't have to be full screen.
I'm also hoping to release a non-plugin version later today.
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
thank you so much.. i'm using your thing instead of Calendar+ now
Thanks!
nir36 said:
Feedback: ))
the viewing options of all appointment and all tasks and so on are wonderful. also the option to change the height..
the scrolling thing is VERY important and useful..
the gray background is heavy on the eyes... i'd make it compatible with the tsk.. that is, transparent.
Click to expand...
Click to collapse
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
an option to view all appointments+all tasks is important in my eyes... for day to day use..
Click to expand...
Click to collapse
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
thank you so much.. i'm using your thing instead of Calendar+ now
Click to expand...
Click to collapse
Added hgAgenda, the full screen standalone version of hgToday.
This can be run as a separate program.
Also included some more screenshots.
See first post.
I should probably do some version numbering. Any ideas?
ajige said:
The color scheme is based on the system colors, i.e. the list takes it's color from the active caption color. I'm planning skinning in a future version. As for now, in order to have a different background when there is no selection, you can add an image file called noselect.png (similar to the select.png file) and the program will show that for the list items, instead of the current background. However, the app will use a lot more resources that way. That's why I'd like to make some configuration file to store colors and other stuff.
I'm not quite sure what you mean, because the program should show all appointments AND all tasks on the screen for today or other chosen days.
Click to expand...
Click to collapse
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
nir36 said:
i meant having All appointments+All tasks... for all days... not just for one specific day.
and i see what you mean about the background. unfortunately my background is black
thanks
Click to expand...
Click to collapse
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
ajige said:
With the way the program is written, that would not be possible. What can be done, is to have all the appointments first and then all the tasks, but I assume you mean you want it sorted by date. To accomplish that, I have to do a complete rewrite of the program.
Right now I am working on a settings app so that all colors can be easily configured by the user.
Click to expand...
Click to collapse
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
New version 0.2
nir36 said:
even having tasks after appointments would be great.
and of course having it arranged by date would be even better, but i understand it can be hard to accomplish. thanks.
btw, it's very very useful and i'm enjoying it.
Click to expand...
Click to collapse
New version with all appointments and all tasks on one screen.
Also skinning via separate program.
See more details in first post.

how to change tf3d highligt color?!

hi there i searched the forum for about a day and realy can't find my answer
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color? (with out changing the original theme indid !)
tanx alot
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
htc's fan said:
can any one plz tell me how can i change the tf3d (touch hd version!) highligt color?
Click to expand...
Click to collapse
There is no 'easy' answer to that question.
For some highlight elements of Windows Mobile (like the phone dialer or call history, and other system screens) the highlight colour is determined by .tsk files... and registry entries.
Go to HKLM\Software\Microsoft\Color and change the values to whatever colour you want. This effects Windows Mobile system colours (including highlights).
You might also need to look at HKCU\Software\Microsoft\Today and change the colour values for whatever task file you selected to use. (HTC Black.tsk, for example).
The green highlight you see in TF3D is controlled by numerous _manila files.
The clock highlight on the Home Page, for example, is made up of 3 _manila files (1 left edge, 1 right edge, 1 middle tiled image). Another 3 _manila files are used for the call history and calendar highlight. Another 3 _manila files control the higlight on other tabs like Settings, or All Program etc.
The keyboard menu highlight, and the Communication Page highlight are all controlled by simple .png images (as these are accessed outside of TF3D.)
So to change the colour of ALL of the highlights on your phone... you have to change many things. Or install a complete theme made by somebody else (and hope they changed ALL of the images... which isn't always the case).
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
Click to expand...
Click to collapse
If you search the forum, you'll probably find 1 or 2 programs that will let you change the wallpaper with a few clicks... but that function is usually built into a program that does many other things too... and you did say that you didn't really want the theme of your phone changed!
However... editing the _manila file isn't that complicated anyway.... you create your image, import it into the manila file, copy that file to your phone... done!
Using a program (as you asked)... you would create your image, copy it to your phone, launch an app on your phone, click change picture, select your image... done.
Those 2 scenarios aren't that different or really any quicker! The only real advantage to using a program... is that you could change the background image while away from your computer. However if you want to keep 20 different wallpapers on your phone that you can select between... simply import those 20 images into 20 of the same _manila file and store them on your phone like "sports_car_4a087e41_manila" & "hot_babe_4a087e41_manila"... then when you want to change your wallpaper to one of them... simply rename whichever file to "4a087e41_manila" and copy it your your Windows directory... done!
htc's fan said:
and for changin the wallpaper in all tabs. can any one make an app to do this in one simple step? or we have to do all that things one by one every time we want to chang the wallpapers?!
tanx in advance
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?t=479112
Works fine for me.

[TUT] A mini-tutorial on rearranging the Manila Home Screen

Rearranging the Manila Home Screen​
What do I need to know?
Manila uses few types of files: qtc, xml, mode9 and lua. First one is for graphics, second usually for different languages (although not only) and the two last ones are the ones we are interested in. Mode9 files contain information on position, visibility and other properties of almost every element on Manila tabs. Lua files contain different functions, used for animations, updating info and so on.
For editing the Home Screen we need the mode9 file - 1c684cd8_manila and the lua script - 25d04412_manila. You can find these files (from each Manila, starting from 1.0 and ending on 2.5) on this forum.
What tools do I need?
Editing mode9 files is quiet easy. You just have to run m9editor, open the file, make the changes you want and save it. Changing stuff in lua scripts is a bit more complicated, as you have to decompile it. Shorter scripts are easily decompilated by luadec, but some longer ones require us to correct errors. Fortunately, the lua script we have to change is easily decompilated (though there can be a problem with the if condition). To do this follow these points:
- copy luadec.exe and luac.exe to the folder you where you have the lua script (let's say it's c:\compacthome\mod\)
- press Windows Logo + R (or Start > Run) and type cmd
- go to the folder containing the lua script (in this case it's cd \compacthome\mod\)
- type luadec script_name > script_name.txt - where script_name is the script you want to decompile (for example 25d04412_manila) and script_name.txt is the name of the output file, which we will edit
- in case of errors you have to correct them (look for the lua decompiling tutorial by sztupy)
- once you have the script decompiled you don't need to do it again.
- open the output file and change whatever you want
- to compile the file just type luac -o script_name script_name.txt, where script_name is the file we want to have the script_name.txt compiled
What can I change?
When you open the mode9 file we want to edit, expand the tree and you'll see many sections called 'Object'. Below them there are few lines called 'Property'. What you can easily change is:
- Position - just change the value of X and Y (center position (X=0, Y=0) and axis are different for most of the objects - you have to test this)
- Visibility - True or False (sometimes you may have to change the size of a image to 0x0, so that it won't show never)
- Font
- Font Size
- Color of text in RGB format - if Property is not available, add it
In the 25d04412_manila script you can change positions of many objects in both portrait and landscape mode.
- TabsLeft - left part of the clock (animated)
- TabsRight - right part of the clock (animated)
- clock_tabs - background of the clock (pile of tabs)
- alarm_clock - alarm info and date
- NotifiCamera3D - notifications & appointments
- NotificationShiftY - shifting of appointments when changing to small clock
To change the position just modify the first two parameters of Vector3(X, Y, Z) - both CameraPosition.value and LookAtPosition.value.
How to save and test the changes in a fast way?
Open a cab creator (for example WinCE Cab Manager) and add the files you changed to /Windows. Save the cab, copy it to your device, install and reboot Manila. You can also copy manually the file, but I prefer the first way, because in case of any problems you can easily uninstall the cab and get the default Home Screen.
How to get the Home Screen working with Background4AllTabs?
Just open the 1c684cd8_manila file by m9editor, look for 'HomeBackground' and delete the whole paragraph which contains it (from <Object>Type="Group" to the next <Object>Type="Group").
- - -​
If you have any suggestions, propositions or ideas, please write them in this thread, I'll try to complete this tutorial, so it will be useful for everyone. Thanks!
i cannot come up with suggestions, but that tutorial is very nice on your side!
Although not actually about the home screen arrangement. I do think we need the information on how to patch the EXE for weather and especially non-HTC devices to be made public. The few people that know how to do it don't seem to want to SHARE that knowledge, which is damned frustrating!
Kamill, what an excellent idea. I'm looking forward to your tutorial. I wonder will it be for Manila 2.0?
Here are some ideas:
Change touch flo colour
Appointments for at least one week
Linking big clock with another application (similar to Ssmaho)
Changing soft keys names/applications
Changing font sizes/types
Changing date formats on appointments
I hope this doesn't make it too difficult (I think the second one is though for some Manila versions!)
UPDATE in first post - an early version of the mini-tutorial.
FloatingFatMan, unfortunately I don't know how to do it...
mitsi, thanks, I'll work on that.
Kamill, My question is what needs to be changed to get appointments in dates after tomorrow to appear? Do I need to edit both the mode9 and the lua script? Or is it just one of those? I'm willing to get my hands dirty to fix it.
The easiest way is to get the files from hallatore's mod for Manila 2.0 and compare them to the original. There are mainly 3 differences, you'll find them for sure. AFAIR all you have to change is in one script, you have to add an option to display the date, change the place from where appointments are being taken (poomappointments(TAB_Calendar) instead of poomappointments(TAB_Home)) and change the number of appointments in the for loop.
Hmm. Well I changed the TAB_Calendar and added the option to to display date. Those were easy. Finding the loop is harder. I forced A loop to go 5 times and I got 5 calendar events, but the ones past tomorrow were the default ones in the mode9 ("Review design comp (Dan's office)"). I did it in the InitializeFullAnimation function just below this if statement:
Code:
if l_15_15 > 5 then
l_15_15 = 5
end
So those items are not being updated from the calendar. Any ideas? Am I looking in the wrong loop?
Anyway you can post hallatore's mod de-compiled? I think I have the original, but when I use m9editor the lua has a lot of decompiled errors.
Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success
how to change home tab
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much
Kamill said:
Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success
Click to expand...
Click to collapse
Thanks. I am trying for Manila 2.1. There's gotta be a way.
tatarasi said:
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much
Click to expand...
Click to collapse
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.
Been trying...
I've been trying for some time now to get more than today's and tomorrow's appointment's displayed in manila 2.1. I added in the code that Hallatore added (can be found in stupy's lua thread) but there seems to be something limiting the amount of days shown ahead (I hope is not limited by the manila.exe, but I think not).
As additional info, the lua file that use to be embedded in the Home.mode9 isn't any more and is named 53cc1e4f_manila for 2.1 manila and 652ae0f4_manila for 2.5 manila,
12
mitsi said:
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.
Click to expand...
Click to collapse
This is exactly what I'm after.
Unfortunately, I tried that alternative and, again, it totally messes my TFLO, and I had to hard reset again.
What do you mean by Manila 2.0, is this the TFLO version (in Settings, I see that I have ver. 3.0 build 29946)?
thank you
Change Home tab display
Hi, thank you very much for your interest and trying to give me solutions for my request. It is amazing how people from different corners of the world are connecting and helping each other.
I presume that the file to work with is 1c684cd8_manila.
I opened that with m9editor 3.3.0.1. It's a lot of info there
Could you guys be so kind and give some clues as to what should I look for in order to change:
- the alarm notification - to move it on the upper-right corner
- the carrier logo - to delete it
- the Call History - to delete it
- the Appointments - to have at least 2-3 shown
Also, important clues as to what NOT to touch, in order to
- continue to be able to flip over the big clock
- continue to be able to open the Calendar when click on the appointment
thank you again
tatarasi said:
- the alarm notification - to move it on the upper-right corner
Click to expand...
Click to collapse
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
tatarasi said:
- the carrier logo - to delete it
Click to expand...
Click to collapse
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
tatarasi said:
- the Call History - to delete it
Click to expand...
Click to collapse
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
tatarasi said:
- the Appointments - to have at least 2-3 shown
Click to expand...
Click to collapse
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Kamill said:
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
If only it was that easy... I've been trying all kinds stuff including what you suggest above. I have decompiled the 53cc1e4f_manila I'll attach it here (it's the one from yozgatg's r1.5),
12
I mean you CAN change the number of appointments, but in a range of 0 to 6 (5 with big clock). I've tried to get more appointments shown, but I failed...
Kamill said:
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
Hi, Kamill,
Apologize for double posting, I am growing impatient feeling that I am so close to a solution
Regarding the Manila, I checked where you told me to, and I found out that I have TFLO 3D 1.2.37896.1_1813.6. Thank you.
Thank you for your advices, I already tried to remove the logo
- first, I added the <Property> Name=Visibility Value="False" - did not work
- then, I changed the Height=0 - still ATT was there
- lastly, I deleted the entire Object GLESSprite2D (which was above the "OperatorLogo" property - still no result
What do you think I am doing wrong?
Speaking of the number of appointments, I amazingly discovered that I do not have 53cc1e4f_manila file. What do you think that means?
thank you very much, again
Manila 1 is a bit different from 2.0 or 2.1, the 53cc1e4f_manila script is embedded in the 1c684cd8_manila mode9 file (one of those at the beginning).
AFAIK you can replace the logo file with a blank one (don't ask me which file is it, I don't know ). Or you can try to add a 'Position' property and move it out of the sight (but it may come back in some situations) - though I do not guarantee it'll work.
I hope you'll success in modifying the Manila 1 homescreen, I guess there is still a couple of people who use that version of TF3D.

{Team Rejectz} THEME/DESIGN CHEAT SHEET {Still Working On}

This first post is about using Adobe Illustrator
I figured I would share a little knowlege of my designing and how when i came to android it helped out in making theming my rom so much quicker
ATTACHED AT THE BOTTOM IS A STARTER LAYOUT TO HELP MAKE LIFE EASIER FOR YOU!!!!!! :fingers-crossed:
THEME/DESIGN CHEAT SHEET
INDEX​1. Tools..........................................................................
2. Begin.........................................................
3. The Setup...........................................
4. The Artboards.........................................................
5. Adding And Modifying Multiple Artboards.....................
6. Saving your Icons.................................
7. Layers, Colors, And Strokes................................................
8. SELECTING MULTIPLE LAYERS AND ICONS TO CHANGE COLOR AT ONCE.
9. TRACING TOOL...................................................
10. Keyboard shortcuts coming soon
1.TOOLS​
First remove Adobe Photoshop and Fireworks from your playlist. To me these tools are crap or for short cuts. lol but short cuts coming soon
"Adobe Illustrator" and some quick learning or know how.
I'm not going to go over every single tool because if anyone knows illustrator lol its just way to many. Im just going to get to the main ones in this case in point.
2. BEGIN​
Adobe Illustrator is one of the best graphic design tool I've ever used Ever. Your images would no longer start of as just a pic anymore. Now its time to learn vector.
Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical expressions, to represent images in computer graphics. "Vector", in this context, implies more than a straight line.
Vector graphics is based on images made up of vectors (also called paths, or strokes) which lead through locations called control points. Each of these points has a definite position on the x and y axes of the work plan. Each point, as well, is a variety of database, including the location of the point in the work space and the direction of the vector (which is what defines the direction of the track). Each track can be assigned a color, a shape, a thickness and also a fill. This does not affect the size of the files in a substantial way because all information resides in the structure; it describes how to draw the vector.
WIKI^^^^^ thanks
In short this means that all the res you would lose resizing images in Photoshop or Fireworks wouldn't be lost in Adobe illustrator because it use the vector format
When designing in vector you have so many capabilities that any format doesn't, like proper shading, 3D effects and the easiest way to change the color of multiple vec's at once on the same artboard.
The art board is the space and area in which your design would be held on. It's the only part that would be use to create the png, jpeg, etc. Anything on the edge or off of the artboard wouldn't come up at all in the image. This is convenient to me because I like to have almost the entire framework or system res themed perfectly. Meaning all color and tints and shade all match to the T. You also can line up anything to the artboard or to an object perfectly, so no more miss shaped png's lol.
There's also some tools there that you also seen in Photoshop and Fireworks.
My favorite part of adobe illustrator is the Effects section. This is how to avoid messing up when trying to make your own shading, shadows, 3D effects, glows and more. Trust me, when you get a taste of the effects your going to be trying anything!!!!!!
3. THE SETUP​
Now it's time to prepare.
First you need to start a new project. Go to file and select new. Give your project a name. i prefer the name of the rom.
New documents profile - Don't change this because it going to change to custom by itself.
Number Of Art Boards - Keep this at 1 (im going to tell you how to add more)
Size - don't touch anything after size, just make sure Units Say Pixels
Advanced(drop down the menu) - There are 2 color mode RGB - and CMYK. Rgb modes give your stage for the artboards a white background as if it was on paper. Cmyk leave it empty or transparent like in a PNG. It's your choice on which you want.
Raster Effects - Make sure it's at High 300 PPI
4. THE ARTBOARDS​
THERE IS A STARTER KIT FOR ARTBOARDS ATTACHED
The Artboard is pretty much a stage. This is where all the magic happens.
Now when your designing any icon you should make sure you know the sizes. Knowing all the sizes can be a hassle right, but this is where it gets really easy. Say you have 30 icons that are 72x72 if you have a project set up with multiple art boards you would be fine. because once you have made all the icons the save size is just a drag and click away.
5. ADDING AND MODIFYING MULTIPLE ART BOARDS​
If you noticed which I'm sure everyone has, that some images match the size of other. This is where it gets very easy to make save and do it in a quick fashion.
Go to "File", scroll down to Document Setup and click on it. A window will appear don' worry about anything it the window unless you want to change things yourself. Just go to Edit artboard. You will notice that the screen has turned grey and now you artboard is the only thing thats white. If you hover over the grey you will see that your drag symbol has turned into a square. Us this to add more artboards. Click and hold on to the grey area and drag your mouse. You will see that you just added another artboard. To resize the artboard the Width which is labeled W and the Height which is labeled H will be in the upper right hand corner. Click on the artboard you want and start to reshape it according to the size you need. You can also drag the artboards to which ever place you want it to sit. Once done just click on the mouse pointer icon on the right and everything will be back to normal.
6. SAVING YOUR ICONS​
When saving your icons make sure that where ever your project is you have it as the target location when saving. On your first save you should locate the folder and where the original file is and replace and save it. No need to type in the name. If you know where it is alphabetically, then just scroll to it, click on it and the name should appear in the File name box. If it tell you the file already exist, Do you want to replace? click Yes, but make sure you have a backup copy of the folder just in case. Also make sure you are on the right art board when saving. All it takes is a click on the artboard and you would be just fine.
7. ANCHORS, LAYERS, COLORS, AND STROKES​
You ever find it a very long task to make all your icons the same or correct color. Or in short make them match. Well in vector format you can change all of the icons color at once. It has to be selected though. I know you wondered what the white arrow was for, well wonder no more. The white arrow it to select a layer, stroke, or any anchor on the vector image.
ANCHOR - this is single or multiple dots on a vector image that controls the path, line and/or stroke.
Layer is a section of the image thats either below, side by side, or on top of another image. You can change positions by right clicking on the image and use arrange to move its position.
Colors well you know what these are, But Illustrator has three different kind Grey Scale, RGB and CMYK (will be explained later)
Strokes are pretty much a line. It can be around the image, by itself or combined to create an image.( Will Be explained on how to manipulate a stroke in a image.)
To make it short grab the white pointer and have at it lol.
8. SELECTING MULTIPLE LAYERS AND ICONS TO CHANGE COLOR AT ONCE.​
We all know images have layers but say you have several vector images that are 2 colored icons or more colors just stick with 2 for a sec. If you go to the image with the white pointer, You can click on the one color on the image and change it without making a mistake and turning the whole icon one color. Now to select more than one of the icons, say all of them where blue and green. Click on the green part of the icon. Now go to the top and click on "Select" scroll down to same. When the menu pop out, you will see that there are many ways to select multiple types of images. For right now click the one that says "Fill Color". All of the icons will be selected that has that same shade or ton of green. (note you must have them already colored in to match in order to select same). Now when you change the color they all will adjust together to make them Perfect.
9. TRACING TOOL​.
This tool i would recommend that you stay away from and just design your stuff from scratch. Now I'm about to contradict myself lol but this tool is so f'ing handy if used right.
When tracing and image your pretty much turning it into a vector image with paths, strokes, and anchors. Its pretty much a conversion tool but difficult to use. If you have a colorful image that's when it gets hard. But if you have like a solid color shape its kinda easy.
Say like you have a picture of a solid black triangle in .png and .jpeg because you didn't feel like drawing one. Drag it to the artboard. You will see a button up top that wasn't there b4 called "Live Trace". Click on it and you will see your triangle go from a rough .png/.jpeg image to a smooth vector format triangle.
Now it gets hard.
If you have a multiple color image there are ways to trace it to a vector but not all get it the way you want. Just play around with it a little and you will see what i mean. The traces I'm talking about are in the drop down menu right next to the "Live Trace" button. You will see a slim button with a down pointing arrow.
10. Keyboard short Cuts(coming Soon)
​To Be Continued - meaning im Sleepy lol​
Photoshop Short Cuts
Photoshop Shortcuts​
Index
1. .9 shortcuts Without Decompressed png
2. Batch File Opperation
Adobe Fireworks Shortcuts
Adobe Fireworks Shortcuts
even more
My biggest problem would be the dreaded 9patch
Sent from my SPH-D710 using xda premium
gtuansdiamm said:
My biggest problem would be the dreaded 9patch
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
dreaded 9patch? what is so hard about .9's
rujelus22 said:
dreaded 9patch? what is so hard about .9's
Click to expand...
Click to collapse
Lol yea thats the same thing i was thinking but, Im going to put a short cut for .9 patches for people who don't know how to do it. For Photoshop and Fireworks. But im not going to go into full details because there are post on here with that. Im just going to explain a quick way without decompressing a .9 png
Dude, this rocks. I will be using this like crazy for sure.
hi, I'm interested in learning how to theme, but I must admit, teaching me may be a pretty big project since the extent of my experience is making themes in UOT Kitchen.
would this tool be a good place to start?
mjs2011 said:
hi, I'm interested in learning how to theme, but I must admit, teaching me may be a pretty big project since the extent of my experience is making themes in UOT Kitchen.
would this tool be a good place to start?
Click to expand...
Click to collapse
yes sir this is the perfect place, while not done, im going to apply all of my knowledge of design to help out
Thanks! I may reach out to you privately as well, because I'd really be starting from scratch.
What would be killer is if we had a reference guide for the names for certain harder to find pngs. Background files and such.

Categories

Resources