Pointui » Home 2 Applets Showcase

[Applet][BETA 3][QVGA / VGA] UIMusic

(123 posts)
  1. Reaper
    Member


    Hi all, this will be second applet.

    The applet is UIMusic, the goal is to control your media player from pointui, so you do not have to switch back to it everytime you want to pause or skip a track. I currently have implemented control for S2P,Core Player and Windows media player. It is currently still in beta stage and there is still a lot to do before i consider it finished (check to-do list if you want to know what). I have tested the applet on the wm6 emulator and my own device (a HTC Wizard running WM6.1) and it appears to be running okay. Still remember this is considered BETA.

    Instructions
    1. Install like any other applet.
    2. Start your music player (currently only S2P,Core Player and Windows media player).
    3. Go back to pointui
    4. If it was not in focus, simply slide to it
    5. You should now be able to control the player your started(either S2P or Core Player)
    6. Clicking the settings icon (the small cog) allows you to select your player, only 2 for now (S2P,Core Player and Windows Media Player).

    To Do
    1.Add support for Nitrogen
    2.Add code to disable some stuff when applet is not in focus (might save some battery)
    3.Continue cleaning up the code
    4.Look into opening player when album art is clicked

    Extra Information
    The buttons will only stay lit up untill you click anywhere else on the screen, this is the way the buttons work in Pointui for now (at least i think it is).

    Play and pause are in fact the same, so clicking play again while a track is playing will pause it. Also clicking pause again while it is paused will start playing the track again. I will look into a better visual solution for this in the future.

    Only S2P has album art and currently playing title,Core Player as far as I know does not make this information available for external programs so I cannot display album art and currently playing title for that one. Currently playing might be implemented for windows media next release.

    Notes
    Hope you enjoy the applet and remember its still beta so some things might not work very well. Just report them, and I'll look into it for the next release. :)

    - Coreplayer must not be in list view for controls to work (thnx Ropeinspector)
    - Tested on Coreplayer version:111 build 1600.
    - If Coreplayer is working for you, can you please post which version you are using, this way I can find out up untill which version my controls work.

    Changelog
    Beta 3
    - Optimized code
    - Refresh button removed, applet automatically detects if player has been shut down or activated when returning to the applet
    - Windows Media Player controls added (thnx to vijay555 over at xda-developers for helping out on the controls)
    - Added battery percentage indictator (not sure if it will stay though)
    - Added VGA support

    Beta 2
    - added forgotten settings_player.jif (oops :P)

    Attachments

    1. UIMusic_beta3.zip (58.9 KB, 10,423 downloads) 12 months old
    2. uimusic.jpg (116.5 KB, 801 downloads) 1 year old
    Posted 1 year ago #
  2. Very nice work Reaper.
    I will test it, for sure.
    Thanks.

    of course, I'll add it where you know.

    Posted 1 year ago #
  3. koenwvdo
    Member

    I was waiting for this one! And I will wait a little longer 'till the VGA is finished. Great work! Thanks!

    Posted 1 year ago #
  4. Reaper
    Member

    Thnx for adding it to the store Montecristoff and glad you will also test :)

    Posted 1 year ago #
  5. Amazing ... thanks so much. You are a genius :P

    Feedback - works with CorePlayer as advertised. I am missing the "settings icon (the small cog)" from the interface. Can't actually see a jif image file for it ...

    Also would love t see Nitrogen added, when you can get around to it. :P

    aussie

    Posted 1 year ago #
  6. lindarne
    Member

    Yes!
    wonderfull idear :-)
    can you add support for nitrogen player also?
    it is my personal favorite.
    thank you very much. and thank you also if you would add nitrogen.

    Posted 1 year ago #
  7. Is there any way to make it open the player from tapping it? Maybe tapping the album art should open S2P (or the player chosen). Having to go to programs to open the player is quite annoying.

    Posted 1 year ago #
  8. shylohmonster
    Member

    Hooray!!! \o/ Hopefully VGA soon

    Posted 1 year ago #
  9. Ropeinspector
    Member

    Great applet! :)

    However, it seems as if the settings button in the uper right corner is missing.
    I can't locate the corresponding .JIF files which are required by the .CS file.
    As a workaround, I'll try to use the refresh button for settings as well in the meantime ;)

    Cheers,
    Mike

    Trying to use access Core Player, I encounter the following issues:
    Sometimes, core player doesn't respond at all. It appears, that the player mustn't show a list when the applet is trying to access it.
    The Back button displays Media Information
    Pause/Play jumps to the next track
    Forward jumps one track back.
    My core player version is 1.3.0 build 6213.

    Kind regards,
    Mike

    Posted 1 year ago #
  10. ezik
    Member

    very nice applet...thanks a lot!!!

    Posted 1 year ago #
  11. Norkoastal
    Member

    Anxiously waiting for VGA and auto launch updates... S2P does have the headphone auto launch function via S2U2, so assigning a hotkey to launch the today screen should quickly toggle back to UImusic.

    Posted 1 year ago #
  12. arnie82
    Member

    Sweet..! Waiting patiently for the WM support. :) Thanx in advance...

    Posted 1 year ago #
  13. Reaper
    Member

    Hi guys,

    I added the settig jif to the zip, please redownload to fix this issue.
    My bad for forgetting to include it :S.
    @ rominspector: My coreplayer version is a bit older then your, i will check to see if i can find out why its causing such weird behaviour by you ..thnx for feedback :)

    Posted 1 year ago #
  14. Hi Reaper, just a few tips which you may be aware of, but if not ...

    You could get the applet to automatically start the selected player using Process.Start().

    Rather than having to manually refresh when you go back to Home, you could do the following:

    void AppGotFocus()
    {
    //do an auto refresh here - will happen each time the user comes back to Home if this applet is showing
    }

    Each time the screen needs to update you are doing a lot of work destroying all controls and recreating/readding them all each time. You could just get the controls setup in the Load() of the applet and change their properties each time a refresh is required - for instance, if the album art has changed then just call albumArt.Surface.LoadFromFile(currentAlbumArt, 89, 89); - it will replace the current image with the new one. Or just call SetText() on the labels to change their text.

    You don't need to setup reg notifications for both reg keys - i.e. at the moment each time a song changes you will do 2 entire reloads because a notification will come through for both keys. Just hook the reg notification up on the song title.

    You can use Activated() and Deactivated() to start/stop the reg notification. This way the applet isn't unnecessarily updating when it's not being shown. So in Activated() you start the reg notification, and in Deactivated() you call s2psongTitleChange.Stop(). Then just make sure on Activated() you also force a refresh just in case something has changed since the applet was last visible, usually I do it like this:


    void Activated()
    {
    //force refresh
    standardScreen();
    //start reg notification back up
    s2psongTitleChange.Start("HKCU\\Software\\A_C\\S2P", "CurrentTitle");
    }

    void Deactivated()
    {
    //stop reg notification
    s2psongTitleChange.Stop();
    }

    Posted 1 year ago #
  15. Reaper
    Member

    Thnx for the tips Joel,

    the 2 reg notifications were needed when testing. The albumart reg seems to update after the one for title. So when swithing on the title change notify the album art would still be the same. And because there might not always be an album art, changing title on album art change might not always work.

    Thnx, did not know about the AppGotFocus, pretty handy indeed.
    Also thnx about the way to refresh the controls, did not try/know that. I was under the impression you had to call control.clear() before any changes would be shown on screen. I also thought there had to be a better way then creating them all and destroying them again.
    Will change this for next version.

    Thnx again, very helpfull :)

    Posted 1 year ago #
  16. michaelp
    Member

    Looking forward to the media player version for VGA. Great Work!

    Posted 1 year ago #
  17. good work Reaper,
    congrats

    Posted 1 year ago #
  18. wolfpack64
    Member

    hey is there any possibility that it might be compatible with the Omnia's touch player in the future?

    Posted 1 year ago #
  19. biohazardousguy
    Member

    Any chance for compatibility with Nitrogen ? It is a great little player, quite low on resource and for this I love it.
    Thanks

    Posted 1 year ago #
  20. juliensp
    Member

    Great apply... but please do the same in vga ... ;-)

    please..... :-D

    Posted 1 year ago #
  21. Jotuns
    Member

    Nice work.
    Tested on Diamond and seems to be working ok. A tap to open S2P would be a very cool addition.

    Well Done

    Posted 1 year ago #
  22. Reaper
    Member

    thnx for all the feedback and encouring statements till now guys. I will look into if it is possible to add Nitrogen. (can't make any promises yet, did not even know the player till now :) )
    Adding the tap to open the player should be possible, will look into as well.
    VGA will definately be supported in the future, I just want to try to get functionality right first, VGA will be quickly added then.

    Posted 1 year ago #
  23. juliensp
    Member

    Great news !!!! I'm impatient !!!!

    Thanks again for your work !

    Posted 1 year ago #
  24. Crazaytalent
    Member

    Thanks for the hard work, energy and effort spent on developing such a great app... also i appreciate the time ur takin in supporting ur user, giving feedback and taking suggestions... its good to hear that u are willing to consider supporting some other ideas... I too am patiently waiting for VVGA suppoort... Im hoping by then youll have found way to address the following issues... support for some other media players like wmp and nitrogen... i like the htc media player, but w/e works for u... i plan on gettin slide 2 play for this if anything... also a way to launch/start the player without having to go hunt it down in programs, to start from there... sound a bit frustating as the home 2 applets should improve ease of use quick acces to a lot of ur commonly used apps...and lastly, although no one has mentioned it, i wonder if its possible to be able to implement a basic stop feature or alternative way to stop player w/o having to slide away to shut down... i like to multi task on my device, and it sounds like anytime im listening to music i wont be able to do anything else like check my messiging oor use other applets w/o shutting my music off? this too can become very frustrating... so hopefully ull consider some of what ive suggested and i cant wait to see what u come up w/ for future releases... thanks again!

    Posted 1 year ago #
  25. Great app, would love support for Pocket Player! :)

    Posted 1 year ago #
  26. stfone
    Member

    Great App Reaper
    As already said, I wish we could one day open player directly from your applet ...
    Could you please also add button to change album (folder)

    Thanx ...

    Posted 1 year ago #
  27. Great app by the looks of it, will use it when you got the VGA version for my HD -and- windows media support :)

    Posted 1 year ago #
  28. wakakaka
    Member

    u made my day =)

    i am sure anxiously looking forward to your final applet...not the beta one, but a well finished player applet~

    great thanks!!!

    Posted 1 year ago #
  29. unga89
    Member

    +1 for nitrogen!
    great applet anyway, works perfect!

    Posted 1 year ago #
  30. +1 for nitrogen too.

    Posted 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.