Example of streaming mp3 mediafile from URL with Android MediaPlayer class

Few days ago i tried to make my Android app can play music from URL.

The Android API give to us a very useful class. Here i want show you how to make  the streaming m3 mediaplayer using MediaPlayer class from Android API. This app use Android 2.2.

Below you can see the UI of this app. It’s very simple. Also below you can get the link for downloading source code

Here i show you only Activity file (StreamingMp3Player.java).


Linux Ubuntu 10.04 driver for my Canon IP3600 IJ printer

Let me tell you how i installed Canon Pixma IP3600 printer driver in Ubuntu 10.04 Lucid Lynx and made it works.

Yesterday, i needed to install driver for my IJ printer. I tried to found it in Ubuntu software center, but it was unsuccess.

Next i downloaded the driver from official web site: Debian Linux Printer Driver .In this .tar archive i was found three files:

  • cnijfilter-common_3.00-1_i386.deb – common .deb file. Needs to  … i think … to all Canon printers.
  • cnijfilter-ip3600series_3.00-1_i386.deb – driver for printer with PPD file.
  • cnijfilter-common-3.00-1.tar.gz – source

I tried to install this .deb packages, but it was unsuccess. I’ve got an error depended with libcupsys2 library (in new release this library replaced by libcups2). I changed library libcupsys2 to  libcups2 in packages then rebuild it and install in my OS (Ubuntu 10.04) succesful. I show you how i did this. (more…)