Wednesday 11 March 2015

Streaming Songs to PC Over Bluetooth

 Download and install Microsoft Windows Mobile Device Center 6.1 on your computer. Users who are on the 64-bit operating system should download the appropriate version.

 Now turn on Bluetooth on both the devices – the computer and the phone – andmake both of them visible.


 Right-click on the Bluetooth icon in the Windows system tray and select the optionAdd a device. Now search for your mobile you want to stream the music from and add it. When you add your mobile, Windows will install all the necessary peripheral drivers for your phone

After both the phone and your computer are paired with each other, right-click again on the Bluetooth icon in the system tray and select Show Bluetooth Devices this time.


On the Devices and Printers window, right-click on your paired phone and click on theBluetooth Operations. Windows will now scan your phone for the types of services available. If A2DP support is available on the phone, it will show an option to Play Music under Audio and Video operation section. Click on the link to activate the control.


After the service is connected, a small player control will appear on your taskbar. If it does not appear automatically, right-click on the taskbar and select Bluetooth Remote Controlunder the Toolbars menu.


 That’s all. All the music you play on your phone, you can now listen to it on your computer’s speaker as long as both the devices are connected to each other. You can manage the phone’s music player using the remote control on the taskbar. When you want to stop playing, just disconnect Bluetooth on either of the devices.



  • So next time you want to hear songs on your mobile phone using your laptop’s speaker, no need to look for PC connectivity wires. Just switch on the Bluetooth and stream the songs.

Monday 9 March 2015

Get Current Location in Android

This android tutorial is to help learn location based service in android platform. Knowing the current location in an android mobile will pave the way for developing many innovative Android apps to solve peoples daily problem. For developing location aware application in android, it needs location providers. There are two types of location providers,
  1. GPS Location Provider
  2. Network Location Provider
Any one of the above providers is enough to get current location of the user or user’s device. But, it is recommended to use both providers as they both have different advantages. Because, GPS provider will take time to get location at indoor area. And, the Network Location Provider will not get location when the network connectivity is poor.

Steps to get location in Android

  1. Provide permissions in manifest file for receiving location update
  2. Create LocationManager instance as reference to the location service
  3. Request location from LocationManager
  4. Receive location update from LocationListener on change of location