Esato

Forum > Sony Ericsson / Sony > Tips and tricks > How to: A guide to stream mp3 via bluetooth to your mobile

Author How to: A guide to stream mp3 via bluetooth to your mobile
ka0n
K750
Joined: Mar 24, 2007
Posts: 1
PM
Posted: 2007-03-25 14:14
Reply with quoteEdit/Delete This PostPrint this post
Helpful link: http://users.skynet.be/yozy/tutorials/se/k750/k750-1.htm

Requirements:

- Having an SE mobile phone (Duh!)
- Make your mobile connect to your pc through the SE Device explorer(k750, w800) via bluetooth or serial cable or through a PAN network (k800 users?, not tested)
- Having a windows platform (sorry linux and mac geeks)
- Having winamp

What does this method achieves:


- No need to be around the pc to start the streaming
- Stream mp3 to your mobile (low bitrate of course and only tested in the k750i, but should work with other SE mobiles)
- Choose the song to be heard after the software has started (BUT you have to stop the current song, connect with sailling clicker and chage it, then go back to the application)
- Choose the bitrate of the transmission


What this methode do NOT achieves:

- Stream high quality mp3 without stuttering
- Change in real time the playlist without having to stop the current song
- See in real time the current song info (tittle, album name, band... )


Disadvantages:
- Even with low bitrates there is always an occasional stuttering (every minute or so, depends on the buffer size), this is probably a hardware problem.
- Sleep mode sometimes stops the streaming

Okay so after reading all this stuff and you still want to go on, let's start!


Basic concept fo the "hack" :

Create a virtual radio stream using SHOUTcast to stream your winamp playlist to your mobile, using radiobee to receive it through the SE mobile explorer.

Step 1 - Create and configure your radio stream with SHOUTcast

Download the server for SHOUTcast : http://www.shoutcast.com/down[....]outcast-dnas-1-9-8-windows.exe
Download the plugin for winamp http://www.shoutcast.com/down[....]houtcast-dsp-1-9-0-windows.exe


Install both and go to the server folder and open the sc_serv.ini

Change MaxUser to 5
Change the password to what ever you may like
Change SrcIP to 127.0.0.1 (only for local access)

Save the file and restart the server

Open winamp
Go to option, preferences
On the left, Plugin, DSP/Effects, double click in the SHOUTcast plugin

Click in output tab

Check connect at startup
Adress: localhost
Port:8000
Encoder 1

Encoder tab

Here you can do some experiments on your on, changing it to a better or worse wuality. To start lets choose 48kbps 44.1000 Mono

Go back to output tab and click connect, the you should see the timer going on

Now start to play something in winamp and you should see the bit count going up, leave it like that. You should see some errors about yp.shoutcast.com, just ignore it.

Step 2 - Install and configure Radiobee
Download radiobee from http://www.radiobee.com
Install it through the SE device explorer
Open it through the device explorer
Add a new stream
Adress:127.0.0.1:8000

Now click to start the stream, it should connect to your computer and start to stream it. In radiobee you can go to settings and change the the chunck and buffer size to optimize it.
Everything should be working now. It should take sometime to start (10-15 seconds) then you should be able to listen to it.

Step 3 - Creating the HID profile to start everythig through the mobile

Get the desktop.hid and list.bat from the helpful link on the begining of this post, open it with the default hid editor from SE. Select any button fo your choice to L Alt + L Ctrl + 1.
Run the list.bat and look for radiobee, write down the ID and entrypoint.

Now create a shortcut on the desktop to the ejava.exe inside the SE SDK (normally in C:/SonyEricsson/JavaME_SDK_CLDC/OnDeviceDebugbin) and modify the shortcut target to "C:SonyEricsson/JavaME_SDK_CLDC/OnDeviceDebug/bin/ejava.exe start ID entrypoint s" don't forget the ending s for the serial network
and the key combination to ALT + CTRL + 1

Now send the bluetooth profile to the phone (right click send to: bluetooth devices) then the phone will ask to install it for you.
Now you can go to entertainment (in your mobile) and select your new bluetooth profile. Then you will connect to your pc and now you press the key you choose before on the HID editor to start the radiobee application. Choose the stream you added before and the tunes should start playin'!

Step 4 - Opitional step - Change song and view song details

Requirements: Having installed and configured Sailling clicker + the winamp plugin (http://www.salling.com/Clicker/windows/scripts.php)

If you are not happy with the acctual song that is playing you can change it or view the name of it BUT you will have to stop the stream on your mobile.
First: Quit the radiobee and go to applications (in your mobile) run the sailling clicker and choose the winamp remote, then you can see the song that is playing right now and the whole playlist. You can control your winamp from there, but it will take a while to change it in your mobile because SHOUTcast buffers the song before broadcasting.
So even after you changed it you will be able to listen to it on your mobile, after a while the changes will take place.

Step 5 - Enjoy your mp3 streaming device!

greetings from germany by ka0n

Please give me some feedback if it also works for you and your mobile!
[ This Message was edited by: ka0n on 2007-03-25 13:15 ]

[ This Message was edited by: ka0n on 2007-03-25 13:19 ]

[ This Message was edited by: ka0n on 2007-03-25 13:21 ]

[ This Message was edited by: ka0n on 2007-03-25 15:19 ]
himlims_nl
T65 blue
Joined: Apr 06, 2004
Posts: > 500
PM
Posted: 2007-03-25 16:10
Reply with quoteEdit/Delete This PostPrint this post
nice contrebution

welcome at esato
[T65/T68/T610/T630/W810/K610/K700/K750/P800/P910/P990/K850] - [ Esato Knowledge database ]
how can i be at your service?
vee-m
K850 Green
Joined: Oct 17, 2006
Posts: 51
From: UK
PM, WWW
Posted: 2007-03-25 23:26
Reply with quoteEdit/Delete This PostPrint this post
Thanks so much for this post! Works great with my W850i!

Regards,
AJ
Heaven
T68 gold
Joined: Dec 03, 2006
Posts: 1
PM
Posted: 2007-08-14 23:15
Reply with quoteEdit/Delete This PostPrint this post
Where do i get the list.bat, the link is broken

[ This Message was edited by: Heaven on 2007-08-14 23:40 ]
fbloise
Nokia 808 PureView
Joined: Dec 14, 2002
Posts: > 500
From: London, UK
PM, WWW
Posted: 2007-09-01 03:19
Reply with quoteEdit/Delete This PostPrint this post
hey, nice trick!!
thanks a lot
"Haters are just confused Admirers" My Website
Foro.DO Facebook Group at http://www.facebook.com/groups/esato/

BBM: 2B5E52DF
Nickp990
P990 no flip
Joined: May 29, 2007
Posts: > 500
PM
Posted: 2007-09-02 02:40
Reply with quoteEdit/Delete This PostPrint this post
thanks for this topic
N N N sorry for my english

Love my p990 and Esato forum!
skystar2
T68 gold
Joined: Sep 13, 2007
Posts: 2
PM
Posted: 2007-09-13 14:49
Reply with quoteEdit/Delete This PostPrint this post
Thank u very much for this great tutorial,

Have a question?

& i am not that expert in mobile software, but i tried it on my P800, when i am trying to download radioBee on my mobile i got this error:

Invalid java version, component is not compatiable with this device

Thanks

Adam
tranced
LG Nexus 4
Joined: Jan 19, 2006
Posts: > 500
From: Santo Domingo, wonDeRland
PM
Posted: 2007-09-13 15:47
Reply with quoteEdit/Delete This PostPrint this post
maybe im mistaken too, but the midp version on the p800 seems to be older(midp 1.0) and the application probably is midp 2.0.

i dont know about symbian phones so someone else might tell what the problem is.
I jay0726 | (+3, 0) | Clara, Evita, Mimmi & Victoria | My Pics | Do your job!
skystar2
T68 gold
Joined: Sep 13, 2007
Posts: 2
PM
Posted: 2007-09-19 22:16
Reply with quoteEdit/Delete This PostPrint this post
It seems that the P800 doesnt support midp 2.0 that radiobee implement.....so is there any other software similar to radiobee...but support midp 1.0

Thanks

[ This Message was edited by: skystar2 on 2007-09-19 21:16 ]
Access the forum with a mobile phone via esato.mobi