Planet maemo

Robin Burchell

profiling is not understanding

2014-09-12 18:06 UTC  by  Robin Burchell
0
0
When software goes slow, generally, the first reaction is to profile. This might be done through system tools (like Instruments on OS X, perf/valgrind/etc on Linux, VTune, etc). This is fine and good, but just because you have the output of a tool does not necessarily correlate to understanding what is going on.
Click to read 1622 more words
Categories: C++
madman2k

Streaming the Screen on Android

2014-09-11 22:37 UTC  by  madman2k
0
0

In this post I want to discuss way of getting the screen content of your Android device to the TV or monitor. If you wonder why one might want to do such a thing – just think about playing some Android games with a bluetooth gamepad or watching a movie where your PC is not available.

Specifically I want to introduce SlimPort. SlimPort is a feature of Nexus devices which is unfortunately not covered much in reviews.
Basically SlimPort is DisplayPort over the Micro-USB connection of your device allowing you to mirror its display.

But the future has arrived: we got Miracast!

One might wonder why one should go through the hassle of using a old-school HDMI cable.
You can get a Chromecast Stick for 35$ and nowadays it also supports Miracast so you can simply stream the images over WiFi.

Well Miracast is all nice if all you need to do is to put up some slides without carrying all possible adapters with you. But as soon as you try to stream a movie or a game you will reach its limitations.

Remember that Miracast works by grabbing the Framebuffer and compressing it with H.264. While encoding happens in hardware it still takes some time and it inevitably introduces compression artifacts. This means:

  • in games you get a noticeable lag – especially in FullHD
  • in movies you get noticeable artifacts – especially in FullHD
  • in both cases your battery will get drained for heavy WiFi and Encoder usage
Going old-school

Going with the old-school cable on the other hand you get HDMI 1.4 transfer rates for up to 1080p at 60Hz while saving the battery.

Configuring the second screen is quite straightforward in android. As Mirroring is your only option, there is actually nothing to configure. Once you connect the adapter android will set up your monitor based on its EDID information and transfer image and audio over HDMI.
In case you only want to have the image over HDMI, simply attach your speakers to the phone and android will re-route the audio.
The days where you had to manually set up everything are over.

Furthermore most adapters have an micro-USB port allowing to still charge your phone while using SlimPort.

Device Support

The downside is that most of the devices do not support SlimPort. The device list more or less boils down to

  • Google Nexus 4/ 5
  • Google Nexus 7 (2013)
  • LG G2/ G3

Samsung devices go with the alternative MHL. Comparing these two SlimPort has the bandwidth advantage of 5Gb/s vs. 3Gb/s of MHL so it does not have to compress that much. However both are clearly better than going wireless.

 

Categories: News
admin

Let's build a browser engine! Part 5: Boxes

2014-09-08 23:16 UTC  by  Unknown author
0
0
Firefox for Mobile Firefox for Mobile Let's build a browser engine! Part 5: Boxes - http://limpet.net/mbrubec... September 8 from Matt Brubeck - Comment - Like
Philip Van Hoof

PADI Rescue diver

2014-09-01 16:25 UTC  by  Philip Van Hoof
0
0

For this one I worked really hard. Buddy breading, relaxing people in panic at 20 meters deep, keeping yourself cool. And that in Belgian waters (no visibility and freezing cold). We simulated it all. It was harder than most other things I did in my life.

Categories: Art culture
admin

Let's build a browser engine! Part 4: Style

2014-08-23 22:45 UTC  by  Unknown author
0
0
Firefox for Mobile Firefox for Mobile Let's build a browser engine! Part 4: Style - http://limpet.net/mbrubec... August 23 from Matt Brubeck - Comment - Like
admin

Let's build a browser engine! Part 3: CSS

2014-08-13 19:30 UTC  by  Unknown author
0
0
Firefox for Mobile Firefox for Mobile Let's build a browser engine! Part 3: CSS - http://limpet.net/mbrubec... August 13 from Matt Brubeck - Comment - Like
Robin Burchell

sailing in search of fresh waters

2014-08-13 11:55 UTC  by  Robin Burchell
0
0
I've had a long, quiet time on this blog over the past few years while I've been frantically helping Jolla to launch their self-named product: the Jolla. I've enjoyed (almost) every day I've been there: they really are a great bunch of people and the work has been plentiful and challenging.

But as the saying goes, "this too shall pass". Nothing lasts forever, and it's time for a change: after this week, I will be taking a break from Jolla to get some fresh perspective.

On the bright side, maybe I'll have some more time for writing now :)

If anyone is interested in getting a hold of a C++/Qt/QML/Linux expert with a focus on performance, expertise on mobile, and a wide range of knowledge across other areas who loves open source, please let me know.
Categories: coding
admin

Let's build a browser engine! Part 2: HTML

2014-08-11 15:00 UTC  by  Unknown author
0
0
Firefox for Mobile Firefox for Mobile Let's build a browser engine! Part 2: HTML - http://limpet.net/mbrubec... August 11 from Matt Brubeck - Comment - Like
admin
Firefox for Mobile Firefox for Mobile Let's build a browser engine! Part 1: Getting started - http://limpet.net/mbrubec... August 8 from Matt Brubeck - Comment - Like
Raul Herbster
This week, I tried to compile a simple NDK application and link it with the OpenSSL library. Most of libraries (including OpenSSL) are not supported by the NDK, what makes it a bit more complicated to use. So, in this post, I describe what I usually do to properly compile applications that need external libs.
Click to read 1630 more words
Categories: android
Raul Herbster
This week, I had to go through the process of Android OS/Kernel building/installation. And it was a lot much better and 6 months ago (maybe, because I built it for a device and not for the emulator?). I compiled the images in Ubuntu 12.04 and I used a Samsung Galaxy Nexus device (maguro with tuna as kernel). Therefore, I decided to summarize the steps that I took. This mini-tutorial is a lot shorter and simpler (and really works!!).
Click to read 1448 more words
Categories: android
admin
Firefox for Mobile Firefox for Mobile Firefox for Android: Collecting and Using Telemetry - http://starkravingfinkle.org/blog... July 24 from Mark Finkle's Weblog » Mozilla - Comment - Like