-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving the Eclipse project into a directory #3
base: master
Are you sure you want to change the base?
Conversation
Hi, Thanks for this pull request. Generally I think it's a good idea to separate code. In your commit 37b386a, what you did was move everything to a subfolder named "XBMC Remote", right? I don't see any further separation, there still seems to be one single project (correct me if I'm wrong). Could you explain to me how you would separate the code? Also, please avoid spaces in folders. |
avoid spaces .. DONE I already have a functioning work in progress code here: https://github.com/srdjanrosic/android-xbmcremote/tree/refactoring-wip There are a couple of things that don't look pretty, there are a couple of things that don't look pretty, but I think there are some solutions to those. A major problem is the HostProvider, as far as I could see there's no clean way to share host providers unless you're willing to redirect users to download a HostProvider apk from the market separately ... if not, then you got to go with two, which means every single thing that touches these has to somehow be factored out. TODO: (could be filed as issues maybe)
Anyway that was a list of what I saw needing to be done. I'll try to continue to merge and rebase until you decide whether you want to go down this road. Thanks. |
Okay, so a few questions from my side:
About your remarks:
|
Oh, one thing I forgot. How about this structure:
That was I meant by "no spaces" actually :) |
Hi,
I want to factor out the simple remote / event client code into it's own app that would be smaller, simpler, and easier to build and maintain (think of XBMC Remote lite).
Standard android way of doing that is to create 3 separate android "projects", one that would be an android library and would contain shared resources and base class sources, and another two, one for each app => hence the move of the app into a directory, so that other xbmc remote apps that share resources and sources could also be tracked within the same repository (ie. there might be a dedicated tablet app in the future).
Thanks,
-s