[How To] port HoneyComb Lockscreen Digital Clock to any Android Phone

Technology     27 April 2011     0 Comments

Have you seen the HoneyComb LockScreen Digital Clock? Did you like it and its 2 colors and wish the same for your smartphone as well. But bad your device does not have it. But good, that you can port it now 🙂 .

More Apps To Try,
* Show Circular Battery Indicator
* Track Number of Missed Calls

Why HoneyComb Lockscreen Digital Clock ?

If you might not have seen this digital clock, then you might be thinking that why you need this? Actually this Digital Clock uses 2 colors and looks quite appealing. S simple TTF file is only able to display the digits in the clock with only one color but the Honeycomb Clock displays the digits in 2 colors.
Honeycomb Digital Clock ported on Android phones

Porting Android 3.0 Honeycomb Lockscreen Digital Clock Instructions

1. Download the Source File Here [Link]. (Comment here and we will mail you the source code if you are unable to download).

2. Download APK Manager for [Windows] , [Linux]

3. Decompile the framework-res.apk with the downloaded APK Manager and make the changes as given in Source Code that you downloaded in Step 1. You need to add an ID by the name “timeDisplayForeground” in file ids.xml and make the corresponding additions in the file public.xml too.

4. Recompile the framework-res.apk with APK Manager.

5. Open public.xml file in framework-res.apk

6. In Source code that you downloaded in Step 1, go to framework and open DigitalClock.smali with any Text Editor.

7. Search for “onFinishInflate” and change the 2 ID references to “timeDisplay” and “timeDisplayForeground” reference codes present in public.xml respectively.

8. Open DigitalClock$AmPm.smali and change the resource id under .line 103 to “am_pm” reference code present in public.xml

9. Replace the files (edited-Non edited) and copy to the decompiled framework. You need to replace the files in com/android/internal/widget/

10. Recompile framework-res.apk again with APK Manager.

11. Copy both the framework files to the folder framework in your device.

12. Copy the font files to your device’s fonts folder.

13. Reboot your phone.

14. You can see Digital Clock on your phone now.




- who has written 438 posts on TechOfWeb.

Atul is a professional blogger and techie who writes at TechOfWeb.

Subscribe to TechOfWeb feed via RSS || EMAIL || Twitter || Facebook to get instant latest tech updates.

Share your view

Post a comment

Subscribe Us - Email | LinkedIn

We are on Facebook
Deal Of The Day
Related Articles
  • How to find Wifi Password on Android
  • [How To] Root T-Mobile G2X with SuperOneClick
  • [How To] Root Asus Eee Pad Transformer
  • Top 10 Android Apps for Developers
  • Android GPS not working anymore – How to fix
  • How to Become an Animator – Step by Step Guidelines
  • 7 Ways Technology is Improving Education
  • Translate your own

    © 2009-2018 TechOfWeb.