Remove All Ads from XDA

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

40 posts
Thanks Meter: 0
By slabbi, Member on 21st April 2010, 09:28 PM
Post Reply Email Thread
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.

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

Click image for larger version

Name:	2010-04-22_10-50-39-AM.jpeg
Views:	5866
Size:	35.6 KB
ID:	313950

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.

- 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).

The CAB creates one new registry key automatically:

Key: (DWORD) Tweaks.CalendarAgendaShowDays = 28

There are some additional keys that are not created automatically:

- (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.

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.


Manila 2.5.1920:
not compatible

Manila 2.5.1921: (Manila file for manual installation)
slabbi 28 days on (CAB file)

Manila 2.5.2011, 2.5.2012, 2.5.2013, 2.5.2015, 2.5.2016: (Manila file for manual installation)
slabbi 28 days on (CAB file)

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

22nd April 2010, 07:43 AM |#2  
Senior Member
Thanks Meter: 63
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?
22nd April 2010, 08:35 AM |#3  
Niker84's Avatar
Thanks Meter: 1
Doesn't work for me! Manila freezes when tapping on calender tab.

Manila Version 2013
Win Mob 6.5.3
22nd April 2010, 08:37 AM |#4  
OP Member
Thanks Meter: 0
Strange, since the mod only changes the counter and does not modify any code. Can you post the original file from your system please?
22nd April 2010, 08:38 AM |#5  
fgth90's Avatar
Senior Member
Flag Belfort, France
Thanks Meter: 316
Well done
I used your cab too.

Excellent work.
22nd April 2010, 08:56 AM |#6  
Senior Member
Flag Rouen
Thanks Meter: 62
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.
22nd April 2010, 09:24 AM |#7  
anhphe076's Avatar
Senior Member
Flag CanTho
Thanks Meter: 20
Can you post screen short of Calendar tab - 28 day on. plz. Thank you!!
22nd April 2010, 09:53 AM |#8  
ChefChaudart's Avatar
Senior Member
Flag Gaume
Thanks Meter: 451
This is really a function I missed

Thanks you very much
22nd April 2010, 10:32 AM |#9  
bnm7bnm's Avatar
Senior Member
Thanks Meter: 6
great mod but not working on manila v2.5.2012.1225,
attached original file plz make it work

screens of problem attached and if i set other views manila restarts
uninstalled without problems
Attached Thumbnails
Click image for larger version

Name:	Screen01.jpg
Views:	643
Size:	21.1 KB
ID:	313960   Click image for larger version

Name:	Screen02.jpg
Views:	532
Size:	16.4 KB
ID:	313961   Click image for larger version

Name:	Screen03.jpg
Views:	516
Size:	21.5 KB
ID:	313962  
Attached Files
File Type: zip - [Click for QR Code] (1.6 KB, 66 views)
22nd April 2010, 10:56 AM |#10  
OP Member
Thanks Meter: 0
Originally Posted by bnm7bnm

great mod but not working on manila v2.5.2012.1225,
attached original file plz make it work

Which stock roms contain Manila 2.5.2012.1225?

I have patched your file. Added to first post.
22nd April 2010, 11:02 AM |#11  
Senior Member
Thanks Meter: 25
I have the same problem as bnm7bnm. But my Manilaversion is 2.5.20131825.0...
Post Reply Subscribe to Thread

manila 2.5, mod

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes