[Android] Android remote (3 Viewers)

kroko

Portal Pro
February 4, 2007
428
420
55
Itzehoe
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
 

Attachments

  • setup1.jpg
    setup1.jpg
    40.3 KB
  • picture.jpg
    picture.jpg
    145.3 KB
  • nowplayingList.jpg
    nowplayingList.jpg
    70.4 KB
  • splashupdate01.jpg
    splashupdate01.jpg
    92.5 KB
  • pictures_menu.jpg
    pictures_menu.jpg
    33.5 KB
  • music.jpg
    music.jpg
    38.1 KB
  • remote3.jpg
    remote3.jpg
    110.1 KB
  • main_menu.jpg
    main_menu.jpg
    71.6 KB
  • video.jpg
    video.jpg
    50.8 KB
  • video2.jpg
    video2.jpg
    49.4 KB
  • setup2.jpg
    setup2.jpg
    53 KB
  • album.jpg
    album.jpg
    43.8 KB
  • artist.jpg
    artist.jpg
    34.3 KB
  • song.jpg
    song.jpg
    48 KB
  • main.jpg
    main.jpg
    26.3 KB
  • remote.jpg
    remote.jpg
    35.9 KB
  • folder.jpg
    folder.jpg
    24.9 KB
  • nowplaying.jpg
    nowplaying.jpg
    44.9 KB
  • settings.jpg
    settings.jpg
    24.8 KB
  • settings2.jpg
    settings2.jpg
    32.7 KB
  • settings3.jpg
    settings3.jpg
    28 KB
  • skins.jpg
    skins.jpg
    41.3 KB
  • MediaPortalRemote.png
    MediaPortalRemote.png
    597 bytes

Spragleknas

Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Re: [Plugin] Android remote

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

    codemann

    Portal Pro
    August 1, 2006
    60
    1
    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
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    39
    Austria
    Home Country
    Austria Austria
    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
     

    oddfella

    Portal Member
    January 2, 2009
    7
    1
    Skänninge
    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.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    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.
     

    kroko

    Portal Pro
    February 4, 2007
    428
    420
    55
    Itzehoe
    Home Country
    Germany Germany
    AW: [Plugin] Android remote

    Hi kiwijunglist,

    as I wrote

    This plugin is in an early stage

    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.
     

    Users who are viewing this thread

    Top Bottom