Is one Android activity enough with phonegap

35 Views Asked by At

I just started developing mobile app with phonegap. I want to check the best practice in maintaining screens. Is it possible to have only one activity and navigating screens with html's. If so is it correct practice?

Besides, when we need to maintain activities and corresponding html's on t top of them.

1

There are 1 best solutions below

0
On BEST ANSWER

navigating screens with html's means using WebView and act like a browser?

If the project is small and you are the only developer, Yes. Can have only one activity. and navigate through various fragments is possible. but not very recommend. One of the reasons is, with only one activity make it difficult for team work.