Hoccer auf Radio Fritz! gefeatured

Heute morgen lief ein witziger Beitrag über unsere Hoccer App bei Radio Fritz! Nachmittags kommt noch mal eine Widerholung, aber wir haben netter weise auch den Audiomittschnitt bekommen (ca. 1 Minute):

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Außderdem gibt es noch eine Infoseite zum diesem Radiobeitrag bei Radio Fritz!

Measuring performance in the Android SDK

Michael A. Jackson once stated “The First Rule of Program Optimization: Don’t do it. The Second Rule of Program Optimization (for experts only!): Don’t do it yet.”

Of course we needed to measure execution times before jumping to action and spending valuable time on performance optimization. We found the android.util.TimingLogger helper class from the Android SDK very helpful so here comes a short description on how to use it:

Whithin the method or class in question create an TimingLogger object, execute some code and dump the statistics to the android log.

TimingLogger timings = new TimingLogger("TopicLogTag",
"preparePicturesFromList");
// ... your time consuming code
timings.dumpToLog();

Note that the output will only be dumped to the log if you set the VERBOSE log level for the given log tag (here named “TopicLogTag”):

 $ adb shell setprop log.tag.TopicLogTag VERBOSE

now start your Activity and make sure the code you want to measure is executed

 $ adb logcat -v time TopicLogTag:V *:E
...
D/TopicLogTag(14857): preparePicturesFromList: begin
D/TopicLogTag(14857): preparePicturesFromList: end, 2711 ms

For more informations about log levels and filtering the log output see the Andorid documentation about debugging, the Log reference and especialy the isLoggable() method.

If the informations you get from this measurements is to coarse you can split the timings into sub-tasks with the addSplit(“split label”) method:

TimingLogger timings = new TimingLogger("TopicLogTag", "preparePicturesFromList");
// ... time consuming code which creates picture objects
timings.addSplit("creating picture objects");
// ... time consuming code which generates thumbnails
timings.addSplit("generating thumbnails");
timings.dumpToLog();

The log output will then look like

 $ adb logcat -v time TopicLogTag:V *:E
D/TopicLogTag(14857): preparePicturesFromList: begin
D/TopicLogTag(14857): preparePicturesFromList:      1999 ms, creating
picture objects
D/TopicLogTag(14857): preparePicturesFromList:      712 ms, generating
thumbnails
D/TopicLogTag(14857): preparePicturesFromList: end, 2711 ms

Sharing Big Files

Last week we got asked if it is possible to share cdrom iso images through Hoccer. As described in our previous post about how we deal with content you can do this. Hoccer makes no content restrictions by itself. Of course a large file will take ages when your internet connection is slow.


Displaying the estimated transfer time

In our freshly released Android Client v1.77 we introduced a notification with an estimated transfer time. This message is only displayed if sharing may take longer than ten seconds.

Hoccer on Youtube

Over the last couple of months more and more videos featuring hoccer appeared on the internet. We really enjoy watching them as most of them are funny and entertaining and perfectly show what Hoccer is about: Easy and seamless data sharing. If you know about a video about Hoccer which is not featured in this blog post, be sure to tell us about via mail info@hoccer.com

[Note] All of these videos show an older version of Hoccer. The current versions are a lot faster connecting devices. Especially with small payloads such as text it really makes a big difference! Its almost instant.

YouTube Preview Image YouTube Preview Image YouTube Preview Image

Presented Hoccer at Xinnovations (Berlin)

Last Monday I had an invited talk at Xinnovations in the E-Marketing track. So I presented Hoccer and it’s possibilities in Viral Marketing when it comes to Mobile Devices.

The slides will give you a short overview about Hoccer and may be an inspiration for your own marketing campaign.

TAT’s Future of Screen Technology

The Astonishing Tribe published a video showing how they think screen technology will evolve. At 1:55 you can see Hoccer in action. We are the future!