5,604,686 Members 38,185 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Google Calendar with Textview (month) - 31.05. Update

Tip us?
 
shaftenberg
Old
(Last edited by shaftenberg; 7th November 2013 at 04:39 PM.) Reason: Updated OP
#1  
shaftenberg's Avatar
Senior Member - OP
Thanks Meter 662
Posts: 641
Join Date: Jul 2010
Location: Cologne
Default [MOD] Google Calendar with Textview (month) - 31.05. Update

Guys, although the Nexus 7 and the GNx have almost the same screen resolution, the N7 shows events in Textview whereas the GNx shows only small lines for an event, so I modded the Stock-JellyBean-Calendar for my GNx as you can see in the attached screenshot or here at directupload:
http://s7.directupload.net/images/121119/o9bix4gi.png

For any ROM out there I recommend using the latest market version of the calendar, as this is bug fixed by Google.
But which version you take is your own choice, both work perfectly on all JB-ROMs (4.1/4.2) including AOSP, AOKP, CM10, TWRP...
Just flash the zip from CWM, but do a nandroid before (for your own security).

Update 07.11.2013:

- maintaining the newest version here:
http://forum.xda-developers.com/show...php?p=47222855

Update 31.05.2013:

- Updated to new market version (v 201305280)
- CWM package

Update 13.12.2012:

- Updated to new market version (v 201212060)
- Lockscreen Widget for 4.2
- New event picker in month view (long press)

Just flash in CWM. If you encounter errors, please uninstall any previous calendar with Titanium Backup and try a new flash. The problems with my old mod were signing problems, sorry for that.

Update 16.11.2012:

- Updated to new market version (v 201210220)
- according to Google, the battery consumption should be lower

- If you don't see the calendar after flashing, please flash the first market version first, reboot, then flash the new version.
Thanks to Finner42 for this idea, see here: http://forum.xda-developers.com/show...1&postcount=64


Update 18.10.2012 the 2nd:

- Added modded new market version (v 201210120)

Update/Changelog 18.10.2012:

- CWM flashable zip
- Changed from GoogleCalendar 4.1.1 to 4.1.2
- some small fixes with the color squares


Old (archived) files:

Market Calendar 201212060: http://ul.to/h25nmaoz
Market Calendar 201210220: http://ul.to/0p2w4aqh (don't use!)
Market Calendar 201210120: http://ul.to/mxq278r8
AOSP 4.1.2 Calendar: http://ul.to/53ih6ior


Differences between the stock 4.1.2 and the market calendar:
The market version syncs back events up to one year, whereas stock calendar syncs back to 3 weeks only (standard android behaviour). To get synced one year when you had stock calendar before: you have to delete the data in -> settings -> apps for "Calendar" and "Calendar Provider" and sync again manually after that.

IMPORTANT NOTE:
If you have updated the calendar via market before, you have to uninstall this update before flashing, otherwise you will see nothing. Android prefers the .apk in /data/app over any system-apk in /system/app - that is a pretty normal behaviour.

Enjoy!

Additional Information:

Just a note as some people are unsure about GApps and CM10/AOKP. This is only important for people who like to know deeper. If you flash via CWM or are on Stock ROM, you don't have to worry about this:
In every official GApps (even the newest ones) are the old sync adapters from ICS which work with CM10 calendar (and have dark colors).
The market calendar and the stock-JB-calendar have its own sync adapter included, so you should delete GoogleCalendarSyncAdapter.apk too, when you delete (CM10-) Calendar.apk
NEVER delete calenderprovider.apk, account information and the data is stored in there!
My modded calendar has an update script which cares for either situation, so that it can be used in CM10 and/or StockROMs.
Besides: Paranoid Android users don't need the modded calendar, as you may use tablet UI in market calendar for sure.

If you like to mod yourself, here are instructions for code changes:
http://forum.xda-developers.com/show...8&postcount=80

IMPORTANT NOTE FOR ROM-COOKERS:
Surely you may include this mod in your ROMs if you like it. I got a few PNs the last days but wasn't online here, sorry for that.
I got so much from xda and from other (real) developers, that it makes me happy if you consider this mod useful!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-10-18-00-12-54.jpg
Views:	12614
Size:	26.0 KB
ID:	1409922  
Attached Files
File Type: zip GoogleCalTextmod_MARKET_201212060-CWM.zip - [Click for QR Code] (1.34 MB, 1230 views)
File Type: zip GoogleCalTextmod_MARKET_201305280-CWM.zip - [Click for QR Code] (1.59 MB, 714 views)
The Following 50 Users Say Thank You to shaftenberg For This Useful Post: [ Click to Expand ]
 
shaftenberg
Old
#2  
shaftenberg's Avatar
Senior Member - OP
Thanks Meter 662
Posts: 641
Join Date: Jul 2010
Location: Cologne
Added CWM flashable zip, should be easier for all of you.
Works on every JB-ROM, odexed and deodexed (AOSP, CM10...)

Please do a Nandroid before, just in case...!
The Following User Says Thank You to shaftenberg For This Useful Post: [ Click to Expand ]
 
hitziflitzi
Old
#3  
Member
Thanks Meter 0
Posts: 43
Join Date: Jul 2010
Thank you for this mod. I like it. But can you please do this with the calendar from Android 4.1.2. or tell me how I can do it by myself. I don't know if there is something new in this version of the calendar but it got a new version number so maybe some Bugfixes.
 
shaftenberg
Old
(Last edited by shaftenberg; 17th October 2012 at 11:48 PM.)
#4  
shaftenberg's Avatar
Senior Member - OP
Thanks Meter 662
Posts: 641
Join Date: Jul 2010
Location: Cologne
According to the official Google changelog there is only a widget background change in 4.1.2, otherwise it's the same as 4.1.1

You have to modify "integers.xml" for the text size labels and "bools.xml" for general work of the new layout (in /res/values)
In addition, some things are hardcoded in /smali/com/android/calendar/month/MonthWeekEventsView.smali (text size of event time and the color squares)

In summary there's no real difference between those calendars. If I'm on 4.1.2 I will change this and update this post, in the meantime you can use the 4.1.1 with no loss of function.

[edit]
New 4.1.2 is online
The Following 3 Users Say Thank You to shaftenberg For This Useful Post: [ Click to Expand ]
 
xnmb
Old
#5  
Member
Thanks Meter 2
Posts: 38
Join Date: Jan 2005
I flashed this on top of the 4.1.2 Calendar update published on Google Play but did not work.

I then restored a 4.1.1 Calendar backup from Titanium then reflashed the zip but still didn't work.

I then uninstalled the 4.1.2.Calendar update directly from Google Play (not from Apps or Titanium Backup) and then it worked.

FYI.
The Following User Says Thank You to xnmb For This Useful Post: [ Click to Expand ]
 
shaftenberg
Old
#6  
shaftenberg's Avatar
Senior Member - OP
Thanks Meter 662
Posts: 641
Join Date: Jul 2010
Location: Cologne
I will update this thread in a few hours, am on mobile now.
New market calendar is already modded. If you can't wait get it here:
http://www.android-hilfe.de/themes-f...at-update.html
The Following User Says Thank You to shaftenberg For This Useful Post: [ Click to Expand ]
 
impu153
Old
#7  
impu153's Avatar
Senior Member
Thanks Meter 57
Posts: 422
Join Date: Mar 2012
Location: Istanbul
Nexus 7 and Galaxy Nexus have same screen sizes? There's a 2.35 inch difference -_-
Philips 639 -> Siemens S65 -> Nokia 6131 -> Samsung J700 -> Nokia N96 -> Nokia 6303 -> Nokia 5235 -> Samsung Corby -> Apple iPhone 4 -> Samsung Galaxy S2 -> Samsung Galaxy Nexus
ROM: Gummy ( ͡ ͜ʖ ͡ )
Kernel: Mpokang Kernel
The Following User Says Thank You to impu153 For This Useful Post: [ Click to Expand ]
 
NORCALkID
Old
#8  
NORCALkID's Avatar
Senior Member
Thanks Meter 241
Posts: 821
Join Date: Jun 2011
Quote:
Originally Posted by impu153 View Post
Nexus 7 and Galaxy Nexus have same screen sizes? There's a 2.35 inch difference -_-
Think they meant screen resolution.

Sent from my Galaxy Nexus using xda premium
The Following User Says Thank You to NORCALkID For This Useful Post: [ Click to Expand ]
 
shaftenberg
Old
#9  
shaftenberg's Avatar
Senior Member - OP
Thanks Meter 662
Posts: 641
Join Date: Jul 2010
Location: Cologne
Quote:
Originally Posted by impu153 View Post
Nexus 7 and Galaxy Nexus have same screen sizes? There's a 2.35 inch difference -_-
OMG, sorry for not being a native english speaker.
Instead of just trolling me you could've pointed me into the right direction, now I have to use a dictionary

But I'll never gonna give you up, never gonna let you down...

Quote:
Originally Posted by xnmb View Post
I flashed this on top of the 4.1.2 Calendar update published on Google Play but did not work.
Thanks for this note. This is a normal behaviour in Android, I put an explanation in the first post.

Updated the opening post with the new market calendar!
Read the change between stock 4.1.2 and market version there.
The Following User Says Thank You to shaftenberg For This Useful Post: [ Click to Expand ]
 
seemeys
Old
#10  
seemeys's Avatar
Junior Member
Thanks Meter 2
Posts: 12
Join Date: Sep 2012
Thank you for this mod

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes