1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Android] Android remote

Discussion in 'WebService and Mobile Access' started by kroko, November 24, 2010.

  1. kroko

    kroko Portal Pro

    Joined:
    February 4, 2007
    Messages:
    428
    Likes Received:
    210
    Occupation:
    plc programmer
    Location:
    Itzehoe
    Ratings:
    +211 / 0
    Home Country:
    Germany Germany
    Hi folks,

    this is my my new Anroid project. Its an remote for the MediaPortal.

    following additional help from

    oddfella (dark skin)
    Thundercats (blue3 skin)
    rolls1400 (coding)
    BLiTZKRiEG (install doc)


    Before posting a bug / question make sure to have the lastest version installed !


    Server Installer:
    Android Remote - MEDIAPORTAL

    Actual APK file (05.02.2011):
    https://mp-plugins.svn.sourceforge....s/AndroidRemote/Release/MediaPortalRemote.zip

    Install HowTo
    https://mp-plugins.svn.sourceforge....roidRemote/Release/Install Android Remote.doc

    Using the remote
    https://mp-plugins.svn.sourceforge....ndroidRemote/Release/Using Android Remote.doc

    Server Documentation:
    https://mp-plugins.svn.sourceforge....ote/Release/Android Server communication.docx

    Source code:
    https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/AndroidRemote


    So far following parts are working:

    Server
    ------
    Easy web server implemention
    uses POST for commands (remote,playlist control)
    uses XML via GET to send directory structures
    uses GET to send files
    doing thumbs for pictures and recscale images
    reply HEAD requests

    General
    -------
    Control up to 3 Mediaportal
    Wake On Lan from the remote
    switch off / hibernate etc. your MP from the remote
    vibration feedback
    show what actual playing on the main screen and pause / skip control
    uses VLC to stream to the phone
    send stack trace if app crashes

    Pictures section
    ----------------
    browse folders (MP shares)
    display thumbs (threaded)
    save to sd
    open browser
    send picture via MMS
    slide show
    random slide show

    in fullscreen you can swipe left right in the directory
    touch long for options

    Music section
    -------------
    browse folders (MP shares)
    browse MP database for artist,albums,songs
    add title to playlist
    play files locally
    view playlist
    remove items from playlist
    clear playlist
    save files from MP to phone
    fast scroll bars
    add whole folder (music dir) to playlist

    Video section
    -------------
    browse folders (MP shares)
    play files locally or in the MP

    NowPlaying
    ----------
    show actual title
    show actual time
    show actual cover
    clear play list
    delete one item

    Remote
    ------
    most functions as on my remote
    set the power mode for power control
    short push is sending WakeOnLan
    long push will exti etc. the MP (see power mode)
    volume buttons will do vol +/- of the mp
    menu opens the keyboard

    Main issues
    ------------
    switch WIFI on (just msg now)
    save files from Android to MP
    progress task for downloads
    NowPlaying list show actual / count of items on top bar
    add gfx

    Its fun to do some coding on an Android.

    So far
    Mark Koenig (kroko)

    20.12.2010 Initial release

    23.12.2010 Version 0.11
    - fix UTF 8 support ( & ö ä ...)
    - fast scroll bars
    - fix setup bug
    - disable sleep mode in slide show
    - disable keylock
    - cache thumbs on server side

    21.01.2011 Version 0.2
    -add video section
    -stream to phone (via VLC, if installed on PC)
    -a lot of bug fixed
    -more remote
    -fixed WakeOnLan
    -fixed powercontrol / keyboard lock
    -threaded caching pictures
    -speed up (single core still a bit slow..)
    -some other small changes



    27.01.2011 Version 0.2.3
    - fix UTF 8 support AGAIN , very nasty
    - handly huge databases
    - vlc optins in external file

    28.01.2011 Verison 0.2.4
    - workarround for Android bug fastscroll
    - fix small bug in picture caching

    04.02.2011
    - dynamic ip possible (tested on xp, make sure add port to firewall settings)
    - playlist support (not 100% yet)
    - skin support prepared (as soon I receive the gfx it will work)
    - add a main screen (layout )for tabs, maybe someone can give a feedback

    What's next ?
    - better keyboard
    - some skins
     

    Attached Files:

    • setup1.jpg
      setup1.jpg
      File size:
      40.3 KB
      Uploaded:
      November 24, 2010
      Views:
      1,784
    • picture.jpg
      picture.jpg
      File size:
      145.3 KB
      Uploaded:
      November 24, 2010
      Views:
      1,284
    • nowplayingList.jpg
      nowplayingList.jpg
      File size:
      70.4 KB
      Uploaded:
      November 25, 2010
      Views:
      1,675
    • splashupdate01.jpg
      splashupdate01.jpg
      File size:
      92.5 KB
      Uploaded:
      December 9, 2010
      Views:
      1,116
    • pictures_menu.jpg
      pictures_menu.jpg
      File size:
      33.5 KB
      Uploaded:
      December 9, 2010
      Views:
      1,077
    • music.jpg
      music.jpg
      File size:
      38.1 KB
      Uploaded:
      December 9, 2010
      Views:
      1,217
    • remote3.jpg
      remote3.jpg
      File size:
      110.1 KB
      Uploaded:
      January 21, 2011
      Views:
      857
    • main_menu.jpg
      main_menu.jpg
      File size:
      71.6 KB
      Uploaded:
      January 21, 2011
      Views:
      769
    • video.jpg
      video.jpg
      File size:
      50.8 KB
      Uploaded:
      January 21, 2011
      Views:
      1,155
    • video2.jpg
      video2.jpg
      File size:
      49.4 KB
      Uploaded:
      January 21, 2011
      Views:
      736
    • setup2.jpg
      setup2.jpg
      File size:
      53 KB
      Uploaded:
      January 25, 2011
      Views:
      768
    • album.jpg
      album.jpg
      File size:
      43.8 KB
      Uploaded:
      January 27, 2011
      Views:
      731
    • artist.jpg
      artist.jpg
      File size:
      34.3 KB
      Uploaded:
      January 27, 2011
      Views:
      652
    • song.jpg
      song.jpg
      File size:
      48 KB
      Uploaded:
      January 27, 2011
      Views:
      643
    • main.jpg
      main.jpg
      File size:
      26.3 KB
      Uploaded:
      January 27, 2011
      Views:
      660
    • remote.jpg
      remote.jpg
      File size:
      35.9 KB
      Uploaded:
      January 27, 2011
      Views:
      1,025
    • folder.jpg
      folder.jpg
      File size:
      24.9 KB
      Uploaded:
      January 27, 2011
      Views:
      605
    • nowplaying.jpg
      nowplaying.jpg
      File size:
      44.9 KB
      Uploaded:
      January 27, 2011
      Views:
      695
    • settings.jpg
      settings.jpg
      File size:
      24.8 KB
      Uploaded:
      January 31, 2011
      Views:
      558
    • settings2.jpg
      settings2.jpg
      File size:
      32.7 KB
      Uploaded:
      January 31, 2011
      Views:
      555
    • settings3.jpg
      settings3.jpg
      File size:
      28 KB
      Uploaded:
      January 31, 2011
      Views:
      529
    • skins.jpg
      skins.jpg
      File size:
      41.3 KB
      Uploaded:
      January 31, 2011
      Views:
      581
    • MediaPortalRemote.png
      MediaPortalRemote.png
      File size:
      597 bytes
      Uploaded:
      February 7, 2011
      Views:
      628
    • Like Like x 44
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,462
    Likes Received:
    1,379
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,881 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Re: [Plugin] Android remote

    NICE!
    I'll help with... eh.... morale support?
    Sorry - can't be of much help :(
    Btw, cute kid - yours?
     
  4. codemann

    codemann Portal Pro

    Joined:
    August 1, 2006
    Messages:
    60
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Belgium Belgium
    Re: [Plugin] Android remote

    Finally someone picks it up... I'm no coder or graphic artist, but I can test :D
     
  5. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Re: [Plugin] Android remote

    Hi there,

    can you pm me the source (or the location of the source)? Didn't know you were also working on such a thing, we should definately coordinate better... ;)

    :D
     
  6. canarygsr

    canarygsr Portal Pro

    Joined:
    October 23, 2007
    Messages:
    105
    Likes Received:
    2
    Location:
    Melbourne
    Ratings:
    +2 / 0
    Home Country:
    Re: [Plugin] Android remote

    just noticed android and media portal man look related in your first screen dump.
    I cant help either :(
     
  7. oddfella

    oddfella Portal Member

    Joined:
    January 2, 2009
    Messages:
    7
    Likes Received:
    1
    Occupation:
    Studying
    Location:
    Skänninge
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
    Re: [Plugin] Android remote

    Looks great! I can help with graphics. I would also like to request support for devices with smaller screen resolution, because i own the HTC Wildfire, which has a resolution of only 240x320 px.
     
  8. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,462
    Likes Received:
    1,379
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,881 / 12
    Home Country:
    Norway Norway
    Show System Specs
  9. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,720
    Likes Received:
    1,412
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,836 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Re: [Plugin] Android remote

    Looks awesome, but I think you are totally going about Pictures/Music/Videos implementation the wrong way. There are already a lot of android remote apps that let you browse media on the PC which makes your application kinda pointless. It would be different if it used the mediaportal database. If you don't use the database then it is the same as all the other PC remote applications and file browsers for android that are already fully developed.
     
  10. kroko

    kroko Portal Pro

    Joined:
    February 4, 2007
    Messages:
    428
    Likes Received:
    210
    Occupation:
    plc programmer
    Location:
    Itzehoe
    Ratings:
    +211 / 0
    Home Country:
    Germany Germany
    AW: [Plugin] Android remote

    Hi kiwijunglist,

    as I wrote

    but of course I'm happy for all comments. Looking on my webservice this are my plans:

    Remote:
    Control the MP via Android (mostly working)
    Pictures:
    browse and view pictures. I do have about 800 directories with about 12000 pictures. There is not really a good way how to display these. I know there are time lined solution out there. But I like this better. So I will keep the directory structure and I will implenent a slideshow plus possible a transfer to the SD card. I dont know if someone want to see the EXIF information of the picture. This could be displayed too.
    Musik:
    Same here for me. All albums are in seperate directories. I do have A LOT. Sitting on my couch I want to hear one particula album. Also I want to transfer MP3s to go.
    Video:
    Hm ?? streaming to the Andreoid would be possible, but for what ? Al least a controller to browse and start playing movies on my TV. Maybe grab the information from the database.

    Right now I working on the "now playing" part. I updated some screenshots. Also I start to write a small documention for my webservice. Still there is a lot work out there. It will take some time also to include different sizes and languages and so on... It will get better over the time...

    So far from here.
     
  11. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Re: AW: [Plugin] Android remote

    Hehe good luck with that ;)
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Like Us On Facebook

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!