Porting a 100 Activities app to Fragments without dying

I have developed a huge app for a bank. This app gives the user the ability to perform a big bunch of operations through the phone (national & international transfers, securities, stock market values, alerts, deposits, card changes, card activations, checks, etc, etc).

All the app is running Android native code, and each screen is an Activity.

Now we are moving to Fragments... I have the way to go based on these tutorials this and this... I have even optimized their process.

But still, based on their suggestions I will have to create about 100 new Fragment classes; switch the code I had on per-screen Activities and put it inside those new per-screen Fragment classes; update about 100 layouts; and finally update the way screens trigger new screens (use of FragmentManager instead of Intents).

Maybe not difficult tasks, but tedious.

My question is, anyone know a fast way to port a 100 Activities app to Fragments faster than the one suggested on mentioned tutorials?

Thx

18
задан Programmer Bruce 29 May 2011 в 07:26
поделиться