Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,319 Members 53,513 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
slabbi
Old
(Last edited by slabbi; 8th July 2010 at 11:08 PM.)
#1  
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
Default [Manila Mod][01-Jul-2010] Calendar Tab - 28 days on Agenda

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:
Click image for larger version

Name:	2010-04-22_10-50-39-AM.jpeg
Views:	5840
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.

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:
071b4c9a_manila.zip (Manila file for manual installation)
slabbi 28 days on Agenda.cab (CAB file)

Manila 2.5.2011, 2.5.2012, 2.5.2013, 2.5.2015, 2.5.2016:
071b4c9a_manila2.zip (Manila file for manual installation)
slabbi 28 days on Agenda2.cab (CAB file)


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

 
zhuozhi211
Old
(Last edited by zhuozhi211; 22nd April 2010 at 08:38 AM.)
#2  
Senior Member
Thanks Meter 56
Posts: 284
Join Date: Sep 2008
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?
 
Niker84
Old
#3  
Niker84's Avatar
Member
Thanks Meter 1
Posts: 97
Join Date: Mar 2009
Doesn't work for me! Manila freezes when tapping on calender tab.

Manila Version 2013
Win Mob 6.5.3
 
slabbi
Old
#4  
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
@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?
 
fgth90
Old
#5  
fgth90's Avatar
Senior Member
Thanks Meter 235
Posts: 856
Join Date: Jan 2007
Location: Belfort, France
Default Well done

I used your cab too.

Excellent work.
Franky
HTC ONE X ROM ViperX 4.1.1 | Android 4.2.2 | Sense 5
HBoot 1.72 - Kernel File Type:
lONELyX #023 mv/lm/sense | Stock HTC 4.18.401.2 src |S2W,DT2W,FC,UMS,UV,GPU_OC,MPDEC...

----------------------------------------------------------------------------------
Don't forget to QUOTE if you don't want I miss your post
Hit THANKS if I helped you


Keskidi?.......
 
Schmurtz1968
Old
#6  
Senior Member
Thanks Meter 29
Posts: 186
Join Date: Dec 2008
Location: 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.
 
anhphe076
Old
#7  
anhphe076's Avatar
Senior Member
Thanks Meter 16
Posts: 1,148
Join Date: Sep 2008
Location: CanTho
Can you post screen short of Calendar tab - 28 day on. plz. Thank you!!
 
ChefChaudart
Old
#8  
ChefChaudart's Avatar
Senior Member
Thanks Meter 77
Posts: 1,306
Join Date: Oct 2007
Location: Gaume
This is really a function I missed

Thanks you very much
 
bnm7bnm
Old
#9  
bnm7bnm's Avatar
Senior Member
Thanks Meter 5
Posts: 784
Join Date: Mar 2008
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 071b4c9a_manila.zip - [Click for QR Code] (1.6 KB, 66 views)
 
slabbi
Old
#10  
Member - OP
Thanks Meter 0
Posts: 40
Join Date: Apr 2010
Quote:
Originally Posted by bnm7bnm View Post
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.

Tags
manila 2.5, mod
Thread Tools
Display Modes