Android’s RTP implementation @ 06-06-2011 02:49
Although still being not really mature, Android is supporting RTSP streaming for a long time. In theory, it’s very trivial to play an RTSP link with MediaPlayer controller. MediaPlayer player = new MediaPlayer("rtsp://..."); player.prepare(); player.start(); But in practice, MediaPlayer implementation is not fair enough to give you responses and you basically dont know what’s going [...]
Implementing Interfaces/Protocols in JavaScript? @ 10-09-2010 18:17
Several years later, I decided to read Pro JavaScript Design Patterns by Harmes and Diaz again. This book has almost become controversial for its introductory section which presents a suggestion to implement interfaces in JavaScript. Pro JS Design Patterns implements an Interface object, simply by attaching the several method attributes to an object during creation. [...]
Twifighting: Compare tweets per hour @ 16-05-2010 11:48
Yesterday, I put some code and graphics together and launched Twifighting: a simple tool which compares how trendy your phrases are in Twitter’s ecosystem. It’s an easy tool I always needed, to make some market research, to gather the latest interest metrics and etc. I simply thought that I’m not the only one on the comparison [...]
Setting bounds of a map to cover collection of POIs on Android @ 20-04-2010 13:51
Lately, as I browse web for maps related questions on Android, what’s frequently requested is an example of setting bounds of a map (zooming to a proper level and panning) to be able show all of the pins given on the screen. Most of the maps APIs provide this functionality such as Google Maps API, [...]
W3C Widgets: The good, the bad and the ugly @ 04-04-2010 23:24
It hasn’t been a while since ppk wrote about totally a new W3C movement called “Widgets“. A Widget is a downloadable archive of HTML, JavaScript, CSS and a configuration file. It’s a downloadable web front-end. Basically it’s designed to build mobile apps to avoid extra network usage consumed to download heavy weight pages, CSS and [...]
Probably I'm a "products person" @ 24-02-2010 23:47
It all started when I was younger, almost 15 years ago. As a rebellious child, I decided to publish my own newspaper to share my opinions about products I use daily. I wrote critics, future notes and reviews almost about everything — from plugs to kitchen tools. Reviewing was boring, but manufacturing was very costly, [...]
Custom Scroll Distance for UIScrollView @ 06-12-2009 01:01
Most recently, I was trying to create a slider for users to navigate between different items. A scroll view was working fine since it implements most of the scrolling behavior I needed in my application natively. But the content I want to scroll was smaller in width and UIScrollView is designed to scroll multiples of [...]
Why should developers blog? @ 14-11-2009 10:57
If I make an statistical study out of my friends and colleges who are developers, I can barely can say 10% of them are blogging. Is blogging a nightmare, a time waster, a cheap-seat show where bloggers act like significant people for them? I don’t know. I have one prediction: They don’t like writing. These [...]
Maps Development on Android: Registering a Maps API key @ 06-11-2009 14:29
Location based applications are musts on mobile platforms. Android does not have maps natively but Google Maps team is providing an add-on that comes with Android SDK (at least 1.5). In this post, I’m not going to show you how to pop out maps on your little mobile screen, but underline the application signature details [...]
Redis: New Persistent Key-Value Store @ 02-11-2009 23:16
Most recently, I’m working on Redis which is a key-value datastore with interesting characteristics. It’s ultra fast and has built in atomic operations to handle concurrent usage. Although everything lives in-memory, Redis syncs with hard disk time to time to serve as permanent storage. Most impressively, downloading Redis and making a working build doesn’t take [...]