[Manila Mod][01-Jul-2010] Calendar Tab - 28 days on Agenda

Search This thread

slabbi

Member
Apr 21, 2010
40
0
Please Read the first post:
- Read the first post carefully and completely before posting.
- When posting about a problem please report your full Manila version (e.g. 2.5.x), OS version, the device and ROM you are using and if you have any other mods installed.

Intro:
This is a Manila (Sense) 2.5 Calendar Tab modification which features:
- Agenda displays 28 days (instead of 7 days), number of days can be configured
- Some colors can be configured

Screenshot:
2010-04-22_10-50-39-AM.jpeg

I did this patch because I found it very annoying to have only 7 days ahead in the Agenda.

Change log:
1.0.0 first version (30-Mar-2010)
-[new] 28 days on the Agenda
1.0.1 small update
-[update] stripped debug info from the file, so its smaller now
1.0.2 small update
-[new] added some registry keys for configuration
1.0.3 update
-[change] renamed the keys Tweaks.CalendarAgendaYearView(Sa|Su) to Tweaks.CalendarYearView(Sa|Su)
-[new] added some additional keys for modding the colors
1.0.4 update
-[change] updated for 2.5.2016

Requirements and Compatibility:
Manila >= 2.5.1921 is required.

To check your Manila version: go to the settings tab in Sense, select "About phone", and then "Software Information". If you have any problems with this mod please report your full Manila version (e.g. 2.5.x), the device and ROM you are using.

Instructions:
- Install the mid using the CAB, alternatively you can download the Manila file and copy it into your device's windows folder.
- You should backup the original file first in order to revert the modification if necessary.
- Restart Manila or do a Soft-Reset.
- When you do the installation manually, no registry key is created and the default values are used (see below which keys can be created and used).

Tweaks:
The CAB creates one new registry key automatically:

HKCU\Software\HTC\Manila
Key: (DWORD) Tweaks.CalendarAgendaShowDays = 28

There are some additional keys that are not created automatically:

HKCU\Software\HTC\Manila
- (DWORD) Tweaks.CalendarYearViewSa(R|G|B)
- (DWORD) Tweaks.CalendarYearViewSu(R|G|B)
- (DWORD) Tweaks.CalendarYearViewFontColor(R|G|B)
- (DWORD) Tweaks.CalendarYearViewTodayTextColor(R|G|B)
- (DWORD) Tweaks.CalendarYearViewTodayBKColor(R|G|B)
- (DWORD) Tweaks.CalendarMonthViewWeekColor(R|G|B)
- (DWORD) Tweaks.CalendarMonthViewDayColor(R|G|B)
- (DWORD) Tweaks.CalendarWeekViewTimeColor(R|G|B)

"(R|G|B)" means that you have to add "R", "G" or "B" to the key depending on what color you want to set. So you have always three keys:
- (DWORD) Tweaks.CalendarYearViewSuR = red value
- (DWORD) Tweaks.CalendarYearViewSuG = green value
- (DWORD) Tweaks.CalendarYearViewSuB = blue value

Default values for Manila 2.5.2013 are 0,0,175 (Sa) and 175,0,0 (Su). You must not create all keys, e.g. Tweaks.CalendarYearViewSuR = 175 displays red numbers for Sundays also on 2.5.1921. When a key of the RGB-triple is not set, "0" is used. Do not use 0,0,0 since this setting is ignored.

Localization:
Not required.

Known issues:
- Loading the Agenda screen becomes a little bit slower. I have approx. 500 appointments on my device and the additional loading time is barely noticeable. If it becomes too slow, use smaller values like 14 days.
- Manila 2.5.2013 uses red and blue colors, Manila 2.5.2012 light gray colors for Saturday/Sunday on the years view. Since the mod was done with 2.5.12, also 2.5.2013 users will have light gray color for Saturday/Sunday on the years view. Nevertheless you can tweak the colors.

Downloads:

Manila 2.5.1920:
not compatible

Manila 2.5.1921:
View attachment 071b4c9a_manila.zip (Manila file for manual installation)
View attachment 315030 (CAB file)

Manila 2.5.2011, 2.5.2012, 2.5.2013, 2.5.2015, 2.5.2016:
View attachment 071b4c9a_manila2.zip (Manila file for manual installation)
View attachment 353002 (CAB file)


If you like my work:
This very simple mod is completely free and donations are not expected, but always appreciated.

 
Last edited:

zhuozhi211

Senior Member
Sep 19, 2008
339
64
works for me thanks! I used the cab.

-------------------------------------------

It worked on my stock Manila. But it takes 2 - 3 seconds for Manila to refresh the list each time i scroll to Calendar tab.
Thats not desirable considering with HD2 processing power it is still so slow. Maybe less days - 14 days?
 
Last edited:

Niker84

Senior Member
Mar 17, 2009
95
1
Doesn't work for me! Manila freezes when tapping on calender tab.

Manila Version 2013
Win Mob 6.5.3
 

slabbi

Member
Apr 21, 2010
40
0
@Niker84:
Strange, since the mod only changes the counter and does not modify any code. Can you post the original file from your system please?
 

Schmurtz1968

Senior Member
Dec 29, 2008
241
62
Rouen
My manila calendar tab won't work with it. I have to uninstal it for the tab to work again.
Maybe there is some incompatibility with another custom manila file wich makes transparent background on calendar tab.

Also thanks for your work.
 

bnm7bnm

Senior Member
Mar 11, 2008
784
6
great mod but not working on manila v2.5.2012.1225,
attached original file plz make it work:rolleyes:

screens of problem attached and if i set other views manila restarts
uninstalled without problems
 

Attachments

  • Screen01.jpg
    Screen01.jpg
    21.1 KB · Views: 647
  • Screen02.jpg
    Screen02.jpg
    16.4 KB · Views: 536
  • Screen03.jpg
    Screen03.jpg
    21.5 KB · Views: 520
  • 071b4c9a_manila.zip
    1.6 KB · Views: 69

dio62000

Senior Member
Jan 16, 2009
560
56
Thanks! It worked, but the days > 7 load very slow (like it's said in the first post), it takes about one minute before you're able to see the whole month. But I don't have that many appointments.
 
Last edited:

slabbi

Member
Apr 21, 2010
40
0
Thanks! It worked, but the days > 7 load very slow (like it's said in the first post), it takes about one minute before you're able to see the whole month. But I don't have that many appointments.

HTC loads all appointments asynchronously. On the one hand it is displaying the first data faster, on the other hand the device has to update the screen for each appointment that is read.

When you have 3-4 appointments each day, that are approx. 120 a month, the HD2 has to update the screen 120 times.

When there is no way to disable screen updates temporary we have to live with these symptoms, except the whole agenda part is rewritten.
 

dio62000

Senior Member
Jan 16, 2009
560
56
I had another problem; after installing your cab I couldn't login at Twitter anymore. After I uninstalled I could! In the mean time I have checked if Twitter was unavailable, but it wasn't, I could login on PC as well.

p.s. Thanks for explaning btw :)
 
Last edited:

manutd_ken

Senior Member
Feb 8, 2009
612
11
is work, but install before, calendar sun and sat color is red and blue, but now same gray, can fix~:confused:
 

slabbi

Member
Apr 21, 2010
40
0
I had another problem; after installing your cab I couldn't login at Twitter anymore. After I uninstalled I could! In the mean time I have checked if Twitter was unavailable, but it wasn't, I could login on PC as well.

p.s. Thanks for explaning btw :)

The mod has absolutely nothing to do with the twitter app. Maybe there was a problem with the internet connection of your phone.