[Q] Help/advice for porting TWclock.apk? I'm stuck.

Search This thread

bdbc

Senior Member
Mar 19, 2011
180
25
So, I've been trying to port the TWclock.apk over to CM7, but have hit a wall. I'm posting to see if anyone has any advice, recommendations, hints, etc as to where this might be going wrong. If anyone wants to just download the apk and work on it themselves that's more than fine, too.

I believe I've eliminated all references to Touchwiz (@Touchwiz). I've dug through all of the smalis and pasted in the new hexes from public.xml. The app's made it a long way, but still has two major FCs: one when trying to add an alarm, and one when trying to add a city (to WorldClock). The logcats are getting harder for me to derive issues/causes from. For a while there all I had to do was search the source for hex exceptions that showed up in the logcats. But that's all been fixed - it's other issues now apparently. Any help is greatly appreciated.

The most recent modified apk from me:
http://dl.dropbox.com/u/30776640/ClockPackageV12.apk

The 'add alarm' FC logcat:
http://pastebin.com/raw.php?i=5hscvfj0

The 'add city' FC logcat:
http://pastebin.com/raw.php?i=BCP4S9ib

I started the logcats while in the app, immediately before pressing the offending button, and stopped the logcat right after hitting 'ok' on the FC.
 

di14

Senior Member
Jan 24, 2012
79
4
Correct me if I'm wrong, but doesn't CM7 have some process that interferes with the Touchwiz widgets? I haven't been able to get any of the TW widgets I've attempted to port working on CM7, they always either FC or turn off my data connection (I have no idea how it managed to do that). Also, I'm sure I didn't make any mistakes in porting the widgets, I've had two of my experienced tech friends help me out with that. PM me if you ever get the widgets working!
 

bdbc

Senior Member
Mar 19, 2011
180
25
Will do, if I get it fully functioning. I've taken a few days off to clear my head, but I'll certainly look at it again. I believe I've gotten around the widget issues, as I saw those exceptions early on but no longer. It's other weird stuff now, like a method not found exception in the add alarm logcat. That's where I'm having the most difficulty right now.

Sent from my SPH-D700 using Tapatalk