2012-07-11, 19:01
UPDATED:
I have started as a vacation project to make new app widget for the official xbmc-remote application.
Remote Widget is based on the apps remote with no media buttons. It takes 3*4 space in the home screen of the device.
Now Playing Widget is has previous, next, stop, pause/play buttons and also buttons to launch tv show, movie and music librarys from the application.
Both widgets seems to now work as planned.
Roadmap:
- both widgets need definetly better graphics, maybe some volunteers?
- Now playing widget needs to test thoroughly that it doesnt drain unnecessary power via polling.
- Different media types works funnily in Now Playing. For example movies genre is in the artist field. This is caused by the original application and is easily fixed.
- Merge to official branch
- Error handling logic
- Fix NowPlayingPollerThread. The current implementation from the official branch doesnt seem to handle connection errors right
This never triggers.
Code can be found in GitHub:
https://github.com/hjhamala/android-xbmcremote
APK for the interested (both widgets) can be downloaded from: https://docs.google.com/open?id=0B00mzdT...jkzZzVuYXc
Upgrading the Google Play version is not possible because signing key is different so uninstall of official version must be done first.
This is my first venture to the android development so please be gentle to me
I have started as a vacation project to make new app widget for the official xbmc-remote application.
Remote Widget is based on the apps remote with no media buttons. It takes 3*4 space in the home screen of the device.
Now Playing Widget is has previous, next, stop, pause/play buttons and also buttons to launch tv show, movie and music librarys from the application.
Both widgets seems to now work as planned.
Roadmap:
- both widgets need definetly better graphics, maybe some volunteers?
- Now playing widget needs to test thoroughly that it doesnt drain unnecessary power via polling.
- Different media types works funnily in Now Playing. For example movies genre is in the artist field. This is caused by the original application and is easily fixed.
- Merge to official branch
- Error handling logic
- Fix NowPlayingPollerThread. The current implementation from the official branch doesnt seem to handle connection errors right
Code:
try{
currPlaying = control.getCurrentlyPlaying(mManagerStub);
} catch(Exception e) {
sendEmptyMessage(MESSAGE_CONNECTION_ERROR);
return;
}
Code can be found in GitHub:
https://github.com/hjhamala/android-xbmcremote
APK for the interested (both widgets) can be downloaded from: https://docs.google.com/open?id=0B00mzdT...jkzZzVuYXc
Upgrading the Google Play version is not possible because signing key is different so uninstall of official version must be done first.
This is my first venture to the android development so please be gentle to me