Skip to content

JamendoFM is now featured at Firefox Marketplace

JamendoFM is now on the list of featured music apps at Firefox Marketplace. It’s really nice to see that at least I had some success with this app, after porting it to Tizen, FirefoxOS and Android.

You can download the JamendoFM for

..maybe I could do one more client for Samsung smart tvs.

FirefoxFeatured

Updating JamendoFM for Android

I just got new phone Samsung Galaxy S4 and I noticed that the JamendoFM can not play music on it. I’m sure that it worked with some older Android phones, but it turns out that it doesn’t work with the new ones.

The problem is somehow related to the radiocontrols. Settings the audiosource, and programatically pressing play doesn’t seem to work with Android anynmore so I changed that stuff into Audio object, which seem to be working pretty well with new Androids.

Here’s my changes with the audio:

   /*the old code that doesn't work*/ 
   /*
    var audio = $("#radiocontrols");
    $("#radiosource").attr("src", sourceUrl);
    audio[0].pause();
    audio[0].load();
    audio[0].play();*/
    
    //lets do it with Audio object
    try {
    g_myaudio = new Audio(sourceUrl);
    g_myaudio.id = 'playerMyAdio';
    g_myaudio.play();
   } catch (e) {
    alert('no audio support!');
  } 

I also added the permissions for the lockscreen so the music will continue to play even when the lockscreen is on. The lockscreen permissions can be added though config.xml (phonegap) like this:

   <gap:config-file platform="android" parent="/manifest">
      <uses-permission android:name="android.permission.WAKE_LOCK" />
   </gap:config-file>

Samsung SmartTV and 802.11n

I just bough a new Samsung SmartTV (model UE46F6400). I just spent few hours just to configure the Wlan connection on it correctly. The TV can connect into the WLAN, but it disconnects after about 30 seconds, and then you’ll have to re-enter the password etc. to get it connected again for about 30 seconds, before it disconnects again.

I used the Ethernet connection to update the device firmware, but it did not help. I got multiple hits just by Googling the issue about Samsung SmartTVs that are disconnecting from the network. One blogger seemed to have similar problem as did I: http://blog.alexanderwinkler.se/post/53743100177/samsung-smart-tv-and-cisco-linksys-router However setting the WPA2 down to the WPA also downgrades the wifi n spec into lower bandwidth.  I even tested this with my Cisco Liksys E4500 with both 5Ghz antenna, and 2.4Ghz antenna. The Samsung TV actually can use the WPA2, if the network connection has been set into lower speed.

Here’s what I got working;

  • 5Ghz, Wifi A-connection, not mixed, or N
  • 2.4Ghz, B/G Connection, not mixed, or N

After that I had debugged the working Wifi settings I took a quick look at the manual. It says that Samsung recommends 802.11n, and soon after that it says that it doesn’t work correctly with GreenField mode. Yes, I can verify! it does not work. WTF Samsung!

The thing that troubles me is that the crappy Samsung TV software can not filter the Wlan hotspots that it can not support properly. It’s really frustrating to connect into these networks just to get disconnected after about 30 seconds. I would also like to know why does Samsung recommend using 802.11n in the user manual, while it does not support the specification properly. I bet that the average TV user does not know the difference between 802.11n legacy mode, and the GreenField mode.

jmIRC for Nokia Asha

jmIRC is a IRC client for Nokia Asha phones. The jmIRC was originally developed for j2ME by: Juho Vähä-Herttua, and it was ported to Asha by me. I just tuned some menus a bit, and added support for flick gestures.

You can download the jmIRC from nokia store: http://store.ovi.com/content/439059

The source code can be found from github: https://github.com/Summeli/jmIRC-Asha

Green Screen Magic for Windows Phone

Developer.nokia.com organized another Imaging challenge for developers. This time I decided to play with the chroma key and I created two Green Screen applicatons.   You can find my article from Nokia wiki: Green_Screen_Magic(Chroma_Key)_with_Nokia_Imaging_SDK

Green Screen Helper, an app to help users set up a high quality green screen in preparation for Chroma Key photography. The application uses the chroma key filter in real time to make a selected colour black – enabling the user to see which parts of the screen will not be properly filtered when applying the chroma key filter. This is helpful, since it then becomes easy to see where the editing scene needs to be fixed – by adjusting the lights, or fixing wrinkles. In addition, the hue range sensitivity accepted by the filter can be adjusted: a broader hue range will be more tolerant of poor lighting and wrinkles in the background, but may result in some of the subject also being selected.





The other application is called Green Screen Magic, it’s a simple photo editing app which will replace the green screen area with a background. This app uses the same approach as the previous app to help the user to select the chroma key, and adjust sensitivity. After that it uses the blend functionality to combine two images.