I have to develop an application for both Android phones as tablets. The application logic is the same, while the UI is completely different. I'm wondering how I should deal with this: make 1 big app for both, or an app for phone and an app for tablet (and then upload the 2 apk's as 1 app in the market).
When I make 1 application, I should check if it's phone or tablet in code to redirect to the appropriate activity. Also I should include compatibility code to make it compile for phones. If I would make 2 apps, I don't need that check and I also don't need to include the compatibility code, so the app would be a lot smaller. But in that case I'll have to copy/paste the application logic constantly from one project to the other one while development.
So that's why I'm wondering, what's the best practice in this case? I've been searching for information about this, but I only find articles about how to manage the different xml layouts, or articles with not so much information in it.